19 static std::shared_ptr<PropertiesRegistry> propRegistryInstance;
20 std::unordered_map<std::string, std::string> mProperties;
21 std::shared_timed_mutex mPropRegistryMutex;
36 int8_t
createProperty(
const std::string& propertyName,
const std::string& propertyValue);
44 size_t queryProperty(
const std::string& propertyName, std::string& result);
54 int8_t
modifyProperty(
const std::string& propertyName,
const std::string& propertyValue);
65 int32_t getPropertiesCount();
67 static std::shared_ptr<PropertiesRegistry> getInstance() {
68 if(propRegistryInstance ==
nullptr) {
69 std::shared_ptr<PropertiesRegistry> localpropRegistryInstance(
new PropertiesRegistry());
70 localpropRegistryInstance.swap(propRegistryInstance);
72 return propRegistryInstance;