Class CModule#

Inheritance Relationships#

Base Types#

Class Documentation#

class CModule : public sdv::CSdvObjectAccess, public sdv::CObjectFactory#

Class that manages the object instantiation and module lifetime.

Remark

A pointer to an instance of this class is exposed across dll boundaries and used to implement CModuleInstance for SDV DLLs The instance is created by the DEFINE_SDV_OBJECT macro and the macro also registers a helper capable of instantiating the SDV object with the instance (see CObjectFactory for details)

Public Functions

CModule() = default#

Default constructor.

inline IInterfaceAccess *GetModuleControl(uint32_t interfaceVersion)#

Interface map.

Check whether the requested interface version corresponds to the one implemented here and return this object.

Parameters:

interfaceVersion[in] The version of module interface that is requested for.

Returns:

Returns the IInterfaceAccess interface of the module if the interface versions match, nullptr otherwise