16 #ifndef AACE_PROPERTY_MANAGER_PROPERTY_MANAGER_H 17 #define AACE_PROPERTY_MANAGER_PROPERTY_MANAGER_H 21 #include "AACE/Core/PlatformInterface.h" 22 #include "PropertyManagerEngineInterface.h" 27 namespace propertyManager {
45 using PropertyState = aace::propertyManager::PropertyManagerEngineInterface::PropertyState;
59 bool setProperty(
const std::string& name,
const std::string& value);
69 virtual void propertyStateChanged(
const std::string& name,
const std::string& value,
const PropertyState state) = 0;
97 virtual void propertyChanged(
const std::string& name,
const std::string& newValue) = 0;
105 void setEngineInterface(std::shared_ptr<PropertyManagerEngineInterface> propertyManagerEngineInterface);
108 std::shared_ptr<PropertyManagerEngineInterface> m_propertyManagerEngineInterface;
111 inline std::ostream& operator<<(std::ostream& stream,
const PropertyManager::PropertyState& state) {
113 case PropertyManager::PropertyState::SUCCEEDED:
114 stream <<
"SUCCEEDED";
116 case PropertyManager::PropertyState::FAILED:
126 #endif // AACE_PROPERTY_MANAGER_PROPERTY_MANAGER_H virtual void propertyStateChanged(const std::string &name, const std::string &value, const PropertyState state)=0
Definition: AddressBook.h:26
virtual void propertyChanged(const std::string &name, const std::string &newValue)=0
bool setProperty(const std::string &name, const std::string &value)
Definition: PropertyManager.cpp:23
Definition: PropertyManager.h:38
std::string getProperty(const std::string &name)
Definition: PropertyManager.cpp:28