Go to the documentation of this file.
30 usingTopic(getProperty<std::string>(
"CyberGloveTopicName").getValue());
59 std::unique_lock lock(dataMutex);
63 long deltaUS = (now - lastUpdate).toMicroSeconds();
68 latestValues = gloveValues;
71 std::string name = gloveValues.
name;
110 std::unique_lock lock(dataMutex);
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.
CyberGloveValues getLatestValues(const Ice::Current &) override
bool offerOrUpdateDataField(std::string channelName, std::string datafieldName, const Variant &value, const std::string &description)
bool existsChannel(const std::string &channelName) const
void onExitObserver() override
void reportGloveValues(const CyberGloveValues &gloveValues, const Ice::Current &) override
void onInitObserver() override
void onConnectObserver() override
armarx::core::time::DateTime Time
static IceUtil::Time GetTime(TimeMode timeMode=TimeMode::VirtualTime)
Get the current time.
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.
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
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.