46 if (_topicName.empty())
73 properties->defineOptionalProperty<std::string>(
76 "Name of the topic the DebugObserver listens on");
91 return *_debugObserverComponentPlugin;
103 const std::string& channelname)
const
105 _debugObserverComponentPlugin->removeDebugObserverChannel(channelname);
110 const std::string& channelName,
111 const std::string& datafieldName)
const
113 _debugObserverComponentPlugin->removeDebugObserverDatafield(channelName, datafieldName);
119 _debugObserverComponentPlugin->removeAllDebugObserverChannels();
125 return _debugObserverComponentPlugin->getDebugObserver();
131 _debugObserverComponentPlugin->setDebugObserverBatchModeEnabled(enable);
137 _debugObserverComponentPlugin->sendDebugObserverBatch();
#define ARMARX_CHECK_NOT_EMPTY(c)
#define ARMARX_CHECK_EMPTY(c)
void setDebugObserverChannel(const std::string &channelName, StringVariantBaseMap valueMap) const
void removeAllDebugObserverChannels() const
plugins::DebugObserverComponentPlugin & getDebugObserverComponentPlugin()
void removeDebugObserverDatafield(const std::string &channelName, const std::string &datafieldName) const
const DebugObserverInterfacePrx & getDebugObserver() const
void removeDebugObserverChannel(const std::string &channelname) const
void sendDebugObserverBatch()
DebugObserverComponentPluginUser()
void setDebugObserverBatchModeEnabled(bool enable)
void setDebugObserverChannel(const std::string &channelName, StringVariantBaseMap valueMap) const
void setChannelName(const std::string &name)
const DebugObserverInterfacePrx & getDebugObserver() const
void setDebugObserver(const DebugObserverInterfacePrx &prx)
ManagedIceObject & parent()
std::string makePropertyName(const std::string &name)
void offeringTopic(const std::string &name)
Registers a topic for retrival after initialization.
PluginT * addPlugin(const std::string prefix="", ParamsT &&... params)
Brief description of class DebugObserverComponentPlugin.
void setDebugObserverTopic(const std::string &name)
void postOnInitComponent() override
void preOnInitComponent() override
void preOnConnectComponent() override
std::string getDebugObserverTopic()
void postCreatePropertyDefinitions(PropertyDefinitionsPtr &properties) override
This file is part of ArmarX.
This file offers overloads of toIce() and fromIce() functions for STL container types.
::IceInternal::ProxyHandle<::IceProxy::armarx::DebugObserverInterface > DebugObserverInterfacePrx
std::map< std::string, VariantBasePtr > StringVariantBaseMap
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.