ProcUnit::GetModelData

Gets the pointer to the memory space where the model data is stored

BYTE *GetModelData(
   int  modelNo
);

Parameters
modelNo
Management number of the model to be got

Return Value
Returns the pointer to the memory space where the model data is stored.
If failed to get, returns NULL.

Description
Gets the pointer to the memory space where the model data of the model management number specified by the argument is stored.
To get the pointer to the model data, you need to complete the registration of the model.

Example
   int Sample::MeasureProc(ProcUnit *ptrProcUnit)
    {
        BYTE *modelData;

        // Get the pointer to the model data of model No. 0

        modelData = ptrProcUnit->GetModelData(0);

        // Perform the processing by using the address modelData

    }