A module is an object that provides device and function block factories. The object is usually implemented in an external dynamic link / shared library. IModuleManager is responsible for loading all modules.
More...
A module is an object that provides device and function block factories. The object is usually implemented in an external dynamic link / shared library. IModuleManager is responsible for loading all modules.
|
virtual ErrCode INTERFACE_FUNC | getVersionInfo (IVersionInfo **version)=0 |
| Retrieves the module version information. More...
|
|
virtual ErrCode INTERFACE_FUNC | getName (IString **name)=0 |
| Gets the module name. More...
|
|
virtual ErrCode INTERFACE_FUNC | getId (IString **id)=0 |
| Gets the module id. More...
|
|
virtual ErrCode INTERFACE_FUNC | getAvailableDevices (IList **availableDevices)=0 |
| Returns a list of known devices info. The implementation can start discovery in background and only return the results in this function. More...
|
|
virtual ErrCode INTERFACE_FUNC | getAvailableDeviceTypes (IDict **deviceTypes)=0 |
| Returns a dictionary of known and available device types this module can create. More...
|
|
virtual ErrCode INTERFACE_FUNC | createDevice (IDevice **device, IString *connectionString, IComponent *parent, IPropertyObject *config=nullptr)=0 |
| Creates a device object that can communicate with the device described in the specified connection string. The device object is not automatically added as a sub-device of the caller, but only returned by reference. More...
|
|
virtual ErrCode INTERFACE_FUNC | getAvailableFunctionBlockTypes (IDict **functionBlockTypes)=0 |
| Returns a dictionary of known and available function block types this module can create. More...
|
|
virtual ErrCode INTERFACE_FUNC | createFunctionBlock (IFunctionBlock **functionBlock, IString *id, IComponent *parent, IString *localId, IPropertyObject *config=nullptr)=0 |
| Creates and returns a function block with the specified id. The function block is not automatically added to the FB list of the caller. More...
|
|
virtual ErrCode INTERFACE_FUNC | getAvailableServerTypes (IDict **serverTypes)=0 |
| Returns a dictionary of known and available servers types that this module can create. More...
|
|
virtual ErrCode INTERFACE_FUNC | createServer (IServer **server, IString *serverTypeId, IDevice *rootDevice, IPropertyObject *config=nullptr)=0 |
| Creates and returns a server with the specified server type. More...
|
|
virtual ErrCode INTERFACE_FUNC | createStreaming (IStreaming **streaming, IString *connectionString, IPropertyObject *config=nullptr)=0 |
| Creates and returns a streaming object using the specified connection string and config object. More...
|
|
virtual ErrCode INTERFACE_FUNC | getAvailableStreamingTypes (IDict **streamingTypes)=0 |
| Returns a dictionary of known and available streaming types that this module (client) can create. More...
|
|
virtual ErrCode INTERFACE_FUNC | borrowInterface (const IntfID &intfID, void **obj) const =0 |
| Returns another interface which is supported by the object without incrementing the reference count. More...
|
|
virtual ErrCode INTERFACE_FUNC | dispose ()=0 |
| Disposes all references held by the object. More...
|
|
virtual ErrCode INTERFACE_FUNC | getHashCode (SizeT *hashCode)=0 |
| Returns hash code of the object. More...
|
|
virtual ErrCode INTERFACE_FUNC | equals (IBaseObject *other, Bool *equal) const =0 |
| Compares object to another object for equality. More...
|
|
virtual ErrCode INTERFACE_FUNC | toString (CharPtr *str)=0 |
| Returns a string representation of the object. More...
|
|
virtual ErrCode INTERFACE_FUNC | queryInterface (const IntfID &intfID, void **obj)=0 |
| Returns another interface which is supported by the object and increments the reference count. More...
|
|
virtual int INTERFACE_FUNC | addRef ()=0 |
| Increments the reference count for an interface on an object. More...
|
|
virtual int INTERFACE_FUNC | releaseRef ()=0 |
| Decrements the reference count for an interface on an object. More...
|
|