ADTF  3.18.2
configuration< Interface >

Implementation helper template to enriches an implementation with the default implementation of IConfiguration. More...

Inheritance diagram for configuration< Interface >:
[legend]

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. More...
 
tResult GetProperties (adtf::ucom::ant::iobject_ptr< IProperties > &pProperties) override
 Gets the properties of configuration with only read/write access. More...
 
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)
 
- Public Member Functions inherited from object< IConfiguration, IConfiguration >
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...
 

Protected Attributes

adtf::ucom::object_ptr< spider::cPropertiesm_pProperties = nullptr
 the current runtiem property set
 

Additional Inherited Members

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

Detailed Description

template<typename Interface = IConfiguration>
class adtf::base::ant::configuration< Interface >

Implementation helper template to enriches an implementation with the default implementation of IConfiguration.

Template Parameters
InterfaceThe interface type which derives from IConfiguration

Definition at line 199 of file configuration.h.

Member Function Documentation

◆ GetProperties() [1/2]

tResult GetProperties ( adtf::ucom::ant::iobject_ptr< const IProperties > &  pProperties) const
inlineoverride

Gets the configuration with only read access.

Parameters
pProperties[in, out] object_ptr to the filter configuration.

Definition at line 218 of file configuration.h.

References configuration< Interface >::m_pProperties, iobject_ptr_base< T >::Reset(), and RETURN_NOERROR.

Referenced by cConfigurableFilter::GetProperties().

◆ GetProperties() [2/2]

tResult GetProperties ( adtf::ucom::ant::iobject_ptr< IProperties > &  pProperties)
inlineoverride

Gets the properties of configuration with only read/write access.

Parameters
pProperties[in, out] object_ptr to the filter configuration.

Definition at line 228 of file configuration.h.

References configuration< Interface >::m_pProperties, iobject_ptr_base< T >::Reset(), and RETURN_NOERROR.