OpenJAUS Software Development Kit
4.3.1
|
#include <DieselEngineStatusRecord.h>
Inherits openjaus::model::fields::Record.
Public Member Functions | |
DieselEngineStatusRecord () | |
DieselEngineStatusRecord (const DieselEngineStatusRecord &source) | |
~DieselEngineStatusRecord () | |
void | copy (DieselEngineStatusRecord &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 (uint16_t value) |
uint16_t | getPresenceVector (void) const |
bool | isRemainingFuelEnabled (void) const |
void | enableRemainingFuel (void) |
void | disableRemainingFuel (void) |
bool | isOilPressureEnabled (void) const |
void | enableOilPressure (void) |
void | disableOilPressure (void) |
bool | isOilLevelEnabled (void) const |
void | enableOilLevel (void) |
void | disableOilLevel (void) |
bool | isOilTempEnabled (void) const |
void | enableOilTemp (void) |
void | disableOilTemp (void) |
bool | isEngineTempEnabled (void) const |
void | enableEngineTemp (void) |
void | disableEngineTemp (void) |
bool | isEngineHoursEnabled (void) const |
void | enableEngineHours (void) |
void | disableEngineHours (void) |
bool | isTachometer_rpmEnabled (void) const |
void | enableTachometer_rpm (void) |
void | disableTachometer_rpm (void) |
bool | isCoolantLevelEnabled (void) const |
void | enableCoolantLevel (void) |
void | disableCoolantLevel (void) |
bool | isCoolantTempEnabled (void) const |
void | enableCoolantTemp (void) |
void | disableCoolantTemp (void) |
bool | isAirIntakePressureEnabled (void) const |
void | enableAirIntakePressure (void) |
void | disableAirIntakePressure (void) |
bool | isAirIntakeTempEnabled (void) const |
void | enableAirIntakeTemp (void) |
void | disableAirIntakeTemp (void) |
bool | isExhaustTempEnabled (void) const |
void | enableExhaustTemp (void) |
void | disableExhaustTemp (void) |
bool | isGlowPlugTempEnabled (void) const |
void | enableGlowPlugTemp (void) |
void | disableGlowPlugTemp (void) |
double | getRemainingFuel_percent (void) |
bool | setRemainingFuel_percent (double value) |
double | getOilPressure_percent (void) |
bool | setOilPressure_percent (double value) |
double | getOilLevel_percent (void) |
bool | setOilLevel_percent (double value) |
double | getOilTemp_degC (void) |
bool | setOilTemp_degC (double value) |
double | getEngineTemp_degC (void) |
bool | setEngineTemp_degC (double value) |
uint32_t | getEngineHours_hour (void) |
bool | setEngineHours_hour (uint32_t value) |
uint16_t | getTachometer_rpm (void) |
bool | setTachometer_rpm (uint16_t value) |
double | getCoolantLevel_l (void) |
bool | setCoolantLevel_l (double value) |
double | getCoolantTemp_degC (void) |
bool | setCoolantTemp_degC (double value) |
double | getAirIntakePressure_bar (void) |
bool | setAirIntakePressure_bar (double value) |
double | getAirIntakeTemp_degC (void) |
bool | setAirIntakeTemp_degC (double value) |
double | getExhaustTemp_degC (void) |
bool | setExhaustTemp_degC (double value) |
double | getGlowPlugTemp_degC (void) |
bool | setGlowPlugTemp_degC (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 uint16_t | PV_ALL_FIELDS = 0xFFFF |
static const uint16_t | PV_NO_FIELDS = 0x0 |
static const uint16_t | PV_REMAININGFUEL = 0x1 |
static const uint16_t | PV_OILPRESSURE = 0x2 |
static const uint16_t | PV_OILLEVEL = 0x4 |
static const uint16_t | PV_OILTEMP = 0x8 |
static const uint16_t | PV_ENGINETEMP = 0x10 |
static const uint16_t | PV_ENGINEHOURS = 0x20 |
static const uint16_t | PV_TACHOMETER_RPM = 0x40 |
static const uint16_t | PV_COOLANTLEVEL = 0x80 |
static const uint16_t | PV_COOLANTTEMP = 0x100 |
static const uint16_t | PV_AIRINTAKEPRESSURE = 0x200 |
static const uint16_t | PV_AIRINTAKETEMP = 0x400 |
static const uint16_t | PV_EXHAUSTTEMP = 0x800 |
static const uint16_t | PV_GLOWPLUGTEMP = 0x1000 |
Protected Attributes | |
RemainingFuelScaledInteger | remainingFuel_percent |
OilPressureScaledInteger | oilPressure_percent |
OilLevelScaledInteger | oilLevel_percent |
OilTempScaledInteger | oilTemp_degC |
EngineTempScaledInteger | engineTemp_degC |
model::fields::UnsignedInteger | engineHours_hour |
model::fields::UnsignedShort | tachometer_rpm |
CoolantLevelScaledInteger | coolantLevel_l |
CoolantTempScaledInteger | coolantTemp_degC |
AirIntakePressureScaledInteger | airIntakePressure_bar |
AirIntakeTempScaledInteger | airIntakeTemp_degC |
ExhaustTempScaledInteger | exhaustTemp_degC |
GlowPlugTempScaledInteger | glowPlugTemp_degC |
uint16_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 |
openjaus::ugv::DieselEngineStatusRecord::DieselEngineStatusRecord | ( | ) |
openjaus::ugv::DieselEngineStatusRecord::DieselEngineStatusRecord | ( | const DieselEngineStatusRecord & | source | ) |
openjaus::ugv::DieselEngineStatusRecord::~DieselEngineStatusRecord | ( | ) |
void openjaus::ugv::DieselEngineStatusRecord::copy | ( | DieselEngineStatusRecord & | source | ) |
void openjaus::ugv::DieselEngineStatusRecord::disableAirIntakePressure | ( | void | ) |
void openjaus::ugv::DieselEngineStatusRecord::disableAirIntakeTemp | ( | void | ) |
void openjaus::ugv::DieselEngineStatusRecord::disableCoolantLevel | ( | void | ) |
void openjaus::ugv::DieselEngineStatusRecord::disableCoolantTemp | ( | void | ) |
void openjaus::ugv::DieselEngineStatusRecord::disableEngineHours | ( | void | ) |
void openjaus::ugv::DieselEngineStatusRecord::disableEngineTemp | ( | void | ) |
void openjaus::ugv::DieselEngineStatusRecord::disableExhaustTemp | ( | void | ) |
void openjaus::ugv::DieselEngineStatusRecord::disableGlowPlugTemp | ( | void | ) |
void openjaus::ugv::DieselEngineStatusRecord::disableOilLevel | ( | void | ) |
void openjaus::ugv::DieselEngineStatusRecord::disableOilPressure | ( | void | ) |
void openjaus::ugv::DieselEngineStatusRecord::disableOilTemp | ( | void | ) |
void openjaus::ugv::DieselEngineStatusRecord::disableRemainingFuel | ( | void | ) |
void openjaus::ugv::DieselEngineStatusRecord::disableTachometer_rpm | ( | void | ) |
void openjaus::ugv::DieselEngineStatusRecord::enableAirIntakePressure | ( | void | ) |
void openjaus::ugv::DieselEngineStatusRecord::enableAirIntakeTemp | ( | void | ) |
void openjaus::ugv::DieselEngineStatusRecord::enableCoolantLevel | ( | void | ) |
void openjaus::ugv::DieselEngineStatusRecord::enableCoolantTemp | ( | void | ) |
void openjaus::ugv::DieselEngineStatusRecord::enableEngineHours | ( | void | ) |
void openjaus::ugv::DieselEngineStatusRecord::enableEngineTemp | ( | void | ) |
void openjaus::ugv::DieselEngineStatusRecord::enableExhaustTemp | ( | void | ) |
void openjaus::ugv::DieselEngineStatusRecord::enableGlowPlugTemp | ( | void | ) |
void openjaus::ugv::DieselEngineStatusRecord::enableOilLevel | ( | void | ) |
void openjaus::ugv::DieselEngineStatusRecord::enableOilPressure | ( | void | ) |
void openjaus::ugv::DieselEngineStatusRecord::enableOilTemp | ( | void | ) |
void openjaus::ugv::DieselEngineStatusRecord::enableRemainingFuel | ( | void | ) |
void openjaus::ugv::DieselEngineStatusRecord::enableTachometer_rpm | ( | void | ) |
|
virtual |
src |
Reimplemented from openjaus::model::fields::Record.
double openjaus::ugv::DieselEngineStatusRecord::getAirIntakePressure_bar | ( | void | ) |
double openjaus::ugv::DieselEngineStatusRecord::getAirIntakeTemp_degC | ( | void | ) |
double openjaus::ugv::DieselEngineStatusRecord::getCoolantLevel_l | ( | void | ) |
double openjaus::ugv::DieselEngineStatusRecord::getCoolantTemp_degC | ( | void | ) |
uint32_t openjaus::ugv::DieselEngineStatusRecord::getEngineHours_hour | ( | void | ) |
double openjaus::ugv::DieselEngineStatusRecord::getEngineTemp_degC | ( | void | ) |
double openjaus::ugv::DieselEngineStatusRecord::getExhaustTemp_degC | ( | void | ) |
double openjaus::ugv::DieselEngineStatusRecord::getGlowPlugTemp_degC | ( | void | ) |
double openjaus::ugv::DieselEngineStatusRecord::getOilLevel_percent | ( | void | ) |
double openjaus::ugv::DieselEngineStatusRecord::getOilPressure_percent | ( | void | ) |
double openjaus::ugv::DieselEngineStatusRecord::getOilTemp_degC | ( | void | ) |
uint16_t openjaus::ugv::DieselEngineStatusRecord::getPresenceVector | ( | void | ) | const |
double openjaus::ugv::DieselEngineStatusRecord::getRemainingFuel_percent | ( | void | ) |
uint16_t openjaus::ugv::DieselEngineStatusRecord::getTachometer_rpm | ( | void | ) |
bool openjaus::ugv::DieselEngineStatusRecord::isAirIntakePressureEnabled | ( | void | ) | const |
bool openjaus::ugv::DieselEngineStatusRecord::isAirIntakeTempEnabled | ( | void | ) | const |
bool openjaus::ugv::DieselEngineStatusRecord::isCoolantLevelEnabled | ( | void | ) | const |
bool openjaus::ugv::DieselEngineStatusRecord::isCoolantTempEnabled | ( | void | ) | const |
bool openjaus::ugv::DieselEngineStatusRecord::isEngineHoursEnabled | ( | void | ) | const |
bool openjaus::ugv::DieselEngineStatusRecord::isEngineTempEnabled | ( | void | ) | const |
bool openjaus::ugv::DieselEngineStatusRecord::isExhaustTempEnabled | ( | void | ) | const |
bool openjaus::ugv::DieselEngineStatusRecord::isGlowPlugTempEnabled | ( | void | ) | const |
bool openjaus::ugv::DieselEngineStatusRecord::isOilLevelEnabled | ( | void | ) | const |
bool openjaus::ugv::DieselEngineStatusRecord::isOilPressureEnabled | ( | void | ) | const |
bool openjaus::ugv::DieselEngineStatusRecord::isOilTempEnabled | ( | void | ) | const |
bool openjaus::ugv::DieselEngineStatusRecord::isRemainingFuelEnabled | ( | void | ) | const |
bool openjaus::ugv::DieselEngineStatusRecord::isTachometer_rpmEnabled | ( | void | ) | const |
|
virtual |
Reimplemented from openjaus::model::fields::Record.
bool openjaus::ugv::DieselEngineStatusRecord::setAirIntakePressure_bar | ( | double | value | ) |
bool openjaus::ugv::DieselEngineStatusRecord::setAirIntakeTemp_degC | ( | double | value | ) |
bool openjaus::ugv::DieselEngineStatusRecord::setCoolantLevel_l | ( | double | value | ) |
bool openjaus::ugv::DieselEngineStatusRecord::setCoolantTemp_degC | ( | double | value | ) |
bool openjaus::ugv::DieselEngineStatusRecord::setEngineHours_hour | ( | uint32_t | value | ) |
bool openjaus::ugv::DieselEngineStatusRecord::setEngineTemp_degC | ( | double | value | ) |
bool openjaus::ugv::DieselEngineStatusRecord::setExhaustTemp_degC | ( | double | value | ) |
bool openjaus::ugv::DieselEngineStatusRecord::setGlowPlugTemp_degC | ( | double | value | ) |
bool openjaus::ugv::DieselEngineStatusRecord::setOilLevel_percent | ( | double | value | ) |
bool openjaus::ugv::DieselEngineStatusRecord::setOilPressure_percent | ( | double | value | ) |
bool openjaus::ugv::DieselEngineStatusRecord::setOilTemp_degC | ( | double | value | ) |
void openjaus::ugv::DieselEngineStatusRecord::setPresenceVector | ( | uint16_t | value | ) |
bool openjaus::ugv::DieselEngineStatusRecord::setRemainingFuel_percent | ( | double | value | ) |
bool openjaus::ugv::DieselEngineStatusRecord::setTachometer_rpm | ( | uint16_t | value | ) |
|
virtual |
dst |
Reimplemented from openjaus::model::fields::Record.
std::string openjaus::ugv::DieselEngineStatusRecord::toXml | ( | unsigned char | ojIndentLevel = 0 | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
protected |
|
protected |