OpenJAUS Software Development Kit  4.3.1
Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
openjaus::mobility::GlobalPoseRecord Class Reference

#include <GlobalPoseRecord.h>

Inherits openjaus::model::fields::Record.

Public Member Functions

 GlobalPoseRecord ()
 
 GlobalPoseRecord (const GlobalPoseRecord &source)
 
 ~GlobalPoseRecord ()
 
void copy (GlobalPoseRecord &source)
 
virtual int to (system::Buffer *dst)
 Operation to. More...
 
virtual int from (system::Buffer *src)
 Operation from. More...
 
virtual int length (void)
 Serializes object to internal transport buffer. More...
 
std::string toXml (unsigned char ojIndentLevel=0) const
 
void setPresenceVector (uint16_t value)
 
uint16_t getPresenceVector (void) const
 
bool isLatitudeEnabled (void) const
 
void enableLatitude (void)
 
void disableLatitude (void)
 
bool isLongitudeEnabled (void) const
 
void enableLongitude (void)
 
void disableLongitude (void)
 
bool isAltitudeEnabled (void) const
 
void enableAltitude (void)
 
void disableAltitude (void)
 
bool isPositionRmsEnabled (void) const
 
void enablePositionRms (void)
 
void disablePositionRms (void)
 
bool isRollEnabled (void) const
 
void enableRoll (void)
 
void disableRoll (void)
 
bool isPitchEnabled (void) const
 
void enablePitch (void)
 
void disablePitch (void)
 
bool isYawEnabled (void) const
 
void enableYaw (void)
 
void disableYaw (void)
 
bool isAttitudeRmsEnabled (void) const
 
void enableAttitudeRms (void)
 
void disableAttitudeRms (void)
 
bool isTimeStampEnabled (void) const
 
void enableTimeStamp (void)
 
void disableTimeStamp (void)
 
double getLatitude_deg (void)
 
bool setLatitude_deg (double value)
 
double getLongitude_deg (void)
 
bool setLongitude_deg (double value)
 
double getAltitude_m (void)
 
bool setAltitude_m (double value)
 
double getPositionRms_m (void)
 
bool setPositionRms_m (double value)
 
double getRoll_rad (void)
 
bool setRoll_rad (double value)
 
double getPitch_rad (void)
 
bool setPitch_rad (double value)
 
double getYaw_rad (void)
 
bool setYaw_rad (double value)
 
double getAttitudeRms_rad (void)
 
bool setAttitudeRms_rad (double value)
 
model::fields::TimeStampgetTimeStamp (void)
 
- Public Member Functions inherited from openjaus::model::fields::Record
 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
 
- 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
virtual ~Transportable ()
 
 Transportable ()
 

Static Public Attributes

static const uint16_t PV_ALL_FIELDS = 0xFFFF
 
static const uint16_t PV_NO_FIELDS = 0x0
 
static const uint16_t PV_LATITUDE = 0x1
 
static const uint16_t PV_LONGITUDE = 0x2
 
static const uint16_t PV_ALTITUDE = 0x4
 
static const uint16_t PV_POSITIONRMS = 0x8
 
static const uint16_t PV_ROLL = 0x10
 
static const uint16_t PV_PITCH = 0x20
 
static const uint16_t PV_YAW = 0x40
 
static const uint16_t PV_ATTITUDERMS = 0x80
 
static const uint16_t PV_TIMESTAMP = 0x100
 

Protected Attributes

JausLatitudeScaledInteger latitude_deg
 
JausLongitudeScaledInteger longitude_deg
 
JausAltitudeScaledInteger altitude_m
 
LocalPositionRmsScaledInteger positionRms_m
 
OrientationScaledInteger roll_rad
 
OrientationScaledInteger pitch_rad
 
OrientationScaledInteger yaw_rad
 
OrientationRmsScaledInteger attitudeRms_rad
 
model::fields::TimeStamp timeStamp
 
uint16_t presenceVector
 
- Protected Attributes inherited from openjaus::model::fields::Record
std::vector< Field *> fields
 
- Protected Attributes inherited from openjaus::model::fields::Field
std::string name
 

Constructor & Destructor Documentation

§ GlobalPoseRecord() [1/2]

openjaus::mobility::GlobalPoseRecord::GlobalPoseRecord ( )

§ GlobalPoseRecord() [2/2]

openjaus::mobility::GlobalPoseRecord::GlobalPoseRecord ( const GlobalPoseRecord source)

§ ~GlobalPoseRecord()

openjaus::mobility::GlobalPoseRecord::~GlobalPoseRecord ( )

