35 "Name of the topic the DebugDrawer listens to.");
39 "LayerBlackWhitelistTopic",
40 "DebugDrawerToArVizLayerBlackWhitelistUpdates",
41 "The layer where updates to the layer black-whitelist are published.");
43 "LayerWhitelist", {},
"If not empty, layers are shown (comma separated list).")
44 .map(
"[empty whitelist]", {});
46 "LayerBlacklist", {},
"These layers will never be shown (comma separated list).")
47 .map(
"[empty blacklist]", {});
53 return "DebugDrawerToArViz";
60 BlackWhitelistUpdate update;
61 getProperty(update.whitelist.set,
"LayerWhitelist");
62 getProperty(update.blacklist.set,
"LayerBlacklist");
armarx::viz::Client arviz
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.
Property< PropertyType > getProperty(const std::string &name)
void onInitComponent() override
void onDisconnectComponent() override
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
void onConnectComponent() override
void onExitComponent() override
std::string getDefaultName() const override
Property definitions of DebugDrawerToArViz.
DebugDrawerToArVizPropertyDefinitions(std::string prefix)
void setArViz(viz::Client arviz)
armarx::StringBlackWhitelist layerBlackWhitelist
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)
#define ARMARX_VERBOSE
The logging level for verbose information.
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
void updateBlackWhitelist(StringBlackWhitelist &bw, const armarx::BlackWhitelistUpdate &update)