ADTF
cPluginInfo

Plugin Info default interface implementation. More...

Inheritance diagram for cPluginInfo:
[legend]

Public Member Functions

 cPluginInfo (IPlugin *poPlugin)
 CTOR to reference to the given Plugin. More...
 
 ~cPluginInfo ()
 DTOR.
 
virtual IPluginGetPlugin () const
 Gets the given poPlugin of CTOR. More...
 
virtual bool IsValid () const
 Checks wether the given poPlugin of CTOR is valid or not. More...
 
- Public Member Functions inherited from object< ant::IPluginInfo >
tResult GetInterface (const char *i_strIID, void *&o_pInterface) override
 Query interfaces on an object. More...
 
tResult GetInterface (const char *i_strIID, const void *&o_pInterface) const override
 Provides const correct interface querying. More...
 
void Destroy () const override
 Destruct and deallocate instantiations of type IObject. More...
 
- Public Member Functions inherited from IObject
 ADTF_IID (IObject, "object.ant.ucom.adtf.iid")
 Marks the IObject to be castable with the ucom_cast() More...
 

Private Member Functions

 cPluginInfo ()
 CTOR.
 

Private Attributes

IPluginm_poPlugin
 

Additional Inherited Members

- Protected Member Functions inherited from IObject
 ~IObject ()=default
 Protected destructor --> Use implemented Destroy() instead of delete!
 

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.