Plugin interface.
More...
|
enum class | tPluginState : uint32_t { Deinitialized = 0
, Initialized = 1
} |
| lists the several types of plugin states
|
|
enum class | tPluginBuildType : uint32_t { Release = 0
, Debug = 1
} |
| lists the several types of plugin states
|
|
|
| ~IPlugin ()=default |
| Protected destructor --> Use implemented Destroy() instead of delete!
|
|
| ~IObject ()=default |
| Protected destructor --> Use implemented Destroy() instead of delete!
|
|
Plugin interface.
Definition at line 26 of file plugin_intf.h.
◆ ADTF_IID()
ADTF_IID |
( |
IPlugin |
, |
|
|
"plugin.ant.ucom.adtf.iid" |
|
|
) |
| |
◆ GetBuildType()
virtual uint32_t GetBuildType |
( |
| ) |
const |
|
pure virtual |
Returns the versions of the plugin.
- Returns
- list of versions to iteratate.
◆ GetClassFactory()
Retrieve the class factory of the plugin.
- Parameters
-
pClassFactory | Class factory reference |
- Returns
- Returns a standard result code.
◆ GetHandle()
virtual tHandle GetHandle |
( |
| ) |
const |
|
pure virtual |
Get native handle.
The GetHandle method returns the native handle of a plugin, if the operating system provides such information.
- Returns
- Returns the native handle of the plugin or nullptr if the operating system does not provide such information.
- See also
- SetHandle
◆ GetLabel()
virtual const char* GetLabel |
( |
| ) |
const |
|
pure virtual |
Returns a label for the plugin.
- Returns
- The label as null terminated string.
◆ GetState()
Get plugin state.
The GetState method returns the plugin state.
- Returns
- Returns the state of a plugin.
◆ GetVersions()
Returns the versions of the plugin.
- Returns
- list of versions to iteratate.
◆ SetHandle()
virtual void SetHandle |
( |
tHandle |
hModule | ) |
|
|
pure virtual |
Sets the native handle (during loading of the plugin)
- Parameters
-
[in] | hModule | handle of system dependend plugin handle |
◆ SetState()
Changes the state of the plugin.
- Parameters
-
- Returns
- Returns a standard result code.