26#include <ArmarXCore/interface/observers/ObserverInterface.h>
43 "Name of the topic the DebugObserver listens on");
76 return "DebugObserver";
91 const std::string& channelName,
92 const std::string& datafieldName,
94 const Ice::Current&)
override;
96 const std::string& channelName,
98 const Ice::Current&)
override;
106 const ::std::string& channelName,
107 const ::std::string& datafieldName,
108 const ::Ice::Current&)
override;
114 const ::std::string& channelName,
115 const ::Ice::Current&)
override;
120 const ::Ice::Current&)
override;
DebugObserverPropertyDefinitions(std::string prefix)
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 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 removeAllChannels_async(const AMD_DebugObserverInterface_removeAllChannelsPtr &amd, const ::Ice::Current &) override
Removes all channels.
PropertyDefinitionsPtr createPropertyDefinitions() override
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.
void onInitObserver() override
Framework hook.
void setDebugChannel_async(const AMD_DebugObserverInterface_setDebugChannelPtr &amd, const std::string &channelName, const StringVariantBaseMap &valueMap, const Ice::Current &) override
std::string getDefaultName() const override
Retrieve default name of component.
ObserverPropertyDefinitions(std::string prefix)
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)
This file offers overloads of toIce() and fromIce() functions for STL container types.
std::map< std::string, VariantBasePtr > StringVariantBaseMap
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
::IceInternal::Handle<::armarx::VariantBase > VariantBasePtr