Go to the documentation of this file.
27 #include <ArmarXCore/interface/observers/ObserverInterface.h>
43 defineOptionalProperty<std::string>(
"DebugObserverTopicName",
"DebugObserver",
"Name of the topic the DebugObserver listens on");
70 public DebugObserverInterface
78 return "DebugObserver";
92 const AMD_DebugObserverInterface_setDebugDatafieldPtr& amd,
93 const std::string& channelName,
94 const std::string& datafieldName,
96 const Ice::Current&)
override;
98 const AMD_DebugObserverInterface_setDebugChannelPtr& amd,
99 const std::string& channelName,
101 const Ice::Current&)
override;
108 const AMD_DebugObserverInterface_removeDebugDatafieldPtr& amd,
109 const ::std::string& channelName,
110 const ::std::string& datafieldName,
111 const ::Ice::Current&)
override;
117 const AMD_DebugObserverInterface_removeDebugChannelPtr& amd,
118 const ::std::string& channelName,
119 const ::Ice::Current&)
override;
124 const AMD_DebugObserverInterface_removeAllChannelsPtr& amd,
125 const ::Ice::Current&)
override;
DebugObserverPropertyDefinitions(std::string prefix)
std::map< std::string, VariantBasePtr > StringVariantBaseMap
Baseclass for all ArmarX Observers.
PropertyDefinitionsPtr createPropertyDefinitions() override
void onInitObserver() override
Framework hook.
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
void removeAllChannels_async(const AMD_DebugObserverInterface_removeAllChannelsPtr &amd, const ::Ice::Current &) override
Removes all channels.
The DebugObserver is a component for logging debug data, which is updated frequently.
std::string getDefaultName() const override
Retrieve default name of component.
void removeDebugChannel_async(const AMD_DebugObserverInterface_removeDebugChannelPtr &amd, const ::std::string &channelName, const ::Ice::Current &) override
Removes a channel and all its datafield it has.
std::shared_ptr< Value > value()
void removeDebugDatafield_async(const AMD_DebugObserverInterface_removeDebugDatafieldPtr &amd, const ::std::string &channelName, const ::std::string &datafieldName, const ::Ice::Current &) override
Removes a datafield from the DebugObserver.
void onConnectObserver() override
Framework hook.
void setDebugDatafield_async(const AMD_DebugObserverInterface_setDebugDatafieldPtr &amd, const std::string &channelName, const std::string &datafieldName, const VariantBasePtr &value, const Ice::Current &) override
Creates or updates (if it already exists) a datafield in a channel.
void setDebugChannel_async(const AMD_DebugObserverInterface_setDebugChannelPtr &amd, const std::string &channelName, const StringVariantBaseMap &valueMap, const Ice::Current &) override
This file offers overloads of toIce() and fromIce() functions for STL container types.