34 std::string result = channelName;
35 for (
auto&
c : result)
53 _float_fallback_for_big_too_large_ints = useFallback;
56 DebugObserverHelper::DebugObserverHelper::DebugObserverHelper(
59 _observer{prx}, _batchMode{batchmode}
75 for (
const auto& [chname,
data] : _batch)
77 _observer->setDebugChannel(chname,
data);
84 const std::string& datafieldName,
92 _batch[fixedChName][datafieldName] = value;
97 _observer->setDebugDatafield(fixedChName, datafieldName, value);
103 const std::string& datafieldName,
113 const std::string& datafieldName,
119 if (
const auto ptr = TimedVariantPtr::dynamicCast(value); ptr)
123 const auto ptr = VariantPtr::dynamicCast(value);
130 const std::string& datafieldName,
131 const IceUtil::Time& time,
142 const std::string& datafieldName,
143 const IceUtil::Time& time,
171 const std::string& datafieldName)
const
183 _observer->removeAllChannels();
void setDebugObserverDatafield(const std::string &channelName, const std::string &datafieldName, const TimedVariantPtr &value) const
void setDebugObserverChannel(const std::string &channelName, StringVariantBaseMap valueMap) const
void removeAllDebugObserverChannels() const
void removeDebugObserverDatafield(const std::string &channelName, const std::string &datafieldName) const
void setChannelName(const std::string &name)
const DebugObserverInterfacePrx & getDebugObserver() const
void removeDebugObserverChannel(const std::string &channelname) const
void sendDebugObserverBatch()
void setDebugObserver(const DebugObserverInterfacePrx &prx)
void setDebugObserverBatchModeEnabled(bool enable)
void setFloatFallbackForBigTooLargeInts(bool useFallback)
const std::string & getChannelName() const
ManagedIceObject & parent()
The ManagedIceObject is the base class for all ArmarX objects.
std::string getName() const
Retrieve name of object.
The Variant class is described here: Variants.
#define ARMARX_CHECK_NOT_NULL(ptr)
This macro evaluates whether ptr is not null and if it turns out to be false it will throw an Express...
std::string fix_channel_name(const std::string &channelName)
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
IceInternal::Handle< TimedVariant > TimedVariantPtr
IceInternal::Handle< Variant > VariantPtr
::IceInternal::Handle<::armarx::VariantBase > VariantBasePtr