7 static const std::string ARVIZ_TOPIC_PROPERTY_NAME =
"ArVizTopicName";
8 static const std::string ARVIZ_TOPIC_PROPERTY_DEFAULT =
"ArVizTopic";
10 static const std::string ARVIZ_STORAGE_PROPERTY_NAME =
"ArVizStorageName";
11 static const std::string ARVIZ_STORAGE_PROPERTY_DEFAULT =
"ArVizStorage";
18 : ARVIZ_TOPIC_PROPERTY_DEFAULT;
26 : ARVIZ_STORAGE_PROPERTY_DEFAULT;
50 properties->defineOptionalProperty<std::string>(
52 ARVIZ_TOPIC_PROPERTY_DEFAULT,
53 "Name of the ArViz topic");
55 if (!properties->hasDefinition(
makePropertyName(ARVIZ_STORAGE_PROPERTY_NAME)))
57 properties->defineOptionalProperty<std::string>(
59 ARVIZ_STORAGE_PROPERTY_DEFAULT,
60 "Name of the ArViz storage");
81 return plugin->createClient();
ArVizComponentPluginUser()
armarx::viz::Client createArVizClient()
bool parentDerives() const
ManagedIceObject & parent()
std::string makePropertyName(const std::string &name)
void offeringTopic(const std::string &name)
Registers a topic for retrival after initialization.
bool usingProxy(const std::string &name, const std::string &endpoints="")
Registers a proxy for retrieval after initialization and adds it to the dependency list.
PluginT * addPlugin(const std::string prefix="", ParamsT &&... params)
void preOnInitComponent() override
void preOnConnectComponent() override
void postCreatePropertyDefinitions(PropertyDefinitionsPtr &properties) override
std::string getStorageName()
armarx::viz::Client createClient()
std::string getTopicName()
This file is part of ArmarX.
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.