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

#include <TransmissionBitField.h>

Inherits openjaus::model::fields::BitField.

Public Member Functions

 TransmissionBitField ()
 
 ~TransmissionBitField ()
 
bool setPARK (bool value)
 
bool getPARK (void) const
 
bool setNEUTRAL (bool value)
 
bool getNEUTRAL (void) const
 
bool setREVERSE (bool value)
 
bool getREVERSE (void) const
 
bool setDRIVE (bool value)
 
bool getDRIVE (void) const
 
bool setOVERDRIVE (bool value)
 
bool getOVERDRIVE (void) const
 
bool setL1 (bool value)
 
bool getL1 (void) const
 
bool setL2 (bool value)
 
bool getL2 (void) const
 
bool setL3 (bool value)
 
bool getL3 (void) const
 
bool setL4 (bool value)
 
bool getL4 (void) const
 
bool setL5 (bool value)
 
bool getL5 (void) const
 
bool setL6 (bool value)
 
bool getL6 (void) const
 
bool setL7 (bool value)
 
bool getL7 (void) const
 
bool setL8 (bool value)
 
bool getL8 (void) const
 
bool setL9 (bool value)
 
bool getL9 (void) const
 
bool setL10 (bool value)
 
bool getL10 (void) const
 
bool setReserved (bool value)
 
bool getReserved (void) const
 
uint16_t getIntegerValue (void) const
 
void setIntegerValue (uint16_t value)
 
virtual int to (system::Buffer *dst)
 Operation to. More...
 
virtual int from (system::Buffer *src)
 Operation from. More...
 
virtual int length ()
 Serializes object to internal transport buffer. More...
 
void copy (TransmissionBitField &source)
 
std::string toXml (unsigned char ojIndentLevel=0) const
 
- Public Member Functions inherited from openjaus::model::fields::BitField
 BitField ()
 
virtual ~BitField ()
 
long getDefaultValue () const
 Accessor to get the value of defaultValue. More...
 
bool setDefaultValue (long defaultValue)
 Accessor to set value of defaultValue. More...
 
uint64_t getValue () const
 Accessor to get the value of value. More...
 
bool setValue (uint64_t value)
 Accessor to set value of value. More...
 
TypesUnsigned getSize () const
 Accessor to get the value of size. More...
 
bool setSize (TypesUnsigned size)
 Accessor to set value of size. More...
 
const std::vector< BitFieldItem *> & getItems () const
 Accessor to get the value of items. More...
 
bool setItems (const BitFieldItem &items)
 Accessor to set value of items. 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 ()
 

Protected Attributes

bool pARK
 
bool nEUTRAL
 
bool rEVERSE
 
bool dRIVE
 
bool oVERDRIVE
 
bool l1
 
bool l2
 
bool l3
 
bool l4
 
bool l5
 
bool l6
 
bool l7
 
bool l8
 
bool l9
 
bool l10
 
bool reserved
 
- Protected Attributes inherited from openjaus::model::fields::BitField
long defaultValue
 
uint64_t value
 
TypesUnsigned size
 
std::vector< BitFieldItem *> items
 
- Protected Attributes inherited from openjaus::model::fields::Field
std::string name
 

Static Protected Attributes

static const long PARK_START_BIT = 0
 
static const long PARK_BIT_MASK = 0x1
 
static const long NEUTRAL_START_BIT = 1
 
static const long NEUTRAL_BIT_MASK = 0x1
 
static const long REVERSE_START_BIT = 2
 
static const long REVERSE_BIT_MASK = 0x1
 
static const long DRIVE_START_BIT = 3
 
static const long DRIVE_BIT_MASK = 0x1
 
static const long OVERDRIVE_START_BIT = 4
 
static const long OVERDRIVE_BIT_MASK = 0x1
 
static const long L1_START_BIT = 5
 
static const long L1_BIT_MASK = 0x1
 
static const long L2_START_BIT = 6
 
static const long L2_BIT_MASK = 0x1
 
static const long L3_START_BIT = 7
 
static const long L3_BIT_MASK = 0x1
 
static const long L4_START_BIT = 8
 
static const long L4_BIT_MASK = 0x1
 
static const long L5_START_BIT = 9
 
static const long L5_BIT_MASK = 0x1
 
static const long L6_START_BIT = 10
 
static const long L6_BIT_MASK = 0x1
 
static const long L7_START_BIT = 11
 
static const long L7_BIT_MASK = 0x1
 
static const long L8_START_BIT = 12
 
static const long L8_BIT_MASK = 0x1
 
static const long L9_START_BIT = 13
 
static const long L9_BIT_MASK = 0x1
 
static const long L10_START_BIT = 14
 
static const long L10_BIT_MASK = 0x1
 
static const long RESERVED_START_BIT = 15
 
static const long RESERVED_BIT_MASK = 0x1
 

Constructor & Destructor Documentation

§ TransmissionBitField()

openjaus::ugv::TransmissionBitField::TransmissionBitField ( )

§ ~TransmissionBitField()

openjaus::ugv::TransmissionBitField::~TransmissionBitField ( )

