Public Member Functions | Protected Types | Protected Attributes

openjaus::mobility::VelocityCommandRecord Class Reference

#include <VelocityCommandRecord.h>

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

List of all members.

Public Member Functions

 VelocityCommandRecord ()
 VelocityCommandRecord (const VelocityCommandRecord &source)
 ~VelocityCommandRecord ()
void copy (VelocityCommandRecord &source)
virtual int to (system::Buffer *dst)
 Operation to.
virtual int from (system::Buffer *src)
 Operation from.
virtual int length (void)
 Serializes object to internal transport buffer.
std::string toXml (unsigned char level=0) const
void setPresenceVector (uint8_t value)
uint8_t getPresenceVector (void) const
bool isVelocityXEnabled (void) const
void enableVelocityX (void)
void disableVelocityX (void)
bool isVelocityYEnabled (void) const
void enableVelocityY (void)
void disableVelocityY (void)
bool isVelocityZEnabled (void) const
void enableVelocityZ (void)
void disableVelocityZ (void)
bool isRollRateEnabled (void) const
void enableRollRate (void)
void disableRollRate (void)
bool isPitchRateEnabled (void) const
void enablePitchRate (void)
void disablePitchRate (void)
bool isYawRateEnabled (void) const
void enableYawRate (void)
void disableYawRate (void)
VelocityCommandTypeEnumeration::VelocityCommandTypeEnum getCommandType (void)
void setCommandType (VelocityCommandTypeEnumeration::VelocityCommandTypeEnum value)
double getVelocityX_mps (void)
void setVelocityX_mps (double value)
double getVelocityY_mps (void)
void setVelocityY_mps (double value)
double getVelocityZ_mps (void)
void setVelocityZ_mps (double value)
double getRollRate_rps (void)
void setRollRate_rps (double value)
double getPitchRate_rps (void)
void setPitchRate_rps (double value)
double getYawRate_rps (void)
void setYawRate_rps (double value)

Protected Types

enum  pvEnum {
  VELOCITYX_MPS = 0, VELOCITYY_MPS = 1, VELOCITYZ_MPS = 2, ROLLRATE_RPS = 3,
  PITCHRATE_RPS = 4, YAWRATE_RPS = 5
}

Protected Attributes

VelocityCommandTypeEnumeration commandType
LinearVelocityScaledInteger velocityX_mps
LinearVelocityScaledInteger velocityY_mps
LinearVelocityScaledInteger velocityZ_mps
AngularVelocityScaledInteger rollRate_rps
AngularVelocityScaledInteger pitchRate_rps
AngularVelocityScaledInteger yawRate_rps
uint8_t presenceVector

Member Enumeration Documentation

Enumerator:
VELOCITYX_MPS 
VELOCITYY_MPS 
VELOCITYZ_MPS 
ROLLRATE_RPS 
PITCHRATE_RPS 
YAWRATE_RPS 

Constructor & Destructor Documentation

openjaus::mobility::VelocityCommandRecord::VelocityCommandRecord (  ) 
openjaus::mobility::VelocityCommandRecord::VelocityCommandRecord ( const VelocityCommandRecord source  ) 
openjaus::mobility::VelocityCommandRecord::~VelocityCommandRecord (  ) 

Member Function Documentation

void openjaus::mobility::VelocityCommandRecord::copy ( VelocityCommandRecord source  ) 
void openjaus::mobility::VelocityCommandRecord::disablePitchRate ( void   ) 
void openjaus::mobility::VelocityCommandRecord::disableRollRate ( void   ) 
void openjaus::mobility::VelocityCommandRecord::disableVelocityX ( void   ) 
void openjaus::mobility::VelocityCommandRecord::disableVelocityY ( void   ) 
void openjaus::mobility::VelocityCommandRecord::disableVelocityZ ( void   ) 
void openjaus::mobility::VelocityCommandRecord::disableYawRate ( void   ) 
void openjaus::mobility::VelocityCommandRecord::enablePitchRate ( void   ) 
void openjaus::mobility::VelocityCommandRecord::enableRollRate ( void   ) 
void openjaus::mobility::VelocityCommandRecord::enableVelocityX ( void   ) 
void openjaus::mobility::VelocityCommandRecord::enableVelocityY ( void   ) 
void openjaus::mobility::VelocityCommandRecord::enableVelocityZ ( void   ) 
void openjaus::mobility::VelocityCommandRecord::enableYawRate ( void   ) 
int openjaus::mobility::VelocityCommandRecord::from ( system::Buffer src  )  [virtual]
Parameters:
src 

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

VelocityCommandTypeEnumeration::VelocityCommandTypeEnum openjaus::mobility::VelocityCommandRecord::getCommandType ( void   ) 
double openjaus::mobility::VelocityCommandRecord::getPitchRate_rps ( void   ) 
uint8_t openjaus::mobility::VelocityCommandRecord::getPresenceVector ( void   )  const
double openjaus::mobility::VelocityCommandRecord::getRollRate_rps ( void   ) 
double openjaus::mobility::VelocityCommandRecord::getVelocityX_mps ( void   ) 
double openjaus::mobility::VelocityCommandRecord::getVelocityY_mps ( void   ) 
double openjaus::mobility::VelocityCommandRecord::getVelocityZ_mps ( void   ) 
double openjaus::mobility::VelocityCommandRecord::getYawRate_rps ( void   ) 
bool openjaus::mobility::VelocityCommandRecord::isPitchRateEnabled ( void   )  const
bool openjaus::mobility::VelocityCommandRecord::isRollRateEnabled ( void   )  const
bool openjaus::mobility::VelocityCommandRecord::isVelocityXEnabled ( void   )  const
bool openjaus::mobility::VelocityCommandRecord::isVelocityYEnabled ( void   )  const
bool openjaus::mobility::VelocityCommandRecord::isVelocityZEnabled ( void   )  const
bool openjaus::mobility::VelocityCommandRecord::isYawRateEnabled ( void   )  const
int openjaus::mobility::VelocityCommandRecord::length ( void   )  [virtual]

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

void openjaus::mobility::VelocityCommandRecord::setCommandType ( VelocityCommandTypeEnumeration::VelocityCommandTypeEnum  value  ) 
void openjaus::mobility::VelocityCommandRecord::setPitchRate_rps ( double  value  ) 
void openjaus::mobility::VelocityCommandRecord::setPresenceVector ( uint8_t  value  ) 
void openjaus::mobility::VelocityCommandRecord::setRollRate_rps ( double  value  ) 
void openjaus::mobility::VelocityCommandRecord::setVelocityX_mps ( double  value  ) 
void openjaus::mobility::VelocityCommandRecord::setVelocityY_mps ( double  value  ) 
void openjaus::mobility::VelocityCommandRecord::setVelocityZ_mps ( double  value  ) 
void openjaus::mobility::VelocityCommandRecord::setYawRate_rps ( double  value  ) 
int openjaus::mobility::VelocityCommandRecord::to ( system::Buffer dst  )  [virtual]
Parameters:
dst 

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

std::string openjaus::mobility::VelocityCommandRecord::toXml ( unsigned char  level = 0  )  const

Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines