Table 2. Interface specification of model components.
Method name | Function | Return value | Remark |
---|---|---|---|
Connect | Connect to the main platform, and receive the external interface pointer of the main platform | HRESULT | lpUnknown: the external interface pointer of the main platform |
DisConnect | Disconnect with the main platform | HRESULT | Release the external interface pointer of the main platform |
ProcessWithoutParm | Run model without input parameters | HRESULT | None |
ProcessWithParm | Run model with input parameters | HRESULT | Parameters vary with models |