Implementation helper template to enriches an implementation with the default implementation of IConfiguration. More...
#include <configuration.h>
Public Member Functions | |
configuration () | |
CTOR. | |
virtual | ~configuration ()=default |
DTOR. | |
tResult | GetProperties (adtf::ucom::ant::iobject_ptr< const IProperties > &pProperties) const override |
Gets the configuration with only read access. | |
tResult | GetProperties (adtf::ucom::ant::iobject_ptr< IProperties > &pProperties) override |
Gets the properties of configuration with only read/write access. | |
tResult | AttachConfiguration (const char *strName, IConfiguration &pAttachedConfiguration) override |
tResult | DetachConfiguration (const char *strName) override |
tResult | RegisterPropertyVariable (const char *strName, cPropertyVariable &oPropertyVariable) |
tResult | UnregisterPropertyVariable (cPropertyVariable &oPropertyVariable) |
![]() | |
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. | |
![]() | |
ADTF_IID (IObject, "object.ant.ucom.adtf.iid") | |
Marks the IObject to be castable with the ucom_cast() | |
Protected Attributes | |
adtf::ucom::object_ptr< spider::cProperties > | m_pProperties = nullptr |
the current runtiem property set | |
Additional Inherited Members | |
![]() | |
~IObject ()=default | |
Protected destructor --> Only the final implementation can be destroyed! | |
Implementation helper template to enriches an implementation with the default implementation of IConfiguration.
Interface | The interface type which derives from IConfiguration |
Definition at line 199 of file configuration.h.
|
inline |
CTOR.
Definition at line 207 of file configuration.h.
References m_pProperties, and adtf::ucom::make_object_ptr().
|
inlineoverride |
Definition at line 235 of file configuration.h.
|
inlineoverride |
Definition at line 246 of file configuration.h.
|
inlineoverride |
Gets the configuration with only read access.
pProperties | [in, out] object_ptr to the filter configuration. |
Definition at line 218 of file configuration.h.
References m_pProperties, iobject_ptr_base< T >::Reset(), and RETURN_NOERROR.
Referenced by cConfigurableFilter::GetProperties(), and cConfigurableFilter::GetProperties().
|
inlineoverride |
Gets the properties of configuration with only read/write access.
pProperties | [in, out] object_ptr to the filter configuration. |
Definition at line 228 of file configuration.h.
References m_pProperties, iobject_ptr_base< T >::Reset(), and RETURN_NOERROR.
tResult RegisterPropertyVariable | ( | const char * | strName, |
cPropertyVariable & | oPropertyVariable ) |
Definition at line 711 of file configuration.h.
|
inlinevirtual |
Implements IMemberPropertyUnregister.
Definition at line 255 of file configuration.h.
|
protected |
the current runtiem property set
Definition at line 203 of file configuration.h.
Referenced by configuration(), GetProperties(), and GetProperties().