32 "SemanticGraphTopicName",
34 "Name of the topic on which attributed graphs are reported");
40 return "SemanticGraphStorage";
64 semantic::data::GraphMap
67 std::unique_lock<std::mutex> lock(graphsMutex);
75 std::unique_lock<std::mutex> lock(graphsMutex);
83 std::unique_lock<std::mutex> lock(graphsMutex);
90 semantic::data::Graph
const& graph,
95 std::unique_lock<std::mutex> lock(graphsMutex);
ComponentPropertyDefinitions(std::string prefix, bool hasObjectNameParameter=true)
void usingTopicFromProperty(const std::string &propertyName, bool orderedPublishing=false)
Use a topic whose name is specified by the given property.
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
PropertyDefinition< PropertyType > & defineOptionalProperty(const std::string &name, PropertyType defaultValue, const std::string &description="", PropertyDefinitionBase::PropertyConstness constness=PropertyDefinitionBase::eConstant)
SemanticGraphStoragePropertyDefinitions(std::string prefix)
virtual void onInitComponent() override
void remove(const std::string &id, const Ice::Current &) override
void reportGraph(std::string const &id, semantic::data::Graph const &graph, const Ice::Current &) override
virtual void onDisconnectComponent() override
virtual armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
void removeAll(const Ice::Current &) override
virtual void onConnectComponent() override
semantic::data::GraphMap getAll(const Ice::Current &) override
virtual void onExitComponent() override
virtual std::string getDefaultName() const override
#define ARMARX_INFO
The normal logging level.
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.