OpenJAUS SAE SDK
6.0.0
|
#include <RangeSensorDataPointList.h>
Inherits openjaus::model::fields::Array.
Public Member Functions | |
RangeSensorDataPointList () | |
~RangeSensorDataPointList () | |
void | copy (RangeSensorDataPointList &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 () const |
Gets the serialized length of this object. More... | |
std::string | toXml (unsigned char ojIndentLevel=0) const |
std::vector< RangeSensorDataPointRecord > & | getRangeSensorDataPointRec () |
void | add (RangeSensorDataPointRecord value) |
void | remove (int index) |
bool | empty () |
void | clear () |
bool | set (std::size_t index, RangeSensorDataPointRecord value) |
RangeSensorDataPointRecord & | get (std::size_t index) |
std::size_t | size () |
Public Member Functions inherited from openjaus::model::fields::Array | |
Array () | |
virtual | ~Array () |
TypesUnsigned | getSizeType () const |
Accessor to get the value of sizeType. More... | |
bool | setSizeType (TypesUnsigned sizeType) |
Accessor to set value of sizeType. More... | |
const ArrayType & | getType () const |
Accessor to get the value of type. More... | |
bool | setType (const ArrayType &type) |
Accessor to set value of type. More... | |
const std::vector< ArrayDimension *> & | getDimensions () const |
Accessor to get the value of dimensions. More... | |
bool | setDimensions (const ArrayDimension &dimensions) |
Accessor to set value of dimensions. 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 () |
Protected Attributes | |
std::vector< RangeSensorDataPointRecord > | rangeSensorDataPointRec |
Protected Attributes inherited from openjaus::model::fields::Array | |
TypesUnsigned | sizeType |
ArrayType | type |
std::vector< ArrayDimension *> | dimensions |
Protected Attributes inherited from openjaus::model::fields::Field | |
std::string | name |
openjaus::environment_v1_0::RangeSensorDataPointList::RangeSensorDataPointList | ( | ) |
openjaus::environment_v1_0::RangeSensorDataPointList::~RangeSensorDataPointList | ( | ) |
void openjaus::environment_v1_0::RangeSensorDataPointList::add | ( | RangeSensorDataPointRecord | value | ) |
void openjaus::environment_v1_0::RangeSensorDataPointList::clear | ( | ) |
void openjaus::environment_v1_0::RangeSensorDataPointList::copy | ( | RangeSensorDataPointList & | source | ) |
bool openjaus::environment_v1_0::RangeSensorDataPointList::empty | ( | ) |
|
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::Array.
RangeSensorDataPointRecord & openjaus::environment_v1_0::RangeSensorDataPointList::get | ( | std::size_t | index | ) |
std::vector< RangeSensorDataPointRecord > & openjaus::environment_v1_0::RangeSensorDataPointList::getRangeSensorDataPointRec | ( | ) |
|
virtual |
Reimplemented from openjaus::model::fields::Array.
void openjaus::environment_v1_0::RangeSensorDataPointList::remove | ( | int | index | ) |
bool openjaus::environment_v1_0::RangeSensorDataPointList::set | ( | std::size_t | index, |
RangeSensorDataPointRecord | value | ||
) |
std::size_t openjaus::environment_v1_0::RangeSensorDataPointList::size | ( | ) |
|
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::Array.
std::string openjaus::environment_v1_0::RangeSensorDataPointList::toXml | ( | unsigned char | ojIndentLevel = 0 | ) | const |
|
protected |