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

#include <IlluminationTypesEnumBitField.h>

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

Public Member Functions

 IlluminationTypesEnumBitField ()
 
 ~IlluminationTypesEnumBitField ()
 
bool setHeadlights (bool value)
 
bool getHeadlights (void) const
 
bool setLeftTurnSignal (bool value)
 
bool getLeftTurnSignal (void) const
 
bool setRightTurnSignal (bool value)
 
bool getRightTurnSignal (void) const
 
bool setRunningLights (bool value)
 
bool getRunningLights (void) const
 
bool setBrakeLights (bool value)
 
bool getBrakeLights (void) const
 
bool setBackupLights (bool value)
 
bool getBackupLights (void) const
 
bool setVisibleLightSource (bool value)
 
bool getVisibleLightSource (void) const
 
bool setIRLightSource (bool value)
 
bool getIRLightSource (void) const
 
bool setHighBeams (bool value)
 
bool getHighBeams (void) const
 
bool setParkingLights (bool value)
 
bool getParkingLights (void) const
 
bool setFogLights (bool value)
 
bool getFogLights (void) const
 
bool setHazardLights (bool value)
 
bool getHazardLights (void) const
 
bool setVariableLight3 (long value)
 
long getVariableLight3 (void) const
 
bool setVariableLight4 (long value)
 
long getVariableLight4 (void) const
 
bool setVariableLight1 (long value)
 
long getVariableLight1 (void) const
 
bool setVariableLight2 (long value)
 
long getVariableLight2 (void) const
 
uint32_t getIntegerValue (void) const
 
void setIntegerValue (uint32_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 (IlluminationTypesEnumBitField &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

long variableLight3
 
long variableLight4
 
bool headlights
 
bool leftTurnSignal
 
bool rightTurnSignal
 
bool runningLights
 
bool brakeLights
 
bool backupLights
 
bool visibleLightSource
 
bool iRLightSource
 
long variableLight1
 
long variableLight2
 
bool highBeams
 
bool parkingLights
 
bool fogLights
 
bool hazardLights
 
- 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 VARIABLELIGHT3_START_BIT = 16
 
static const long VARIABLELIGHT3_BIT_MASK = 0xF
 
static const long VARIABLELIGHT4_START_BIT = 20
 
static const long VARIABLELIGHT4_BIT_MASK = 0xF
 
static const long HEADLIGHTS_START_BIT = 0
 
static const long HEADLIGHTS_BIT_MASK = 0x1
 
static const long LEFTTURNSIGNAL_START_BIT = 1
 
static const long LEFTTURNSIGNAL_BIT_MASK = 0x1
 
static const long RIGHTTURNSIGNAL_START_BIT = 2
 
static const long RIGHTTURNSIGNAL_BIT_MASK = 0x1
 
static const long RUNNINGLIGHTS_START_BIT = 3
 
static const long RUNNINGLIGHTS_BIT_MASK = 0x1
 
static const long BRAKELIGHTS_START_BIT = 4
 
static const long BRAKELIGHTS_BIT_MASK = 0x1
 
static const long BACKUPLIGHTS_START_BIT = 5
 
static const long BACKUPLIGHTS_BIT_MASK = 0x1
 
static const long VISIBLELIGHTSOURCE_START_BIT = 6
 
static const long VISIBLELIGHTSOURCE_BIT_MASK = 0x1
 
static const long IRLIGHTSOURCE_START_BIT = 7
 
static const long IRLIGHTSOURCE_BIT_MASK = 0x1
 
static const long VARIABLELIGHT1_START_BIT = 8
 
static const long VARIABLELIGHT1_BIT_MASK = 0xF
 
static const long VARIABLELIGHT2_START_BIT = 12
 
static const long VARIABLELIGHT2_BIT_MASK = 0xF
 
static const long HIGHBEAMS_START_BIT = 24
 
static const long HIGHBEAMS_BIT_MASK = 0x1
 
static const long PARKINGLIGHTS_START_BIT = 25
 
static const long PARKINGLIGHTS_BIT_MASK = 0x1
 
static const long FOGLIGHTS_START_BIT = 26
 
static const long FOGLIGHTS_BIT_MASK = 0x1
 
static const long HAZARDLIGHTS_START_BIT = 27
 
static const long HAZARDLIGHTS_BIT_MASK = 0x1
 
static const long VARIABLELIGHT3_MIN_VALUE = 0
 
static const long VARIABLELIGHT3_MAX_VALUE = 15
 
static const long VARIABLELIGHT4_MIN_VALUE = 0
 
static const long VARIABLELIGHT4_MAX_VALUE = 15
 
static const long VARIABLELIGHT1_MIN_VALUE = 0
 
static const long VARIABLELIGHT1_MAX_VALUE = 15
 
static const long VARIABLELIGHT2_MIN_VALUE = 0
 
static const long VARIABLELIGHT2_MAX_VALUE = 15
 

Constructor & Destructor Documentation

§ IlluminationTypesEnumBitField()

openjaus::ugv::IlluminationTypesEnumBitField::IlluminationTypesEnumBitField ( )

§ ~IlluminationTypesEnumBitField()

openjaus::ugv::IlluminationTypesEnumBitField::~IlluminationTypesEnumBitField ( )

Member Function Documentation

§ copy()

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

§ from()

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

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

§ getBackupLights()

bool openjaus::ugv::IlluminationTypesEnumBitField::getBackupLights ( void  ) const

§ getBrakeLights()

bool openjaus::ugv::IlluminationTypesEnumBitField::getBrakeLights ( void  ) const

§ getFogLights()

bool openjaus::ugv::IlluminationTypesEnumBitField::getFogLights ( void  ) const

§ getHazardLights()

bool openjaus::ugv::IlluminationTypesEnumBitField::getHazardLights ( void  ) const

§ getHeadlights()

bool openjaus::ugv::IlluminationTypesEnumBitField::getHeadlights ( void  ) const

§ getHighBeams()

bool openjaus::ugv::IlluminationTypesEnumBitField::getHighBeams ( void  ) const

§ getIntegerValue()

uint32_t openjaus::ugv::IlluminationTypesEnumBitField::getIntegerValue ( void  ) const

§ getIRLightSource()

bool openjaus::ugv::IlluminationTypesEnumBitField::getIRLightSource ( void  ) const

§ getLeftTurnSignal()

bool openjaus::ugv::IlluminationTypesEnumBitField::getLeftTurnSignal ( void  ) const

§ getParkingLights()

bool openjaus::ugv::IlluminationTypesEnumBitField::getParkingLights ( void  ) const

§ getRightTurnSignal()

bool openjaus::ugv::IlluminationTypesEnumBitField::getRightTurnSignal ( void  ) const

§ getRunningLights()

bool openjaus::ugv::IlluminationTypesEnumBitField::getRunningLights ( void  ) const

§ getVariableLight1()

long openjaus::ugv::IlluminationTypesEnumBitField::getVariableLight1 ( void  ) const

§ getVariableLight2()

long openjaus::ugv::IlluminationTypesEnumBitField::getVariableLight2 ( void  ) const

§ getVariableLight3()

long openjaus::ugv::IlluminationTypesEnumBitField::getVariableLight3 ( void  ) const

§ getVariableLight4()

long openjaus::ugv::IlluminationTypesEnumBitField::getVariableLight4 ( void  ) const

§ getVisibleLightSource()

bool openjaus::ugv::IlluminationTypesEnumBitField::getVisibleLightSource ( void  ) const

§ length()

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

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

§ setBackupLights()

bool openjaus::ugv::IlluminationTypesEnumBitField::setBackupLights ( bool  value)

§ setBrakeLights()

bool openjaus::ugv::IlluminationTypesEnumBitField::setBrakeLights ( bool  value)

§ setFogLights()

bool openjaus::ugv::IlluminationTypesEnumBitField::setFogLights ( bool  value)

§ setHazardLights()

bool openjaus::ugv::IlluminationTypesEnumBitField::setHazardLights ( bool  value)

§ setHeadlights()

bool openjaus::ugv::IlluminationTypesEnumBitField::setHeadlights ( bool  value)

§ setHighBeams()

bool openjaus::ugv::IlluminationTypesEnumBitField::setHighBeams ( bool  value)

§ setIntegerValue()

void openjaus::ugv::IlluminationTypesEnumBitField::setIntegerValue ( uint32_t  value)

§ setIRLightSource()

bool openjaus::ugv::IlluminationTypesEnumBitField::setIRLightSource ( bool  value)

§ setLeftTurnSignal()

bool openjaus::ugv::IlluminationTypesEnumBitField::setLeftTurnSignal ( bool  value)

§ setParkingLights()

bool openjaus::ugv::IlluminationTypesEnumBitField::setParkingLights ( bool  value)

§ setRightTurnSignal()

bool openjaus::ugv::IlluminationTypesEnumBitField::setRightTurnSignal ( bool  value)

§ setRunningLights()

bool openjaus::ugv::IlluminationTypesEnumBitField::setRunningLights ( bool  value)

§ setVariableLight1()

bool openjaus::ugv::IlluminationTypesEnumBitField::setVariableLight1 ( long  value)

§ setVariableLight2()

bool openjaus::ugv::IlluminationTypesEnumBitField::setVariableLight2 ( long  value)

§ setVariableLight3()

bool openjaus::ugv::IlluminationTypesEnumBitField::setVariableLight3 ( long  value)

§ setVariableLight4()

bool openjaus::ugv::IlluminationTypesEnumBitField::setVariableLight4 ( long  value)

§ setVisibleLightSource()

bool openjaus::ugv::IlluminationTypesEnumBitField::setVisibleLightSource ( bool  value)

§ to()

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

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

§ toXml()

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

Member Data Documentation

§ backupLights

bool openjaus::ugv::IlluminationTypesEnumBitField::backupLights
protected

§ BACKUPLIGHTS_BIT_MASK

const long openjaus::ugv::IlluminationTypesEnumBitField::BACKUPLIGHTS_BIT_MASK = 0x1
staticprotected

§ BACKUPLIGHTS_START_BIT

const long openjaus::ugv::IlluminationTypesEnumBitField::BACKUPLIGHTS_START_BIT = 5
staticprotected

§ brakeLights

bool openjaus::ugv::IlluminationTypesEnumBitField::brakeLights
protected

§ BRAKELIGHTS_BIT_MASK

const long openjaus::ugv::IlluminationTypesEnumBitField::BRAKELIGHTS_BIT_MASK = 0x1
staticprotected

§ BRAKELIGHTS_START_BIT

const long openjaus::ugv::IlluminationTypesEnumBitField::BRAKELIGHTS_START_BIT = 4
staticprotected

§ fogLights

bool openjaus::ugv::IlluminationTypesEnumBitField::fogLights
protected

§ FOGLIGHTS_BIT_MASK

const long openjaus::ugv::IlluminationTypesEnumBitField::FOGLIGHTS_BIT_MASK = 0x1
staticprotected

§ FOGLIGHTS_START_BIT

const long openjaus::ugv::IlluminationTypesEnumBitField::FOGLIGHTS_START_BIT = 26
staticprotected

§ hazardLights

bool openjaus::ugv::IlluminationTypesEnumBitField::hazardLights
protected

§ HAZARDLIGHTS_BIT_MASK

const long openjaus::ugv::IlluminationTypesEnumBitField::HAZARDLIGHTS_BIT_MASK = 0x1
staticprotected

§ HAZARDLIGHTS_START_BIT

const long openjaus::ugv::IlluminationTypesEnumBitField::HAZARDLIGHTS_START_BIT = 27
staticprotected

§ headlights

bool openjaus::ugv::IlluminationTypesEnumBitField::headlights
protected

§ HEADLIGHTS_BIT_MASK

const long openjaus::ugv::IlluminationTypesEnumBitField::HEADLIGHTS_BIT_MASK = 0x1
staticprotected

§ HEADLIGHTS_START_BIT

const long openjaus::ugv::IlluminationTypesEnumBitField::HEADLIGHTS_START_BIT = 0
staticprotected

§ highBeams

bool openjaus::ugv::IlluminationTypesEnumBitField::highBeams
protected

§ HIGHBEAMS_BIT_MASK

const long openjaus::ugv::IlluminationTypesEnumBitField::HIGHBEAMS_BIT_MASK = 0x1
staticprotected

§ HIGHBEAMS_START_BIT

const long openjaus::ugv::IlluminationTypesEnumBitField::HIGHBEAMS_START_BIT = 24
staticprotected

§ iRLightSource

bool openjaus::ugv::IlluminationTypesEnumBitField::iRLightSource
protected

§ IRLIGHTSOURCE_BIT_MASK

const long openjaus::ugv::IlluminationTypesEnumBitField::IRLIGHTSOURCE_BIT_MASK = 0x1
staticprotected

§ IRLIGHTSOURCE_START_BIT

const long openjaus::ugv::IlluminationTypesEnumBitField::IRLIGHTSOURCE_START_BIT = 7
staticprotected

§ leftTurnSignal

bool openjaus::ugv::IlluminationTypesEnumBitField::leftTurnSignal
protected

§ LEFTTURNSIGNAL_BIT_MASK

const long openjaus::ugv::IlluminationTypesEnumBitField::LEFTTURNSIGNAL_BIT_MASK = 0x1
staticprotected

§ LEFTTURNSIGNAL_START_BIT

const long openjaus::ugv::IlluminationTypesEnumBitField::LEFTTURNSIGNAL_START_BIT = 1
staticprotected

§ parkingLights

bool openjaus::ugv::IlluminationTypesEnumBitField::parkingLights
protected

§ PARKINGLIGHTS_BIT_MASK

const long openjaus::ugv::IlluminationTypesEnumBitField::PARKINGLIGHTS_BIT_MASK = 0x1
staticprotected

§ PARKINGLIGHTS_START_BIT

const long openjaus::ugv::IlluminationTypesEnumBitField::PARKINGLIGHTS_START_BIT = 25
staticprotected

§ rightTurnSignal

bool openjaus::ugv::IlluminationTypesEnumBitField::rightTurnSignal
protected

§ RIGHTTURNSIGNAL_BIT_MASK

const long openjaus::ugv::IlluminationTypesEnumBitField::RIGHTTURNSIGNAL_BIT_MASK = 0x1
staticprotected

§ RIGHTTURNSIGNAL_START_BIT

const long openjaus::ugv::IlluminationTypesEnumBitField::RIGHTTURNSIGNAL_START_BIT = 2
staticprotected

§ runningLights

bool openjaus::ugv::IlluminationTypesEnumBitField::runningLights
protected

§ RUNNINGLIGHTS_BIT_MASK

const long openjaus::ugv::IlluminationTypesEnumBitField::RUNNINGLIGHTS_BIT_MASK = 0x1
staticprotected

§ RUNNINGLIGHTS_START_BIT

const long openjaus::ugv::IlluminationTypesEnumBitField::RUNNINGLIGHTS_START_BIT = 3
staticprotected

§ variableLight1

long openjaus::ugv::IlluminationTypesEnumBitField::variableLight1
protected

§ VARIABLELIGHT1_BIT_MASK

const long openjaus::ugv::IlluminationTypesEnumBitField::VARIABLELIGHT1_BIT_MASK = 0xF
staticprotected

§ VARIABLELIGHT1_MAX_VALUE

const long openjaus::ugv::IlluminationTypesEnumBitField::VARIABLELIGHT1_MAX_VALUE = 15
staticprotected

§ VARIABLELIGHT1_MIN_VALUE

const long openjaus::ugv::IlluminationTypesEnumBitField::VARIABLELIGHT1_MIN_VALUE = 0
staticprotected

§ VARIABLELIGHT1_START_BIT

const long openjaus::ugv::IlluminationTypesEnumBitField::VARIABLELIGHT1_START_BIT = 8
staticprotected

§ variableLight2

long openjaus::ugv::IlluminationTypesEnumBitField::variableLight2
protected

§ VARIABLELIGHT2_BIT_MASK

const long openjaus::ugv::IlluminationTypesEnumBitField::VARIABLELIGHT2_BIT_MASK = 0xF
staticprotected

§ VARIABLELIGHT2_MAX_VALUE

const long openjaus::ugv::IlluminationTypesEnumBitField::VARIABLELIGHT2_MAX_VALUE = 15
staticprotected

§ VARIABLELIGHT2_MIN_VALUE

const long openjaus::ugv::IlluminationTypesEnumBitField::VARIABLELIGHT2_MIN_VALUE = 0
staticprotected

§ VARIABLELIGHT2_START_BIT

const long openjaus::ugv::IlluminationTypesEnumBitField::VARIABLELIGHT2_START_BIT = 12
staticprotected

§ variableLight3

long openjaus::ugv::IlluminationTypesEnumBitField::variableLight3
protected

§ VARIABLELIGHT3_BIT_MASK

const long openjaus::ugv::IlluminationTypesEnumBitField::VARIABLELIGHT3_BIT_MASK = 0xF
staticprotected

§ VARIABLELIGHT3_MAX_VALUE

const long openjaus::ugv::IlluminationTypesEnumBitField::VARIABLELIGHT3_MAX_VALUE = 15
staticprotected

§ VARIABLELIGHT3_MIN_VALUE

const long openjaus::ugv::IlluminationTypesEnumBitField::VARIABLELIGHT3_MIN_VALUE = 0
staticprotected

§ VARIABLELIGHT3_START_BIT

const long openjaus::ugv::IlluminationTypesEnumBitField::VARIABLELIGHT3_START_BIT = 16
staticprotected

§ variableLight4

long openjaus::ugv::IlluminationTypesEnumBitField::variableLight4
protected

§ VARIABLELIGHT4_BIT_MASK

const long openjaus::ugv::IlluminationTypesEnumBitField::VARIABLELIGHT4_BIT_MASK = 0xF
staticprotected

§ VARIABLELIGHT4_MAX_VALUE

const long openjaus::ugv::IlluminationTypesEnumBitField::VARIABLELIGHT4_MAX_VALUE = 15
staticprotected

§ VARIABLELIGHT4_MIN_VALUE

const long openjaus::ugv::IlluminationTypesEnumBitField::VARIABLELIGHT4_MIN_VALUE = 0
staticprotected

§ VARIABLELIGHT4_START_BIT

const long openjaus::ugv::IlluminationTypesEnumBitField::VARIABLELIGHT4_START_BIT = 20
staticprotected

§ visibleLightSource

bool openjaus::ugv::IlluminationTypesEnumBitField::visibleLightSource
protected

§ VISIBLELIGHTSOURCE_BIT_MASK

const long openjaus::ugv::IlluminationTypesEnumBitField::VISIBLELIGHTSOURCE_BIT_MASK = 0x1
staticprotected

§ VISIBLELIGHTSOURCE_START_BIT

const long openjaus::ugv::IlluminationTypesEnumBitField::VISIBLELIGHTSOURCE_START_BIT = 6
staticprotected

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