OpenJAUS SAE SDK
6.0.0
|
#include <PlatformSpecRecord.h>
Inherits openjaus::model::fields::Record.
Public Member Functions | |
PlatformSpecRecord () | |
PlatformSpecRecord (const PlatformSpecRecord &source) | |
~PlatformSpecRecord () | |
void | copy (PlatformSpecRecord &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 |
void | setPresenceVector (uint16_t value) |
uint16_t | getPresenceVector (void) const |
bool | isFrontEnabled (void) const |
void | enableFront (void) |
void | disableFront (void) |
bool | isBackEnabled (void) const |
void | enableBack (void) |
void | disableBack (void) |
bool | isRightEnabled (void) const |
void | enableRight (void) |
void | disableRight (void) |
bool | isLeftEnabled (void) const |
void | enableLeft (void) |
void | disableLeft (void) |
bool | isBottomEnabled (void) const |
void | enableBottom (void) |
void | disableBottom (void) |
bool | isTopEnabled (void) const |
void | enableTop (void) |
void | disableTop (void) |
bool | isXcgEnabled (void) const |
void | enableXcg (void) |
void | disableXcg (void) |
bool | isYcgEnabled (void) const |
void | enableYcg (void) |
void | disableYcg (void) |
bool | isZcgEnabled (void) const |
void | enableZcg (void) |
void | disableZcg (void) |
bool | isWheelBaseEnabled (void) const |
void | enableWheelBase (void) |
void | disableWheelBase (void) |
bool | isStaticPitchOverEnabled (void) const |
void | enableStaticPitchOver (void) |
void | disableStaticPitchOver (void) |
bool | isStaticRollOverEnabled (void) const |
void | enableStaticRollOver (void) |
void | disableStaticRollOver (void) |
bool | isVehicleWeightEnabled (void) const |
void | enableVehicleWeight (void) |
void | disableVehicleWeight (void) |
bool | isApproachAngleEnabled (void) const |
void | enableApproachAngle (void) |
void | disableApproachAngle (void) |
bool | isDepartureAngleEnabled (void) const |
void | enableDepartureAngle (void) |
void | disableDepartureAngle (void) |
bool | isBreakOverAngleEnabled (void) const |
void | enableBreakOverAngle (void) |
void | disableBreakOverAngle (void) |
std::string | getMobilityPlatformName (void) |
bool | setMobilityPlatformName (std::string value) |
double | getFront_m (void) |
bool | setFront_m (double value) |
double | getBack_m (void) |
bool | setBack_m (double value) |
double | getRight_m (void) |
bool | setRight_m (double value) |
double | getLeft_m (void) |
bool | setLeft_m (double value) |
double | getBottom_m (void) |
bool | setBottom_m (double value) |
double | getTop_m (void) |
bool | setTop_m (double value) |
double | getXcg_m (void) |
bool | setXcg_m (double value) |
double | getYcg_m (void) |
bool | setYcg_m (double value) |
double | getZcg_m (void) |
bool | setZcg_m (double value) |
double | getWheelBase_m (void) |
bool | setWheelBase_m (double value) |
double | getStaticPitchOver_rad (void) |
bool | setStaticPitchOver_rad (double value) |
double | getStaticRollOver_rad (void) |
bool | setStaticRollOver_rad (double value) |
double | getVehicleWeight_kg (void) |
bool | setVehicleWeight_kg (double value) |
double | getApproachAngle_rad (void) |
bool | setApproachAngle_rad (double value) |
double | getDepartureAngle_rad (void) |
bool | setDepartureAngle_rad (double value) |
double | getBreakOverAngle_rad (void) |
bool | setBreakOverAngle_rad (double value) |
![]() | |
Record () | |
virtual | ~Record () |
const std::vector< Field *> & | getFields () const |
Accessor to get the value of fields. More... | |
bool | setFields (const Field &fields) |
Accessor to set value of fields. 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 uint16_t | PV_NO_FIELDS = 0x0 |
static const uint16_t | PV_FRONT = 0x1 |
static const uint16_t | PV_BACK = 0x2 |
static const uint16_t | PV_RIGHT = 0x4 |
static const uint16_t | PV_LEFT = 0x8 |
static const uint16_t | PV_BOTTOM = 0x10 |
static const uint16_t | PV_TOP = 0x20 |
static const uint16_t | PV_XCG = 0x40 |
static const uint16_t | PV_YCG = 0x80 |
static const uint16_t | PV_ZCG = 0x100 |
static const uint16_t | PV_WHEELBASE = 0x200 |
static const uint16_t | PV_STATICPITCHOVER = 0x400 |
static const uint16_t | PV_STATICROLLOVER = 0x800 |
static const uint16_t | PV_VEHICLEWEIGHT = 0x1000 |
static const uint16_t | PV_APPROACHANGLE = 0x2000 |
static const uint16_t | PV_DEPARTUREANGLE = 0x4000 |
static const uint16_t | PV_BREAKOVERANGLE = 0x8000 |
static const uint16_t | PV_ALL_FIELDS = PV_NO_FIELDS | PV_FRONT | PV_BACK | PV_RIGHT | PV_LEFT | PV_BOTTOM | PV_TOP | PV_XCG | PV_YCG | PV_ZCG | PV_WHEELBASE | PV_STATICPITCHOVER | PV_STATICROLLOVER | PV_VEHICLEWEIGHT | PV_APPROACHANGLE | PV_DEPARTUREANGLE | PV_BREAKOVERANGLE |
openjaus::ugv_v1_0::PlatformSpecRecord::PlatformSpecRecord | ( | ) |
openjaus::ugv_v1_0::PlatformSpecRecord::PlatformSpecRecord | ( | const PlatformSpecRecord & | source | ) |
openjaus::ugv_v1_0::PlatformSpecRecord::~PlatformSpecRecord | ( | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::copy | ( | PlatformSpecRecord & | source | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::disableApproachAngle | ( | void | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::disableBack | ( | void | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::disableBottom | ( | void | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::disableBreakOverAngle | ( | void | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::disableDepartureAngle | ( | void | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::disableFront | ( | void | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::disableLeft | ( | void | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::disableRight | ( | void | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::disableStaticPitchOver | ( | void | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::disableStaticRollOver | ( | void | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::disableTop | ( | void | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::disableVehicleWeight | ( | void | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::disableWheelBase | ( | void | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::disableXcg | ( | void | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::disableYcg | ( | void | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::disableZcg | ( | void | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::enableApproachAngle | ( | void | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::enableBack | ( | void | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::enableBottom | ( | void | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::enableBreakOverAngle | ( | void | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::enableDepartureAngle | ( | void | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::enableFront | ( | void | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::enableLeft | ( | void | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::enableRight | ( | void | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::enableStaticPitchOver | ( | void | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::enableStaticRollOver | ( | void | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::enableTop | ( | void | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::enableVehicleWeight | ( | void | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::enableWheelBase | ( | void | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::enableXcg | ( | void | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::enableYcg | ( | void | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::enableZcg | ( | void | ) |
|
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::Record.
double openjaus::ugv_v1_0::PlatformSpecRecord::getApproachAngle_rad | ( | void | ) |
double openjaus::ugv_v1_0::PlatformSpecRecord::getBack_m | ( | void | ) |
double openjaus::ugv_v1_0::PlatformSpecRecord::getBottom_m | ( | void | ) |
double openjaus::ugv_v1_0::PlatformSpecRecord::getBreakOverAngle_rad | ( | void | ) |
double openjaus::ugv_v1_0::PlatformSpecRecord::getDepartureAngle_rad | ( | void | ) |
double openjaus::ugv_v1_0::PlatformSpecRecord::getFront_m | ( | void | ) |
double openjaus::ugv_v1_0::PlatformSpecRecord::getLeft_m | ( | void | ) |
std::string openjaus::ugv_v1_0::PlatformSpecRecord::getMobilityPlatformName | ( | void | ) |
uint16_t openjaus::ugv_v1_0::PlatformSpecRecord::getPresenceVector | ( | void | ) | const |
double openjaus::ugv_v1_0::PlatformSpecRecord::getRight_m | ( | void | ) |
double openjaus::ugv_v1_0::PlatformSpecRecord::getStaticPitchOver_rad | ( | void | ) |
double openjaus::ugv_v1_0::PlatformSpecRecord::getStaticRollOver_rad | ( | void | ) |
double openjaus::ugv_v1_0::PlatformSpecRecord::getTop_m | ( | void | ) |
double openjaus::ugv_v1_0::PlatformSpecRecord::getVehicleWeight_kg | ( | void | ) |
double openjaus::ugv_v1_0::PlatformSpecRecord::getWheelBase_m | ( | void | ) |
double openjaus::ugv_v1_0::PlatformSpecRecord::getXcg_m | ( | void | ) |
double openjaus::ugv_v1_0::PlatformSpecRecord::getYcg_m | ( | void | ) |
double openjaus::ugv_v1_0::PlatformSpecRecord::getZcg_m | ( | void | ) |
bool openjaus::ugv_v1_0::PlatformSpecRecord::isApproachAngleEnabled | ( | void | ) | const |
bool openjaus::ugv_v1_0::PlatformSpecRecord::isBackEnabled | ( | void | ) | const |
bool openjaus::ugv_v1_0::PlatformSpecRecord::isBottomEnabled | ( | void | ) | const |
bool openjaus::ugv_v1_0::PlatformSpecRecord::isBreakOverAngleEnabled | ( | void | ) | const |
bool openjaus::ugv_v1_0::PlatformSpecRecord::isDepartureAngleEnabled | ( | void | ) | const |
bool openjaus::ugv_v1_0::PlatformSpecRecord::isFrontEnabled | ( | void | ) | const |
bool openjaus::ugv_v1_0::PlatformSpecRecord::isLeftEnabled | ( | void | ) | const |
bool openjaus::ugv_v1_0::PlatformSpecRecord::isRightEnabled | ( | void | ) | const |
bool openjaus::ugv_v1_0::PlatformSpecRecord::isStaticPitchOverEnabled | ( | void | ) | const |
bool openjaus::ugv_v1_0::PlatformSpecRecord::isStaticRollOverEnabled | ( | void | ) | const |
bool openjaus::ugv_v1_0::PlatformSpecRecord::isTopEnabled | ( | void | ) | const |
bool openjaus::ugv_v1_0::PlatformSpecRecord::isVehicleWeightEnabled | ( | void | ) | const |
bool openjaus::ugv_v1_0::PlatformSpecRecord::isWheelBaseEnabled | ( | void | ) | const |
bool openjaus::ugv_v1_0::PlatformSpecRecord::isXcgEnabled | ( | void | ) | const |
bool openjaus::ugv_v1_0::PlatformSpecRecord::isYcgEnabled | ( | void | ) | const |
bool openjaus::ugv_v1_0::PlatformSpecRecord::isZcgEnabled | ( | void | ) | const |
|
virtual |
Reimplemented from openjaus::model::fields::Record.
bool openjaus::ugv_v1_0::PlatformSpecRecord::setApproachAngle_rad | ( | double | value | ) |
bool openjaus::ugv_v1_0::PlatformSpecRecord::setBack_m | ( | double | value | ) |
bool openjaus::ugv_v1_0::PlatformSpecRecord::setBottom_m | ( | double | value | ) |
bool openjaus::ugv_v1_0::PlatformSpecRecord::setBreakOverAngle_rad | ( | double | value | ) |
bool openjaus::ugv_v1_0::PlatformSpecRecord::setDepartureAngle_rad | ( | double | value | ) |
bool openjaus::ugv_v1_0::PlatformSpecRecord::setFront_m | ( | double | value | ) |
bool openjaus::ugv_v1_0::PlatformSpecRecord::setLeft_m | ( | double | value | ) |
bool openjaus::ugv_v1_0::PlatformSpecRecord::setMobilityPlatformName | ( | std::string | value | ) |
void openjaus::ugv_v1_0::PlatformSpecRecord::setPresenceVector | ( | uint16_t | value | ) |
bool openjaus::ugv_v1_0::PlatformSpecRecord::setRight_m | ( | double | value | ) |
bool openjaus::ugv_v1_0::PlatformSpecRecord::setStaticPitchOver_rad | ( | double | value | ) |
bool openjaus::ugv_v1_0::PlatformSpecRecord::setStaticRollOver_rad | ( | double | value | ) |
bool openjaus::ugv_v1_0::PlatformSpecRecord::setTop_m | ( | double | value | ) |
bool openjaus::ugv_v1_0::PlatformSpecRecord::setVehicleWeight_kg | ( | double | value | ) |
bool openjaus::ugv_v1_0::PlatformSpecRecord::setWheelBase_m | ( | double | value | ) |
bool openjaus::ugv_v1_0::PlatformSpecRecord::setXcg_m | ( | double | value | ) |
bool openjaus::ugv_v1_0::PlatformSpecRecord::setYcg_m | ( | double | value | ) |
bool openjaus::ugv_v1_0::PlatformSpecRecord::setZcg_m | ( | double | value | ) |
|
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::Record.
std::string openjaus::ugv_v1_0::PlatformSpecRecord::toXml | ( | unsigned char | ojIndentLevel = 0 | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |