OpenJAUS SAE SDK
6.0.0
|
#include <RangeSensorCompressedDataVariant.h>
Inherits openjaus::model::fields::Variant.
Public Types | |
enum | TypeEnum { RANGESENSORDATAERRORREC = 0, RANGESENSORCOMPRESSEDDATAREC = 1 } |
Public Member Functions | |
RangeSensorCompressedDataVariant () | |
~RangeSensorCompressedDataVariant () | |
RangeSensorCompressedDataVariant::TypeEnum | getType (void) |
void | setType (RangeSensorCompressedDataVariant::TypeEnum type) |
void | copy (RangeSensorCompressedDataVariant &source) |
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 (void) const |
Gets the serialized length of this object. More... | |
std::string | toXml (unsigned char ojIndentLevel=0) const |
RangeSensorDataErrorRecRefRecord & | getRangeSensorDataErrorRec (void) |
RangeSensorCompressedDataRecord & | getRangeSensorCompressedDataRec (void) |
std::string | typeToString (void) |
Public Member Functions inherited from openjaus::model::fields::Variant | |
Variant () | |
virtual | ~Variant () |
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 () |
Private Attributes | |
TypeEnum | type |
RangeSensorDataErrorRecRefRecord | rangeSensorDataErrorRec |
RangeSensorCompressedDataRecord | rangeSensorCompressedDataRec |
Additional Inherited Members | |
Protected Attributes inherited from openjaus::model::fields::Field | |
std::string | name |
openjaus::environment_v1_0::RangeSensorCompressedDataVariant::RangeSensorCompressedDataVariant | ( | ) |
openjaus::environment_v1_0::RangeSensorCompressedDataVariant::~RangeSensorCompressedDataVariant | ( | ) |
void openjaus::environment_v1_0::RangeSensorCompressedDataVariant::copy | ( | RangeSensorCompressedDataVariant & | source | ) |
|
virtual |
Deserializes the contents the Buffer connected to the provided BufferReader into this object. The BufferReader position will be advanced inside this method such that calling from() again will attempt to read the next Transportable object from the Buffer.
src |
Reimplemented from openjaus::model::fields::Variant.
RangeSensorCompressedDataRecord & openjaus::environment_v1_0::RangeSensorCompressedDataVariant::getRangeSensorCompressedDataRec | ( | void | ) |
RangeSensorDataErrorRecRefRecord & openjaus::environment_v1_0::RangeSensorCompressedDataVariant::getRangeSensorDataErrorRec | ( | void | ) |
RangeSensorCompressedDataVariant::TypeEnum openjaus::environment_v1_0::RangeSensorCompressedDataVariant::getType | ( | void | ) |
|
virtual |
Reimplemented from openjaus::model::fields::Variant.
void openjaus::environment_v1_0::RangeSensorCompressedDataVariant::setType | ( | RangeSensorCompressedDataVariant::TypeEnum | type | ) |
|
virtual |
Serializes the contents of this object into the Buffer connected to the provided BufferWriter. The BufferWriter position will be advanced inside this method such that calling to() again will write the Transportable object into the Buffer a second time.
dst |
Reimplemented from openjaus::model::fields::Variant.
std::string openjaus::environment_v1_0::RangeSensorCompressedDataVariant::toXml | ( | unsigned char | ojIndentLevel = 0 | ) | const |
std::string openjaus::environment_v1_0::RangeSensorCompressedDataVariant::typeToString | ( | void | ) |
|
private |
|
private |
|
private |