ADTF
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
cPlugin
Inheritance diagram for cPlugin:
[legend]

Public Member Functions

 UCOM_RESOLVE (IObject, IPlugin)
 
 cPlugin (const char *strLabel)
 
const char * GetLabel () const override
 
iterator_adapter< const tNamedVersion, pointer_iteratorGetVersions () const override
 
uint32_t GetBuildType () const override
 
tResult SetState (tPluginState eState) override
 
tPluginState GetState () const override
 
tResult GetClassFactory (iobject_ptr< const IClassFactory > &pClassFactory) const override
 
void SetHandle (tHandle hModule) override
 
tHandle GetHandle () const override
 
virtual tResult Initialize ()
 
virtual tResult Deinitialize ()
 
void SetLogger (ILogger *pLogger) override
 
- Public Member Functions inherited from object< IPlugin, IPluginLogging, level_machine< cPlugin, IPlugin::tPluginState, IPlugin::tPluginState::Deinitialized > >
tResult GetInterface (const char *i_strIID, void *&o_pInterface) override
 Query interfaces on an object.
 
tResult GetInterface (const char *i_strIID, const void *&o_pInterface) const override
 Provides const correct interface querying.
 
void Destroy () const override
 Switch from non-virtual destructor to virtual destructor.
 
tResult GetInterface (const char *i_strIID, void *&o_pInterface) override
 Query interfaces on an object.
 
tResult GetInterface (const char *i_strIID, const void *&o_pInterface) const override
 Provides const correct interface querying.
 
void Destroy () const override
 Switch from non-virtual destructor to virtual destructor.
 
tResult GetInterface (const char *i_strIID, void *&o_pInterface) override
 Query interfaces on an object.
 
tResult GetInterface (const char *i_strIID, const void *&o_pInterface) const override
 Provides const correct interface querying.
 
void Destroy () const override
 Switch from non-virtual destructor to virtual destructor.
 
- Public Member Functions inherited from IObject
 ADTF_IID (IObject, "object.ant.ucom.adtf.iid")
 Marks the IObject to be castable with the ucom_cast()
 

Static Public Attributes

static constexpr const tChar *const DEFAULT_PLUGIN_EXTENSION = ".adtfplugin"
 

Protected Member Functions

 cPlugin (cPlugin &&oPlugin)=delete
 
 cPlugin (const cPlugin &oPlugin)=delete
 
cPluginoperator= (cPlugin &&oPlugin)=delete
 
cPluginoperator= (const cPlugin &oPlugin)=delete
 
- Protected Member Functions inherited from IObject
 ~IObject ()=default
 Protected destructor --> Only the final implementation can be destroyed!
 

Private Attributes

tHandle m_hModule
 
adtf::util::cString m_strLabel
 

Detailed Description

Definition at line 24 of file plugin.h.

Member Data Documentation

◆ DEFAULT_PLUGIN_EXTENSION

const tChar* const DEFAULT_PLUGIN_EXTENSION = ".adtfplugin"
staticconstexpr

Definition at line 32 of file plugin.h.

◆ m_hModule

tHandle m_hModule
private

Definition at line 35 of file plugin.h.

◆ m_strLabel

adtf::util::cString m_strLabel
private

Definition at line 36 of file plugin.h.