Member Function Documentation

§ copy()

void openjaus::mobility::GlobalPoseRecord::copy ( GlobalPoseRecord source)

§ disableAltitude()

void openjaus::mobility::GlobalPoseRecord::disableAltitude ( void  )

§ disableAttitudeRms()

void openjaus::mobility::GlobalPoseRecord::disableAttitudeRms ( void  )

§ disableLatitude()

void openjaus::mobility::GlobalPoseRecord::disableLatitude ( void  )

§ disableLongitude()

void openjaus::mobility::GlobalPoseRecord::disableLongitude ( void  )

§ disablePitch()

void openjaus::mobility::GlobalPoseRecord::disablePitch ( void  )

§ disablePositionRms()

void openjaus::mobility::GlobalPoseRecord::disablePositionRms ( void  )

§ disableRoll()

void openjaus::mobility::GlobalPoseRecord::disableRoll ( void  )

§ disableTimeStamp()

void openjaus::mobility::GlobalPoseRecord::disableTimeStamp ( void  )

§ disableYaw()

void openjaus::mobility::GlobalPoseRecord::disableYaw ( void  )

§ enableAltitude()

void openjaus::mobility::GlobalPoseRecord::enableAltitude ( void  )

§ enableAttitudeRms()

void openjaus::mobility::GlobalPoseRecord::enableAttitudeRms ( void  )

§ enableLatitude()

void openjaus::mobility::GlobalPoseRecord::enableLatitude ( void  )

§ enableLongitude()

void openjaus::mobility::GlobalPoseRecord::enableLongitude ( void  )

§ enablePitch()

void openjaus::mobility::GlobalPoseRecord::enablePitch ( void  )

§ enablePositionRms()

void openjaus::mobility::GlobalPoseRecord::enablePositionRms ( void  )

§ enableRoll()

void openjaus::mobility::GlobalPoseRecord::enableRoll ( void  )

§ enableTimeStamp()

void openjaus::mobility::GlobalPoseRecord::enableTimeStamp ( void  )

§ enableYaw()

void openjaus::mobility::GlobalPoseRecord::enableYaw ( void  )

§ from()

int openjaus::mobility::GlobalPoseRecord::from ( system::Buffer src)
virtual
Parameters
src

Reimplemented from openjaus::model::fields::Record.

§ getAltitude_m()

double openjaus::mobility::GlobalPoseRecord::getAltitude_m ( void  )

§ getAttitudeRms_rad()

double openjaus::mobility::GlobalPoseRecord::getAttitudeRms_rad ( void  )

§ getLatitude_deg()

double openjaus::mobility::GlobalPoseRecord::getLatitude_deg ( void  )

§ getLongitude_deg()

double openjaus::mobility::GlobalPoseRecord::getLongitude_deg ( void  )

§ getPitch_rad()

double openjaus::mobility::GlobalPoseRecord::getPitch_rad ( void  )

§ getPositionRms_m()

double openjaus::mobility::GlobalPoseRecord::getPositionRms_m ( void  )

§ getPresenceVector()

uint16_t openjaus::mobility::GlobalPoseRecord::getPresenceVector ( void  ) const

§ getRoll_rad()

double openjaus::mobility::GlobalPoseRecord::getRoll_rad ( void  )

§ getTimeStamp()

model::fields::TimeStamp & openjaus::mobility::GlobalPoseRecord::getTimeStamp ( void  )

§ getYaw_rad()

double openjaus::mobility::GlobalPoseRecord::getYaw_rad ( void  )

§ isAltitudeEnabled()

bool openjaus::mobility::GlobalPoseRecord::isAltitudeEnabled ( void  ) const

§ isAttitudeRmsEnabled()

bool openjaus::mobility::GlobalPoseRecord::isAttitudeRmsEnabled ( void  ) const

§ isLatitudeEnabled()

bool openjaus::mobility::GlobalPoseRecord::isLatitudeEnabled ( void  ) const

§ isLongitudeEnabled()

bool openjaus::mobility::GlobalPoseRecord::isLongitudeEnabled ( void  ) const

§ isPitchEnabled()

bool openjaus::mobility::GlobalPoseRecord::isPitchEnabled ( void  ) const

§ isPositionRmsEnabled()

bool openjaus::mobility::GlobalPoseRecord::isPositionRmsEnabled ( void  ) const

§ isRollEnabled()

bool openjaus::mobility::GlobalPoseRecord::isRollEnabled ( void  ) const

§ isTimeStampEnabled()

bool openjaus::mobility::GlobalPoseRecord::isTimeStampEnabled ( void  ) const

