ADTF
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
plugin_template< PLUGIN_VERSION_TYPE, CLASSES >
Inheritance diagram for plugin_template< PLUGIN_VERSION_TYPE, CLASSES >:
[legend]

Public Member Functions

iterator_adapter< const tNamedVersion, pointer_iteratorGetVersions () const
 
 plugin_template (const char *strLabel)
 
tResult GetClassFactory (iobject_ptr< const IClassFactory > &pClassFactory) const
 
- Public Member Functions inherited from cPlugin
 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()
 

Private Attributes

object_ptr< const IClassFactorym_pClassFactory
 

Additional Inherited Members

- Static Public Attributes inherited from cPlugin
static constexpr const tChar *const DEFAULT_PLUGIN_EXTENSION = ".adtfplugin"
 
- Protected Member Functions inherited from cPlugin
 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!
 

Detailed Description

template<typename PLUGIN_VERSION_TYPE, typename ... CLASSES>
class adtf::ucom::ant::plugin_template< PLUGIN_VERSION_TYPE, CLASSES >

Definition at line 79 of file plugin.h.

Constructor & Destructor Documentation

◆ plugin_template()

template<typename PLUGIN_VERSION_TYPE, typename ... CLASSES>
plugin_template ( const char * strLabel)
inline

Definition at line 90 of file plugin.h.

Member Function Documentation

◆ GetClassFactory()

template<typename PLUGIN_VERSION_TYPE, typename ... CLASSES>
tResult GetClassFactory ( iobject_ptr< const IClassFactory > & pClassFactory) const
inline

Definition at line 96 of file plugin.h.

◆ GetVersions()

template<typename PLUGIN_VERSION_TYPE, typename ... CLASSES>
iterator_adapter< const tNamedVersion, pointer_iterator > GetVersions ( ) const
inline

Definition at line 85 of file plugin.h.

Member Data Documentation

◆ m_pClassFactory

template<typename PLUGIN_VERSION_TYPE, typename ... CLASSES>
object_ptr<const IClassFactory> m_pClassFactory
private

Definition at line 82 of file plugin.h.