Member Function Documentation

§ copy()

void openjaus::ugv::TransmissionBitField::copy ( TransmissionBitField source)

§ from()

int openjaus::ugv::TransmissionBitField::from ( system::Buffer src)
virtual
Parameters
src

Reimplemented from openjaus::model::fields::BitField.

§ getDRIVE()

bool openjaus::ugv::TransmissionBitField::getDRIVE ( void  ) const

§ getIntegerValue()

uint16_t openjaus::ugv::TransmissionBitField::getIntegerValue ( void  ) const

§ getL1()

bool openjaus::ugv::TransmissionBitField::getL1 ( void  ) const

§ getL10()

bool openjaus::ugv::TransmissionBitField::getL10 ( void  ) const

§ getL2()

bool openjaus::ugv::TransmissionBitField::getL2 ( void  ) const

§ getL3()

bool openjaus::ugv::TransmissionBitField::getL3 ( void  ) const

§ getL4()

bool openjaus::ugv::TransmissionBitField::getL4 ( void  ) const

§ getL5()

bool openjaus::ugv::TransmissionBitField::getL5 ( void  ) const

§ getL6()

bool openjaus::ugv::TransmissionBitField::getL6 ( void  ) const

§ getL7()

bool openjaus::ugv::TransmissionBitField::getL7 ( void  ) const

§ getL8()

bool openjaus::ugv::TransmissionBitField::getL8 ( void  ) const

§ getL9()

bool openjaus::ugv::TransmissionBitField::getL9 ( void  ) const

§ getNEUTRAL()

bool openjaus::ugv::TransmissionBitField::getNEUTRAL ( void  ) const

§ getOVERDRIVE()

bool openjaus::ugv::TransmissionBitField::getOVERDRIVE ( void  ) const

§ getPARK()

bool openjaus::ugv::TransmissionBitField::getPARK ( void  ) const

§ getReserved()

bool openjaus::ugv::TransmissionBitField::getReserved ( void  ) const

§ getREVERSE()

bool openjaus::ugv::TransmissionBitField::getREVERSE ( void  ) const

§ length()

int openjaus::ugv::TransmissionBitField::length ( )
virtual

Reimplemented from openjaus::model::fields::BitField.

§ setDRIVE()

bool openjaus::ugv::TransmissionBitField::setDRIVE ( bool  value)

§ setIntegerValue()

void openjaus::ugv::TransmissionBitField::setIntegerValue ( uint16_t  value)

§ setL1()

bool openjaus::ugv::TransmissionBitField::setL1 ( bool  value)

§ setL10()

bool openjaus::ugv::TransmissionBitField::setL10 ( bool  value)

§ setL2()

bool openjaus::ugv::TransmissionBitField::setL2 ( bool  value)

§ setL3()

bool openjaus::ugv::TransmissionBitField::setL3 ( bool  value)

§ setL4()

bool openjaus::ugv::TransmissionBitField::setL4 ( bool  value)

§ setL5()

bool openjaus::ugv::TransmissionBitField::setL5 ( bool  value)

§ setL6()

bool openjaus::ugv::TransmissionBitField::setL6 ( bool  value)

§ setL7()

bool openjaus::ugv::TransmissionBitField::setL7 ( bool  value)

§ setL8()

bool openjaus::ugv::TransmissionBitField::setL8 ( bool  value)

§ setL9()

bool openjaus::ugv::TransmissionBitField::setL9 ( bool  value)

§ setNEUTRAL()

bool openjaus::ugv::TransmissionBitField::setNEUTRAL ( bool  value)

§ setOVERDRIVE()

bool openjaus::ugv::TransmissionBitField::setOVERDRIVE ( bool  value)

§ setPARK()

bool openjaus::ugv::TransmissionBitField::setPARK ( bool  value)

§ setReserved()

bool openjaus::ugv::TransmissionBitField::setReserved ( bool  value)

§ setREVERSE()

bool openjaus::ugv::TransmissionBitField::setREVERSE ( bool  value)

§ to()

int openjaus::ugv::TransmissionBitField::to ( system::Buffer dst)
virtual
Parameters
dst

Reimplemented from openjaus::model::fields::BitField.

§ toXml()

std::string openjaus::ugv::TransmissionBitField::toXml ( unsigned char  ojIndentLevel = 0) const

Member Data Documentation

§ dRIVE

bool openjaus::ugv::TransmissionBitField::dRIVE
protected

§ DRIVE_BIT_MASK

const long openjaus::ugv::TransmissionBitField::DRIVE_BIT_MASK = 0x1
staticprotected

§ DRIVE_START_BIT

const long openjaus::ugv::TransmissionBitField::DRIVE_START_BIT = 3
staticprotected

§ l1

bool openjaus::ugv::TransmissionBitField::l1
protected

§ l10

bool openjaus::ugv::TransmissionBitField::l10
protected

§ L10_BIT_MASK

const long openjaus::ugv::TransmissionBitField::L10_BIT_MASK = 0x1
staticprotected

§ L10_START_BIT

