client-cpp  0.10.0
kaa::IConfigurationManager Class Referenceabstract

#include <IConfigurationManager.hpp>

+ Inheritance diagram for kaa::IConfigurationManager:

Public Member Functions

virtual void init ()=0
 
virtual void addReceiver (IConfigurationReceiver &receiver)=0
 
virtual void removeReceiver (IConfigurationReceiver &receiver)=0
 
virtual const
KaaRootConfiguration & 
getConfiguration ()=0
 
virtual void setConfigurationStorage (IConfigurationStoragePtr storage)=0
 
virtual IConfigurationProcessorgetConfigurationProcessor ()=0
 
virtual
IConfigurationHashContainer
getConfigurationHashContainer ()=0
 
virtual ~IConfigurationManager ()=default
 

Detailed Description

Manages received configuration updates. Manages subscriptions for configuration processed. Subscribers must derive IConfigurationReceiver.

Definition at line 34 of file IConfigurationManager.hpp.

Constructor & Destructor Documentation

virtual kaa::IConfigurationManager::~IConfigurationManager ( )
virtualdefault

Member Function Documentation

virtual void kaa::IConfigurationManager::addReceiver ( IConfigurationReceiver receiver)
pure virtual

Subscribes listener of configuration updates.

Parameters
receiverListener to be added to notification list.

Implemented in kaa::ConfigurationManager.

virtual const KaaRootConfiguration& kaa::IConfigurationManager::getConfiguration ( )
pure virtual

Returns full configuration tree which is actual at current moment.

Returns
ICommonRecord containing current configuration tree.

Implemented in kaa::ConfigurationManager.

virtual IConfigurationHashContainer& kaa::IConfigurationManager::getConfigurationHashContainer ( )
pure virtual

Implemented in kaa::ConfigurationManager.

virtual IConfigurationProcessor& kaa::IConfigurationManager::getConfigurationProcessor ( )
pure virtual

Implemented in kaa::ConfigurationManager.

virtual void kaa::IConfigurationManager::init ( )
pure virtual

Implemented in kaa::ConfigurationManager.

virtual void kaa::IConfigurationManager::removeReceiver ( IConfigurationReceiver receiver)
pure virtual

Unsubscribes listener of configuration updates.

Parameters
receiverListener to be removed from notification list.

Implemented in kaa::ConfigurationManager.

virtual void kaa::IConfigurationManager::setConfigurationStorage ( IConfigurationStoragePtr  storage)
pure virtual

Provide storage object which is able to persist encoded configuration data.

Parameters
storageObject which will save and load configuration data
See Also
ConfigurationStorage

Implemented in kaa::ConfigurationManager.


The documentation for this class was generated from the following file: