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

#include <LocalPathSegmentRecord.h>

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

Public Member Functions

 LocalPathSegmentRecord ()
 
 LocalPathSegmentRecord (const LocalPathSegmentRecord &source)
 
 ~LocalPathSegmentRecord ()
 
void copy (LocalPathSegmentRecord &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 (uint8_t value)
 
uint8_t getPresenceVector (void) const
 
bool isP1ZEnabled (void) const
 
void enableP1Z (void)
 
void disableP1Z (void)
 
bool isP2ZEnabled (void) const
 
void enableP2Z (void)
 
void disableP2Z (void)
 
bool isPathToleranceEnabled (void) const
 
void enablePathTolerance (void)
 
void disablePathTolerance (void)
 
double getP1X_m (void)
 
bool setP1X_m (double value)
 
double getP1Y_m (void)
 
bool setP1Y_m (double value)
 
double getP1Z_m (void)
 
bool setP1Z_m (double value)
 
double getP2X_m (void)
 
bool setP2X_m (double value)
 
double getP2Y_m (void)
 
bool setP2Y_m (double value)
 
double getP2Z_m (void)
 
bool setP2Z_m (double value)
 
double getWeightingFactor (void)
 
bool setWeightingFactor (double value)
 
double getPathTolerance (void)
 
bool setPathTolerance (double value)
 
- 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 uint8_t PV_ALL_FIELDS = 0xFF
 
static const uint8_t PV_NO_FIELDS = 0x0
 
static const uint8_t PV_P1Z = 0x1
 
static const uint8_t PV_P2Z = 0x2
 
static const uint8_t PV_PATHTOLERANCE = 0x4
 

Protected Attributes

LocalPositionScaledInteger p1X_m
 
LocalPositionScaledInteger p1Y_m
 
JausAltitudeScaledInteger p1Z_m
 
LocalPositionScaledInteger p2X_m
 
LocalPositionScaledInteger p2Y_m
 
JausAltitudeScaledInteger p2Z_m
 
WeightingFactorRefScaledInteger weightingFactor
 
PathToleranceRefScaledInteger pathTolerance
 
uint8_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

§ LocalPathSegmentRecord() [1/2]

openjaus::mobility::LocalPathSegmentRecord::LocalPathSegmentRecord ( )

§ LocalPathSegmentRecord() [2/2]

openjaus::mobility::LocalPathSegmentRecord::LocalPathSegmentRecord ( const LocalPathSegmentRecord source)

§ ~LocalPathSegmentRecord()

openjaus::mobility::LocalPathSegmentRecord::~LocalPathSegmentRecord ( )

Member Function Documentation

§ copy()

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

§ disableP1Z()

void openjaus::mobility::LocalPathSegmentRecord::disableP1Z ( void  )

§ disableP2Z()

void openjaus::mobility::LocalPathSegmentRecord::disableP2Z ( void  )

§ disablePathTolerance()

void openjaus::mobility::LocalPathSegmentRecord::disablePathTolerance ( void  )

§ enableP1Z()

void openjaus::mobility::LocalPathSegmentRecord::enableP1Z ( void  )

§ enableP2Z()

void openjaus::mobility::LocalPathSegmentRecord::enableP2Z ( void  )

§ enablePathTolerance()

void openjaus::mobility::LocalPathSegmentRecord::enablePathTolerance ( void  )

§ from()

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

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

§ getP1X_m()

double openjaus::mobility::LocalPathSegmentRecord::getP1X_m ( void  )

§ getP1Y_m()

double openjaus::mobility::LocalPathSegmentRecord::getP1Y_m ( void  )

§ getP1Z_m()

double openjaus::mobility::LocalPathSegmentRecord::getP1Z_m ( void  )

§ getP2X_m()

double openjaus::mobility::LocalPathSegmentRecord::getP2X_m ( void  )

§ getP2Y_m()

double openjaus::mobility::LocalPathSegmentRecord::getP2Y_m ( void  )

§ getP2Z_m()

double openjaus::mobility::LocalPathSegmentRecord::getP2Z_m ( void  )

§ getPathTolerance()

double openjaus::mobility::LocalPathSegmentRecord::getPathTolerance ( void  )

§ getPresenceVector()

uint8_t openjaus::mobility::LocalPathSegmentRecord::getPresenceVector ( void  ) const

§ getWeightingFactor()

double openjaus::mobility::LocalPathSegmentRecord::getWeightingFactor ( void  )

§ isP1ZEnabled()

bool openjaus::mobility::LocalPathSegmentRecord::isP1ZEnabled ( void  ) const

§ isP2ZEnabled()

bool openjaus::mobility::LocalPathSegmentRecord::isP2ZEnabled ( void  ) const

§ isPathToleranceEnabled()

bool openjaus::mobility::LocalPathSegmentRecord::isPathToleranceEnabled ( void  ) const

§ length()

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

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

§ setP1X_m()

bool openjaus::mobility::LocalPathSegmentRecord::setP1X_m ( double  value)

§ setP1Y_m()

bool openjaus::mobility::LocalPathSegmentRecord::setP1Y_m ( double  value)

§ setP1Z_m()

bool openjaus::mobility::LocalPathSegmentRecord::setP1Z_m ( double  value)

§ setP2X_m()

bool openjaus::mobility::LocalPathSegmentRecord::setP2X_m ( double  value)

§ setP2Y_m()

bool openjaus::mobility::LocalPathSegmentRecord::setP2Y_m ( double  value)

§ setP2Z_m()

bool openjaus::mobility::LocalPathSegmentRecord::setP2Z_m ( double  value)

§ setPathTolerance()

bool openjaus::mobility::LocalPathSegmentRecord::setPathTolerance ( double  value)

§ setPresenceVector()

void openjaus::mobility::LocalPathSegmentRecord::setPresenceVector ( uint8_t  value)

§ setWeightingFactor()

bool openjaus::mobility::LocalPathSegmentRecord::setWeightingFactor ( double  value)

§ to()

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

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

§ toXml()

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

Member Data Documentation

§ p1X_m

LocalPositionScaledInteger openjaus::mobility::LocalPathSegmentRecord::p1X_m
protected

§ p1Y_m

LocalPositionScaledInteger openjaus::mobility::LocalPathSegmentRecord::p1Y_m
protected

§ p1Z_m

JausAltitudeScaledInteger openjaus::mobility::LocalPathSegmentRecord::p1Z_m
protected

§ p2X_m

LocalPositionScaledInteger openjaus::mobility::LocalPathSegmentRecord::p2X_m
protected

§ p2Y_m

LocalPositionScaledInteger openjaus::mobility::LocalPathSegmentRecord::p2Y_m
protected

§ p2Z_m

JausAltitudeScaledInteger openjaus::mobility::LocalPathSegmentRecord::p2Z_m
protected

§ pathTolerance

PathToleranceRefScaledInteger openjaus::mobility::LocalPathSegmentRecord::pathTolerance
protected

§ presenceVector

uint8_t openjaus::mobility::LocalPathSegmentRecord::presenceVector
protected

§ PV_ALL_FIELDS

const uint8_t openjaus::mobility::LocalPathSegmentRecord::PV_ALL_FIELDS = 0xFF
static

§ PV_NO_FIELDS

const uint8_t openjaus::mobility::LocalPathSegmentRecord::PV_NO_FIELDS = 0x0
static

§ PV_P1Z

const uint8_t openjaus::mobility::LocalPathSegmentRecord::PV_P1Z = 0x1
static

§ PV_P2Z

const uint8_t openjaus::mobility::LocalPathSegmentRecord::PV_P2Z = 0x2
static

§ PV_PATHTOLERANCE

const uint8_t openjaus::mobility::LocalPathSegmentRecord::PV_PATHTOLERANCE = 0x4
static

§ weightingFactor

WeightingFactorRefScaledInteger openjaus::mobility::LocalPathSegmentRecord::weightingFactor
protected

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