The DatafieldRef class is similar to the ChannelRef, but points to a specific Datafield instead of to a complete channel. It can be used to query (getDataField()) the data of the datafield from the Observer.  
 More...
#include <ArmarXCore/observers/variant/DatafieldRef.h>
|  | 
| VariantDataClassPtr | clone (const Ice::Current &c=Ice::emptyCurrent) const override | 
|  | 
|  | DatafieldRef (ChannelRefPtr channelRef, const std::string &datafieldName, bool performValidation=true) | 
|  | 
|  | DatafieldRef (Observer *observer, const std::string &channelName, const std::string &datafieldName, bool performValidation=true) | 
|  | 
|  | DatafieldRef (ObserverInterfacePrx observerPrx, const std::string &channelName, const std::string &datafieldName, bool performValidation=true) | 
|  | 
| void | deserialize (const ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) override | 
|  | 
| template<typename T > | 
| std::enable_if_t< std::is_base_of_v< VariantDataClass, T >, IceInternal::Handle< T > > | get () const | 
|  | 
| template<typename T > | 
| std::enable_if_t<!std::is_base_of_v< VariantDataClass, T >, T > | get () const | 
|  | 
| bool | getBool (const Ice::Current &c=Ice::emptyCurrent) const override | 
|  | 
| ChannelRefPtr | getChannelRef () const | 
|  | 
| TimedVariantPtr | getDataField () const | 
|  | Retrieves the value of the datafield from the Observer.  More... 
 | 
|  | 
| DataFieldIdentifierPtr | getDataFieldIdentifier () const | 
|  | 
| double | getDouble (const Ice::Current &c=Ice::emptyCurrent) const override | 
|  | 
| float | getFloat (const Ice::Current &c=Ice::emptyCurrent) const override | 
|  | 
| int | getInt (const Ice::Current &c=Ice::emptyCurrent) const override | 
|  | 
| long | getLong (const Ice::Current &c=Ice::emptyCurrent) const override | 
|  | 
| std::string | getString (const Ice::Current &c=Ice::emptyCurrent) const override | 
|  | 
| VariantTypeId | getType (const Ice::Current &c=Ice::emptyCurrent) const override | 
|  | 
| Ice::ObjectPtr | ice_clone () const override | 
|  | 
| std::string | output (const Ice::Current &c=Ice::emptyCurrent) const override | 
|  | 
| void | serialize (const ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) const override | 
|  | 
| bool | validate (const Ice::Current &c=Ice::emptyCurrent) override | 
|  | 
|  | ~DatafieldRef () override | 
|  | 
The DatafieldRef class is similar to the ChannelRef, but points to a specific Datafield instead of to a complete channel. It can be used to query (getDataField()) the data of the datafield from the Observer. 
Definition at line 51 of file DatafieldRef.h.
◆ DatafieldRef() [1/4]
◆ DatafieldRef() [2/4]
      
        
          | DatafieldRef | ( | Observer * | observer, | 
        
          |  |  | const std::string & | channelName, | 
        
          |  |  | const std::string & | datafieldName, | 
        
          |  |  | bool | performValidation = true | 
        
          |  | ) |  |  | 
      
 
 
◆ DatafieldRef() [3/4]
      
        
          | DatafieldRef | ( | ObserverInterfacePrx | observerPrx, | 
        
          |  |  | const std::string & | channelName, | 
        
          |  |  | const std::string & | datafieldName, | 
        
          |  |  | bool | performValidation = true | 
        
          |  | ) |  |  | 
      
 
 
◆ DatafieldRef() [4/4]
◆ ~DatafieldRef()
◆ clone()
  
  | 
        
          | VariantDataClassPtr clone | ( | const Ice::Current & | c = Ice::emptyCurrent | ) | const |  | override | 
 
 
◆ deserialize()
  
  | 
        
          | void deserialize | ( | const ObjectSerializerBasePtr & | serializer, |  
          |  |  | const ::Ice::Current & | c = Ice::emptyCurrent |  
          |  | ) |  |  |  | override | 
 
 
◆ get() [1/2]
◆ get() [2/2]
  
  | 
        
          | std::enable_if_t<!std::is_base_of_v<VariantDataClass, T>, T> get | ( |  | ) | const |  | inline | 
 
 
◆ getBool()
  
  | 
        
          | bool getBool | ( | const Ice::Current & | c = Ice::emptyCurrent | ) | const |  | inlineoverride | 
 
 
◆ getChannelRef()
◆ getDataField()
◆ getDataFieldIdentifier()
◆ getDouble()
  
  | 
        
          | double getDouble | ( | const Ice::Current & | c = Ice::emptyCurrent | ) | const |  | inlineoverride | 
 
 
◆ getFloat()
  
  | 
        
          | float getFloat | ( | const Ice::Current & | c = Ice::emptyCurrent | ) | const |  | inlineoverride | 
 
 
◆ getInt()
  
  | 
        
          | int getInt | ( | const Ice::Current & | c = Ice::emptyCurrent | ) | const |  | inlineoverride | 
 
 
◆ getLong()
  
  | 
        
          | long getLong | ( | const Ice::Current & | c = Ice::emptyCurrent | ) | const |  | inlineoverride | 
 
 
◆ getString()
  
  | 
        
          | std::string getString | ( | const Ice::Current & | c = Ice::emptyCurrent | ) | const |  | inlineoverride | 
 
 
◆ getType()
  
  | 
        
          | VariantTypeId getType | ( | const Ice::Current & | c = Ice::emptyCurrent | ) | const |  | override | 
 
 
◆ ice_clone()
  
  | 
        
          | Ice::ObjectPtr ice_clone | ( |  | ) | const |  | override | 
 
 
◆ output()
  
  | 
        
          | std::string output | ( | const Ice::Current & | c = Ice::emptyCurrent | ) | const |  | override | 
 
 
◆ serialize()
  
  | 
        
          | void serialize | ( | const ObjectSerializerBasePtr & | serializer, |  
          |  |  | const ::Ice::Current & | = Ice::emptyCurrent |  
          |  | ) |  | const |  | override | 
 
 
◆ validate()
  
  | 
        
          | bool validate | ( | const Ice::Current & | c = Ice::emptyCurrent | ) |  |  | override | 
 
 
◆ GenericFactory
◆ operator<< [1/2]
  
  | 
        
          | std::ostream& operator<< | ( | std::ostream & | stream, |  
          |  |  | const DatafieldRef & | rhs |  
          |  | ) |  |  |  | friend | 
 
 
◆ operator<< [2/2]
  
  | 
        
          | std::ostream& operator<< | ( | std::ostream & | stream, |  
          |  |  | const DatafieldRefPtr & | rhs |  
          |  | ) |  |  |  | friend | 
 
 
The documentation for this class was generated from the following files: