OpenJAUS SAE SDK
6.0.0
|
#include <SensorPositionRefArray.h>
Inherits openjaus::model::fields::Array.
Public Member Functions | |
SensorPositionRefArray () | |
~SensorPositionRefArray () | |
void | copy (SensorPositionRefArray &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< PositionVectorElementScaledInteger > & | getArray () |
bool | set (std::size_t index, PositionVectorElementScaledInteger value) |
PositionVectorElementScaledInteger & | get (std::size_t index) |
std::size_t | size () |
![]() | |
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 |
![]() | |
virtual | ~ComplexField () |
![]() | |
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... | |
![]() | |
Transportable () | |
virtual | ~Transportable () |
Static Public Attributes | |
static const std::size_t | DIMENSION = 3 |
Protected Attributes | |
std::vector< PositionVectorElementScaledInteger > | vector |
![]() | |
TypesUnsigned | sizeType |
ArrayType | type |
std::vector< ArrayDimension *> | dimensions |
![]() | |
std::string | name |
openjaus::environment_v1_0::SensorPositionRefArray::SensorPositionRefArray | ( | ) |
openjaus::environment_v1_0::SensorPositionRefArray::~SensorPositionRefArray | ( | ) |
void openjaus::environment_v1_0::SensorPositionRefArray::copy | ( | SensorPositionRefArray & | 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::Array.
PositionVectorElementScaledInteger & openjaus::environment_v1_0::SensorPositionRefArray::get | ( | std::size_t | index | ) |
std::vector< PositionVectorElementScaledInteger > & openjaus::environment_v1_0::SensorPositionRefArray::getArray | ( | ) |
|
virtual |
Reimplemented from openjaus::model::fields::Array.
bool openjaus::environment_v1_0::SensorPositionRefArray::set | ( | std::size_t | index, |
PositionVectorElementScaledInteger | value | ||
) |
std::size_t openjaus::environment_v1_0::SensorPositionRefArray::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::SensorPositionRefArray::toXml | ( | unsigned char | ojIndentLevel = 0 | ) | const |
|
static |
|
protected |