ADTF
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
cPluginInfo

Plugin Info default interface implementation. More...

#include <plugin_info.h>

Inheritance diagram for cPluginInfo:
[legend]

Public Member Functions

 cPluginInfo (IPlugin *poPlugin)
 CTOR to reference to the given Plugin.
 
 ~cPluginInfo ()
 DTOR.
 
virtual IPluginGetPlugin () const
 Gets the given poPlugin of CTOR.
 
virtual bool IsValid () const
 Checks wether the given poPlugin of CTOR is valid or not.
 
- Public Member Functions inherited from object< ant::IPluginInfo >
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 Member Functions

 cPluginInfo ()
 CTOR.
 

Private Attributes

IPluginm_poPlugin
 

Additional Inherited Members

- Protected Member Functions inherited from IObject
 ~IObject ()=default
 Protected destructor --> Only the final implementation can be destroyed!
 

Detailed Description

Plugin Info default interface implementation.

Definition at line 23 of file plugin_info.h.

Constructor & Destructor Documentation

◆ cPluginInfo()

cPluginInfo ( IPlugin * poPlugin)

CTOR to reference to the given Plugin.

Parameters
[in]poPluginpointer to the plugin.
Remarks
The IPlugin pointer must be valid as long the plugin info is instantiated

Member Function Documentation

◆ GetPlugin()

virtual IPlugin & GetPlugin ( ) const
virtual

Gets the given poPlugin of CTOR.

Returns
return the given poPlugin of CTOR

◆ IsValid()

virtual bool IsValid ( ) const
virtual

Checks wether the given poPlugin of CTOR is valid or not.

Return values
trueGetPlugin return value is valid.
falseGetPlugin return value is not valid.

Member Data Documentation

◆ m_poPlugin

IPlugin* m_poPlugin
private

Definition at line 50 of file plugin_info.h.