OpenJAUS Software Development Kit
4.3.1
|
#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 |
openjaus::ugv::IlluminationTypesEnumBitField::IlluminationTypesEnumBitField | ( | ) |
openjaus::ugv::IlluminationTypesEnumBitField::~IlluminationTypesEnumBitField | ( | ) |
void openjaus::ugv::IlluminationTypesEnumBitField::copy | ( | IlluminationTypesEnumBitField & | source | ) |
|
virtual |
src |
Reimplemented from openjaus::model::fields::BitField.
bool openjaus::ugv::IlluminationTypesEnumBitField::getBackupLights | ( | void | ) | const |
bool openjaus::ugv::IlluminationTypesEnumBitField::getBrakeLights | ( | void | ) | const |
bool openjaus::ugv::IlluminationTypesEnumBitField::getFogLights | ( | void | ) | const |
bool openjaus::ugv::IlluminationTypesEnumBitField::getHazardLights | ( | void | ) | const |
bool openjaus::ugv::IlluminationTypesEnumBitField::getHeadlights | ( | void | ) | const |
bool openjaus::ugv::IlluminationTypesEnumBitField::getHighBeams | ( | void | ) | const |
uint32_t openjaus::ugv::IlluminationTypesEnumBitField::getIntegerValue | ( | void | ) | const |
bool openjaus::ugv::IlluminationTypesEnumBitField::getIRLightSource | ( | void | ) | const |
bool openjaus::ugv::IlluminationTypesEnumBitField::getLeftTurnSignal | ( | void | ) | const |
bool openjaus::ugv::IlluminationTypesEnumBitField::getParkingLights | ( | void | ) | const |
bool openjaus::ugv::IlluminationTypesEnumBitField::getRightTurnSignal | ( | void | ) | const |
bool openjaus::ugv::IlluminationTypesEnumBitField::getRunningLights | ( | void | ) | const |
long openjaus::ugv::IlluminationTypesEnumBitField::getVariableLight1 | ( | void | ) | const |
long openjaus::ugv::IlluminationTypesEnumBitField::getVariableLight2 | ( | void | ) | const |
long openjaus::ugv::IlluminationTypesEnumBitField::getVariableLight3 | ( | void | ) | const |
long openjaus::ugv::IlluminationTypesEnumBitField::getVariableLight4 | ( | void | ) | const |
bool openjaus::ugv::IlluminationTypesEnumBitField::getVisibleLightSource | ( | void | ) | const |
|
virtual |
Reimplemented from openjaus::model::fields::BitField.
bool openjaus::ugv::IlluminationTypesEnumBitField::setBackupLights | ( | bool | value | ) |
bool openjaus::ugv::IlluminationTypesEnumBitField::setBrakeLights | ( | bool | value | ) |
bool openjaus::ugv::IlluminationTypesEnumBitField::setFogLights | ( | bool | value | ) |
bool openjaus::ugv::IlluminationTypesEnumBitField::setHazardLights | ( | bool | value | ) |
bool openjaus::ugv::IlluminationTypesEnumBitField::setHeadlights | ( | bool | value | ) |
bool openjaus::ugv::IlluminationTypesEnumBitField::setHighBeams | ( | bool | value | ) |
void openjaus::ugv::IlluminationTypesEnumBitField::setIntegerValue | ( | uint32_t | value | ) |
bool openjaus::ugv::IlluminationTypesEnumBitField::setIRLightSource | ( | bool | value | ) |
bool openjaus::ugv::IlluminationTypesEnumBitField::setLeftTurnSignal | ( | bool | value | ) |
bool openjaus::ugv::IlluminationTypesEnumBitField::setParkingLights | ( | bool | value | ) |
bool openjaus::ugv::IlluminationTypesEnumBitField::setRightTurnSignal | ( | bool | value | ) |
bool openjaus::ugv::IlluminationTypesEnumBitField::setRunningLights | ( | bool | value | ) |
bool openjaus::ugv::IlluminationTypesEnumBitField::setVariableLight1 | ( | long | value | ) |
bool openjaus::ugv::IlluminationTypesEnumBitField::setVariableLight2 | ( | long | value | ) |
bool openjaus::ugv::IlluminationTypesEnumBitField::setVariableLight3 | ( | long | value | ) |
bool openjaus::ugv::IlluminationTypesEnumBitField::setVariableLight4 | ( | long | value | ) |
bool openjaus::ugv::IlluminationTypesEnumBitField::setVisibleLightSource | ( | bool | value | ) |
|
virtual |
dst |
Reimplemented from openjaus::model::fields::BitField.
std::string openjaus::ugv::IlluminationTypesEnumBitField::toXml | ( | unsigned char | ojIndentLevel = 0 | ) | const |
|
protected |
|
staticprotected |
|
staticprotected |
|
protected |
|
staticprotected |
|
staticprotected |
|
protected |
|
staticprotected |
|
staticprotected |
|
protected |
|
staticprotected |
|
staticprotected |
|
protected |
|
staticprotected |
|
staticprotected |
|
protected |
|
staticprotected |
|
staticprotected |
|
protected |
|
staticprotected |
|
staticprotected |
|
protected |
|
staticprotected |
|
staticprotected |
|
protected |
|
staticprotected |
|
staticprotected |
|
protected |
|
staticprotected |
|
staticprotected |
|
protected |
|
staticprotected |
|
staticprotected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
staticprotected |
|
staticprotected |