§ isYawEnabled()

bool openjaus::mobility::GlobalPoseRecord::isYawEnabled ( void  ) const

§ length()

int openjaus::mobility::GlobalPoseRecord::length ( void  )
virtual

Reimplemented from openjaus::model::fields::Record.

§ setAltitude_m()

bool openjaus::mobility::GlobalPoseRecord::setAltitude_m ( double  value)

§ setAttitudeRms_rad()

bool openjaus::mobility::GlobalPoseRecord::setAttitudeRms_rad ( double  value)

§ setLatitude_deg()

bool openjaus::mobility::GlobalPoseRecord::setLatitude_deg ( double  value)

§ setLongitude_deg()

bool openjaus::mobility::GlobalPoseRecord::setLongitude_deg ( double  value)

§ setPitch_rad()

bool openjaus::mobility::GlobalPoseRecord::setPitch_rad ( double  value)

§ setPositionRms_m()

bool openjaus::mobility::GlobalPoseRecord::setPositionRms_m ( double  value)

§ setPresenceVector()

void openjaus::mobility::GlobalPoseRecord::setPresenceVector ( uint16_t  value)

§ setRoll_rad()

bool openjaus::mobility::GlobalPoseRecord::setRoll_rad ( double  value)

§ setYaw_rad()

bool openjaus::mobility::GlobalPoseRecord::setYaw_rad ( double  value)

§ to()

int openjaus::mobility::GlobalPoseRecord::to ( system::Buffer dst)
virtual
Parameters
dst

Reimplemented from openjaus::model::fields::Record.

§ toXml()

std::string openjaus::mobility::GlobalPoseRecord::toXml ( unsigned char  ojIndentLevel = 0) const

Member Data Documentation

§ altitude_m

JausAltitudeScaledInteger openjaus::mobility::GlobalPoseRecord::altitude_m
protected

§ attitudeRms_rad

OrientationRmsScaledInteger openjaus::mobility::GlobalPoseRecord::attitudeRms_rad
protected

§ latitude_deg

JausLatitudeScaledInteger openjaus::mobility::GlobalPoseRecord::latitude_deg
protected

§ longitude_deg

JausLongitudeScaledInteger openjaus::mobility::GlobalPoseRecord::longitude_deg
protected

§ pitch_rad

OrientationScaledInteger openjaus::mobility::GlobalPoseRecord::pitch_rad
protected

§ positionRms_m

LocalPositionRmsScaledInteger openjaus::mobility::GlobalPoseRecord::positionRms_m
protected

§ presenceVector

uint16_t openjaus::mobility::GlobalPoseRecord::presenceVector
protected

§ PV_ALL_FIELDS

const uint16_t openjaus::mobility::GlobalPoseRecord::PV_ALL_FIELDS = 0xFFFF
static

§ PV_ALTITUDE

const uint16_t openjaus::mobility::GlobalPoseRecord::PV_ALTITUDE = 0x4
static

§ PV_ATTITUDERMS

const uint16_t openjaus::mobility::GlobalPoseRecord::PV_ATTITUDERMS = 0x80
static

§ PV_LATITUDE

const uint16_t openjaus::mobility::GlobalPoseRecord::PV_LATITUDE = 0x1
static

§ PV_LONGITUDE

const uint16_t openjaus::mobility::GlobalPoseRecord::PV_LONGITUDE = 0x2
static

§ PV_NO_FIELDS

const uint16_t openjaus::mobility::GlobalPoseRecord::PV_NO_FIELDS = 0x0
static

§ PV_PITCH

const uint16_t openjaus::mobility::GlobalPoseRecord::PV_PITCH = 0x20
static

§ PV_POSITIONRMS

const uint16_t openjaus::mobility::GlobalPoseRecord::PV_POSITIONRMS = 0x8
static

§ PV_ROLL

const uint16_t openjaus::mobility::GlobalPoseRecord::PV_ROLL = 0x10
static

§ PV_TIMESTAMP

const uint16_t openjaus::mobility::GlobalPoseRecord::PV_TIMESTAMP = 0x100
static

§ PV_YAW

const uint16_t openjaus::mobility::GlobalPoseRecord::PV_YAW = 0x40
static

§ roll_rad

OrientationScaledInteger openjaus::mobility::GlobalPoseRecord::roll_rad
protected

§ timeStamp

model::fields::TimeStamp openjaus::mobility::GlobalPoseRecord::timeStamp
protected

§ yaw_rad

OrientationScaledInteger openjaus::mobility::GlobalPoseRecord::yaw_rad
protected

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