79 std::lock_guard lock(
mutex);
83 JsonRetrieveValue& inserted =
data[value.key];
84 inserted.key = value.key;
85 inserted.value = value.value;
86 inserted.provider = value.provider;
88 inserted.timestampInMicroSeconds = timestampInMicroSeconds;
94 std::lock_guard lock(
mutex);
96 auto it =
data.find(key);
99 return JsonRetrieveValue();
#define ARMARX_DECOUPLED_REGISTER_COMPONENT(ComponentT)
Default component property definition container.
ComponentPropertyDefinitions(std::string prefix, bool hasObjectNameParameter=true)
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
JsonStoragePropertyDefinitions(std::string prefix)
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
static IceUtil::Time GetTime(TimeMode timeMode=TimeMode::VirtualTime)
Get the current time.
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
void onInitComponent() override
Pure virtual hook for the subclass.
void onDisconnectComponent() override
Hook for subclass.
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
void onConnectComponent() override
Pure virtual hook for the subclass.
void storeJsonValue(const JsonStoreValue &value, const Ice::Current &) override
JsonRetrieveValue retrieveValue(const std::string &key, const Ice::Current &) override
std::map< std::string, JsonRetrieveValue > data
void onExitComponent() override
Hook for subclass.
std::string getDefaultName() const override
Retrieve default name of component.