17 #ifndef CONFIGURATION_MANAGER_HPP_
18 #define CONFIGURATION_MANAGER_HPP_
26 #include "kaa/configuration/gen/ConfigurationDefinitions.hpp"
31 class IExecutorContext;
32 class IConfigurationReceiver;
70 return configurationHash_;
76 void updateConfiguration(
const std::uint8_t* data,
const std::uint32_t dataSize);
77 void loadConfiguration();
78 void notifySubscribers(
const KaaRootConfiguration& configuration);
81 bool isConfigurationLoaded_;
84 KaaRootConfiguration configuration_;
89 KAA_MUTEX_DECLARE(configurationGuard_);
virtual IConfigurationProcessor & getConfigurationProcessor()
ConfigurationManager(IKaaClientContext &context)
virtual ~ConfigurationManager() noexcept
virtual void addReceiver(IConfigurationReceiver &receiver)
virtual void processConfigurationData(const std::vector< std::uint8_t > &data, bool fullResync)
virtual EndpointObjectHash getConfigurationHash()
virtual void removeReceiver(IConfigurationReceiver &receiver)
virtual void setConfigurationStorage(IConfigurationStoragePtr storage)
std::shared_ptr< IConfigurationStorage > IConfigurationStoragePtr
virtual IConfigurationHashContainer & getConfigurationHashContainer()
virtual const KaaRootConfiguration & getConfiguration()