OpenJAUS SAE SDK  6.0.0
Public Member Functions | Friends | List of all members
openjaus::model::fields::Variant Class Reference

This is a brief description. More...

#include <Variant.h>

Inherits openjaus::model::fields::ComplexField, openjaus::model::fields::Field, and openjaus::system::Transportable.

Inherited by openjaus::core_v1_1::QueryEventsVariant, openjaus::environment_v1_0::ConfirmSensorConfigurationVariant, openjaus::environment_v1_0::GeometricPropertiesVariant, openjaus::environment_v1_0::NoGeometricPropertiesVariant, openjaus::environment_v1_0::RangeSensorCompressedDataVariant, openjaus::environment_v1_0::RangeSensorDataVariant, openjaus::manipulator_v1_0::FirstJointParametersVariant, openjaus::manipulator_v1_0::JointForceTorqueVariant, openjaus::manipulator_v1_0::JointPositionVariant, openjaus::manipulator_v1_0::JointSpecificationsVariant, openjaus::manipulator_v1_0::JointTypeVariant, openjaus::manipulator_v1_0::JointVelocityVariant, openjaus::ugv_v1_0::PlatformSpecificsVariant, openjaus::ugv_v1_0::PowerPlantCapabilitiesVariant, openjaus::ugv_v1_0::PowerPlantConfigurationVariant, and openjaus::ugv_v1_0::PowerPlantStatusVariant.

Public Member Functions

 Variant ()
 
virtual ~Variant ()
 
virtual uint64 to (system::BufferWriter &dst) const
 Serializes the contents of this object into the Buffer connected to the provided BufferWriter. More...
 
virtual uint64 from (system::BufferReader &src)
 Deserializes the contents the Buffer connected to the provided BufferReader into this object. More...
 
virtual uint64 length () const
 Gets the serialized length of this object. More...
 
virtual std::string toString () const
 
- Public Member Functions inherited from openjaus::model::fields::ComplexField
virtual ~ComplexField ()
 
- Public Member Functions inherited from openjaus::model::fields::Field
 Field ()
 
virtual ~Field ()
 
std::string getName () const
 Accessor to get the value of name. More...
 
bool setName (std::string name)
 Accessor to set value of name. More...
 
- Public Member Functions inherited from openjaus::system::Transportable
 Transportable ()
 
virtual ~Transportable ()
 

Friends

OPENJAUS_EXPORT friend std::ostream & operator<< (std::ostream &output, const Variant &object)
 
OPENJAUS_EXPORT friend std::ostream & operator<< (std::ostream &output, const Variant *object)
 

Additional Inherited Members

- Protected Attributes inherited from openjaus::model::fields::Field
std::string name
 

Detailed Description

Detailed description.

Author
Name (name@.nosp@m.emai.nosp@m.l.com)

Constructor & Destructor Documentation

◆ Variant()

openjaus::model::fields::Variant::Variant ( )

◆ ~Variant()

openjaus::model::fields::Variant::~Variant ( )
virtual

Member Function Documentation

◆ from()

uint64 openjaus::model::fields::Variant::from ( system::BufferReader src)
virtual

◆ length()

uint64 openjaus::model::fields::Variant::length ( ) const
virtual

◆ to()

uint64 openjaus::model::fields::Variant::to ( system::BufferWriter dst) const
virtual

◆ toString()

std::string openjaus::model::fields::Variant::toString ( ) const
virtual

Reimplemented from openjaus::model::fields::Field.

Friends And Related Function Documentation

◆ operator<< [1/2]

OPENJAUS_EXPORT friend std::ostream& operator<< ( std::ostream &  output,
const Variant object 
)
friend

◆ operator<< [2/2]

OPENJAUS_EXPORT friend std::ostream& operator<< ( std::ostream &  output,
const Variant object 
)
friend

The documentation for this class was generated from the following files: