Go to the documentation of this file.
42 usingTopic(getProperty<std::string>(
"OptoForceTopicName").getValue());
49 offeringTopic(getProperty<std::string>(
"DebugDrawerTopic").getValue());
56 debugDrawerPrx = getTopic<DebugDrawerInterfacePrx>(getProperty<std::string>(
"DebugDrawerTopic").getValue());
68 std::unique_lock lock(dataMutex);
132 void OptoForceUnitObserver::offerValue(std::string device, std::string fieldName,
Vector3Ptr vec)
void updateChannel(const std::string &channelName, const std::set< std::string > &updatedDatafields=std::set< std::string >())
Update all conditions for a channel.
The Variant class is described here: Variants.
bool offerOrUpdateDataField(std::string channelName, std::string datafieldName, const Variant &value, const std::string &description)
void onInitObserver() override
Framework hook.
void reportSensorValues(const std::string &device, const std::string &name, float fx, float fy, float fz, const TimestampBasePtr ×tamp, const Ice::Current &c=Ice::emptyCurrent) override
bool existsChannel(const std::string &channelName) const
void onConnectObserver() override
Framework hook.
void usingTopic(const std::string &name, bool orderedPublishing=false)
Registers a proxy for subscription after initialization.
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
void offeringTopic(const std::string &name)
Registers a topic for retrival after initialization.
PropertyDefinitionsPtr createPropertyDefinitions() override
void onExitObserver() override
Framework hook.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
This file offers overloads of toIce() and fromIce() functions for STL container types.
void offerChannel(std::string channelName, std::string description)
Offer a channel.