const long openjaus::ugv::TransmissionBitField::L10_START_BIT = 14
staticprotected

§ L1_BIT_MASK

const long openjaus::ugv::TransmissionBitField::L1_BIT_MASK = 0x1
staticprotected

§ L1_START_BIT

const long openjaus::ugv::TransmissionBitField::L1_START_BIT = 5
staticprotected

§ l2

bool openjaus::ugv::TransmissionBitField::l2
protected

§ L2_BIT_MASK

const long openjaus::ugv::TransmissionBitField::L2_BIT_MASK = 0x1
staticprotected

§ L2_START_BIT

const long openjaus::ugv::TransmissionBitField::L2_START_BIT = 6
staticprotected

§ l3

bool openjaus::ugv::TransmissionBitField::l3
protected

§ L3_BIT_MASK

const long openjaus::ugv::TransmissionBitField::L3_BIT_MASK = 0x1
staticprotected

§ L3_START_BIT

const long openjaus::ugv::TransmissionBitField::L3_START_BIT = 7
staticprotected

§ l4

bool openjaus::ugv::TransmissionBitField::l4
protected

§ L4_BIT_MASK

const long openjaus::ugv::TransmissionBitField::L4_BIT_MASK = 0x1
staticprotected

§ L4_START_BIT

const long openjaus::ugv::TransmissionBitField::L4_START_BIT = 8
staticprotected

§ l5

bool openjaus::ugv::TransmissionBitField::l5
protected

§ L5_BIT_MASK

const long openjaus::ugv::TransmissionBitField::L5_BIT_MASK = 0x1
staticprotected

§ L5_START_BIT

const long openjaus::ugv::TransmissionBitField::L5_START_BIT = 9
staticprotected

§ l6

bool openjaus::ugv::TransmissionBitField::l6
protected

§ L6_BIT_MASK

const long openjaus::ugv::TransmissionBitField::L6_BIT_MASK = 0x1
staticprotected

§ L6_START_BIT

const long openjaus::ugv::TransmissionBitField::L6_START_BIT = 10
staticprotected

§ l7

bool openjaus::ugv::TransmissionBitField::l7
protected

§ L7_BIT_MASK

const long openjaus::ugv::TransmissionBitField::L7_BIT_MASK = 0x1
staticprotected

§ L7_START_BIT

const long openjaus::ugv::TransmissionBitField::L7_START_BIT = 11
staticprotected

§ l8

bool openjaus::ugv::TransmissionBitField::l8
protected

§ L8_BIT_MASK

const long openjaus::ugv::TransmissionBitField::L8_BIT_MASK = 0x1
staticprotected

§ L8_START_BIT

const long openjaus::ugv::TransmissionBitField::L8_START_BIT = 12
staticprotected

§ l9

bool openjaus::ugv::TransmissionBitField::l9
protected

§ L9_BIT_MASK

const long openjaus::ugv::TransmissionBitField::L9_BIT_MASK = 0x1
staticprotected

§ L9_START_BIT

const long openjaus::ugv::TransmissionBitField::L9_START_BIT = 13
staticprotected

§ nEUTRAL

bool openjaus::ugv::TransmissionBitField::nEUTRAL
protected

§ NEUTRAL_BIT_MASK

const long openjaus::ugv::TransmissionBitField::NEUTRAL_BIT_MASK = 0x1
staticprotected

§ NEUTRAL_START_BIT

const long openjaus::ugv::TransmissionBitField::NEUTRAL_START_BIT = 1
staticprotected

§ oVERDRIVE

bool openjaus::ugv::TransmissionBitField::oVERDRIVE
protected

§ OVERDRIVE_BIT_MASK

const long openjaus::ugv::TransmissionBitField::OVERDRIVE_BIT_MASK = 0x1
staticprotected

§ OVERDRIVE_START_BIT

const long openjaus::ugv::TransmissionBitField::OVERDRIVE_START_BIT = 4
staticprotected

§ pARK

bool openjaus::ugv::TransmissionBitField::pARK
protected

§ PARK_BIT_MASK

const long openjaus::ugv::TransmissionBitField::PARK_BIT_MASK = 0x1
staticprotected

§ PARK_START_BIT

const long openjaus::ugv::TransmissionBitField::PARK_START_BIT = 0
staticprotected

§ reserved

bool openjaus::ugv::TransmissionBitField::reserved
protected

§ RESERVED_BIT_MASK

const long openjaus::ugv::TransmissionBitField::RESERVED_BIT_MASK = 0x1
staticprotected

§ RESERVED_START_BIT

const long openjaus::ugv::TransmissionBitField::RESERVED_START_BIT = 15
staticprotected

§ rEVERSE

bool openjaus::ugv::TransmissionBitField::rEVERSE
protected

§ REVERSE_BIT_MASK

const long openjaus::ugv::TransmissionBitField::REVERSE_BIT_MASK = 0x1
staticprotected

§ REVERSE_START_BIT

const long openjaus::ugv::TransmissionBitField::REVERSE_START_BIT = 2
staticprotected

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