ISV Action Object Interface

An interface is necessary within your application in order to call the methods configured within the ISV Object, in order to execute the logic in the ISV Action Object, such as the blueprint or Architect superblock.

The following interface can be copied into your application:

ISV Object Interface Definition

interface IMGISVObjectForScripts : IDispatch

{

    HRESULT SetObject( [in] BSTR fileName );

    HRESULT GetInputCount( [out, retval] unsigned int* pInputCount );

    HRESULT GetOutputCount( [out, retval] unsigned int* pOutputCount );

    HRESULT GetInputName( [in] unsigned int index, [out, retval] BSTR* pName );

    HRESULT GetInputType( [in] unsigned int index, [out, retval] long* pDataType );

    HRESULT GetOutputName( [in] unsigned int index, [out, retval] BSTR* pName );

    HRESULT GetOutputType( [in] unsigned int index, [out, retval] long* pDataType );

    HRESULT SetInputValue( [in] unsigned int index, [in] VARIANT value, [in] long quality, [in] VARIANT timeStamp );

    HRESULT GetOutputValue( [in] unsigned int index, [out, retval] VARIANT* pValue );

    HRESULT GetOutputQuality( [in] unsigned int index , [out, retval] long* pQuality );

    HRESULT GetOutputTimestamp( [in] unsigned int index, [out, retval] VARIANT* pTimeStamp );

    HRESULT GetConfiguration( [out, retval] BSTR* pXml );

    HRESULT SetConfiguration( [in] BSTR xml );

    HRESULT Execute( [in] VARIANT executionTime );

}; // IMGISVObject

  

CSense 2023- Last updated: June 24,2025