OpenJAUS SAE SDK
6.0.0
|
#include <DieselEngineStatusRecord.h>
Inherits openjaus::model::fields::Record.
Public Member Functions | |
DieselEngineStatusRecord () | |
DieselEngineStatusRecord (const DieselEngineStatusRecord &source) | |
~DieselEngineStatusRecord () | |
void | copy (DieselEngineStatusRecord &source) |
virtual uint64 | to (system::BufferWriter &dst) const |
Serializes the contents of this object into the Buffer connected to the provided BufferWriter. More... | |
virtual uint64 | from (system::BufferReader &src) |
Deserializes the contents the Buffer connected to the provided BufferReader into this object. More... | |
virtual uint64 | length (void) const |
Gets the serialized length of this object. 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 | |
Transportable () | |
virtual | ~Transportable () |
Static Public Attributes | |
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 |
static const uint16_t | PV_ALL_FIELDS = PV_NO_FIELDS | PV_REMAININGFUEL | PV_OILPRESSURE | PV_OILLEVEL | PV_OILTEMP | PV_ENGINETEMP | PV_ENGINEHOURS | PV_TACHOMETER_RPM | PV_COOLANTLEVEL | PV_COOLANTTEMP | PV_AIRINTAKEPRESSURE | PV_AIRINTAKETEMP | PV_EXHAUSTTEMP | PV_GLOWPLUGTEMP |
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_v1_0::DieselEngineStatusRecord::DieselEngineStatusRecord | ( | ) |
openjaus::ugv_v1_0::DieselEngineStatusRecord::DieselEngineStatusRecord | ( | const DieselEngineStatusRecord & | source | ) |
openjaus::ugv_v1_0::DieselEngineStatusRecord::~DieselEngineStatusRecord | ( | ) |
void openjaus::ugv_v1_0::DieselEngineStatusRecord::copy | ( | DieselEngineStatusRecord & | source | ) |
void openjaus::ugv_v1_0::DieselEngineStatusRecord::disableAirIntakePressure | ( | void | ) |
void openjaus::ugv_v1_0::DieselEngineStatusRecord::disableAirIntakeTemp | ( | void | ) |
void openjaus::ugv_v1_0::DieselEngineStatusRecord::disableCoolantLevel | ( | void | ) |
void openjaus::ugv_v1_0::DieselEngineStatusRecord::disableCoolantTemp | ( | void | ) |
void openjaus::ugv_v1_0::DieselEngineStatusRecord::disableEngineHours | ( | void | ) |
void openjaus::ugv_v1_0::DieselEngineStatusRecord::disableEngineTemp | ( | void | ) |
void openjaus::ugv_v1_0::DieselEngineStatusRecord::disableExhaustTemp | ( | void | ) |
void openjaus::ugv_v1_0::DieselEngineStatusRecord::disableGlowPlugTemp | ( | void | ) |
void openjaus::ugv_v1_0::DieselEngineStatusRecord::disableOilLevel | ( | void | ) |
void openjaus::ugv_v1_0::DieselEngineStatusRecord::disableOilPressure | ( | void | ) |
void openjaus::ugv_v1_0::DieselEngineStatusRecord::disableOilTemp | ( | void | ) |
void openjaus::ugv_v1_0::DieselEngineStatusRecord::disableRemainingFuel | ( | void | ) |
void openjaus::ugv_v1_0::DieselEngineStatusRecord::disableTachometer_rpm | ( | void | ) |
void openjaus::ugv_v1_0::DieselEngineStatusRecord::enableAirIntakePressure | ( | void | ) |
void openjaus::ugv_v1_0::DieselEngineStatusRecord::enableAirIntakeTemp | ( | void | ) |
void openjaus::ugv_v1_0::DieselEngineStatusRecord::enableCoolantLevel | ( | void | ) |
void openjaus::ugv_v1_0::DieselEngineStatusRecord::enableCoolantTemp | ( | void | ) |
void openjaus::ugv_v1_0::DieselEngineStatusRecord::enableEngineHours | ( | void | ) |
void openjaus::ugv_v1_0::DieselEngineStatusRecord::enableEngineTemp | ( | void | ) |
void openjaus::ugv_v1_0::DieselEngineStatusRecord::enableExhaustTemp | ( | void | ) |
void openjaus::ugv_v1_0::DieselEngineStatusRecord::enableGlowPlugTemp | ( | void | ) |
void openjaus::ugv_v1_0::DieselEngineStatusRecord::enableOilLevel | ( | void | ) |
void openjaus::ugv_v1_0::DieselEngineStatusRecord::enableOilPressure | ( | void | ) |
void openjaus::ugv_v1_0::DieselEngineStatusRecord::enableOilTemp | ( | void | ) |
void openjaus::ugv_v1_0::DieselEngineStatusRecord::enableRemainingFuel | ( | void | ) |
void openjaus::ugv_v1_0::DieselEngineStatusRecord::enableTachometer_rpm | ( | void | ) |
|
virtual |
Deserializes the contents the Buffer connected to the provided BufferReader into this object. The BufferReader position will be advanced inside this method such that calling from() again will attempt to read the next Transportable object from the Buffer.
src |
Reimplemented from openjaus::model::fields::Record.
double openjaus::ugv_v1_0::DieselEngineStatusRecord::getAirIntakePressure_bar | ( | void | ) |
double openjaus::ugv_v1_0::DieselEngineStatusRecord::getAirIntakeTemp_degC | ( | void | ) |
double openjaus::ugv_v1_0::DieselEngineStatusRecord::getCoolantLevel_l | ( | void | ) |
double openjaus::ugv_v1_0::DieselEngineStatusRecord::getCoolantTemp_degC | ( | void | ) |
uint32_t openjaus::ugv_v1_0::DieselEngineStatusRecord::getEngineHours_hour | ( | void | ) |
double openjaus::ugv_v1_0::DieselEngineStatusRecord::getEngineTemp_degC | ( | void | ) |
double openjaus::ugv_v1_0::DieselEngineStatusRecord::getExhaustTemp_degC | ( | void | ) |
double openjaus::ugv_v1_0::DieselEngineStatusRecord::getGlowPlugTemp_degC | ( | void | ) |
double openjaus::ugv_v1_0::DieselEngineStatusRecord::getOilLevel_percent | ( | void | ) |
double openjaus::ugv_v1_0::DieselEngineStatusRecord::getOilPressure_percent | ( | void | ) |
double openjaus::ugv_v1_0::DieselEngineStatusRecord::getOilTemp_degC | ( | void | ) |
uint16_t openjaus::ugv_v1_0::DieselEngineStatusRecord::getPresenceVector | ( | void | ) | const |
double openjaus::ugv_v1_0::DieselEngineStatusRecord::getRemainingFuel_percent | ( | void | ) |
uint16_t openjaus::ugv_v1_0::DieselEngineStatusRecord::getTachometer_rpm | ( | void | ) |
bool openjaus::ugv_v1_0::DieselEngineStatusRecord::isAirIntakePressureEnabled | ( | void | ) | const |
bool openjaus::ugv_v1_0::DieselEngineStatusRecord::isAirIntakeTempEnabled | ( | void | ) | const |
bool openjaus::ugv_v1_0::DieselEngineStatusRecord::isCoolantLevelEnabled | ( | void | ) | const |
bool openjaus::ugv_v1_0::DieselEngineStatusRecord::isCoolantTempEnabled | ( | void | ) | const |
bool openjaus::ugv_v1_0::DieselEngineStatusRecord::isEngineHoursEnabled | ( | void | ) | const |
bool openjaus::ugv_v1_0::DieselEngineStatusRecord::isEngineTempEnabled | ( | void | ) | const |
bool openjaus::ugv_v1_0::DieselEngineStatusRecord::isExhaustTempEnabled | ( | void | ) | const |
bool openjaus::ugv_v1_0::DieselEngineStatusRecord::isGlowPlugTempEnabled | ( | void | ) | const |
bool openjaus::ugv_v1_0::DieselEngineStatusRecord::isOilLevelEnabled | ( | void | ) | const |
bool openjaus::ugv_v1_0::DieselEngineStatusRecord::isOilPressureEnabled | ( | void | ) | const |
bool openjaus::ugv_v1_0::DieselEngineStatusRecord::isOilTempEnabled | ( | void | ) | const |
bool openjaus::ugv_v1_0::DieselEngineStatusRecord::isRemainingFuelEnabled | ( | void | ) | const |
bool openjaus::ugv_v1_0::DieselEngineStatusRecord::isTachometer_rpmEnabled | ( | void | ) | const |
|
virtual |
Reimplemented from openjaus::model::fields::Record.
bool openjaus::ugv_v1_0::DieselEngineStatusRecord::setAirIntakePressure_bar | ( | double | value | ) |
bool openjaus::ugv_v1_0::DieselEngineStatusRecord::setAirIntakeTemp_degC | ( | double | value | ) |
bool openjaus::ugv_v1_0::DieselEngineStatusRecord::setCoolantLevel_l | ( | double | value | ) |
bool openjaus::ugv_v1_0::DieselEngineStatusRecord::setCoolantTemp_degC | ( | double | value | ) |
bool openjaus::ugv_v1_0::DieselEngineStatusRecord::setEngineHours_hour | ( | uint32_t | value | ) |
bool openjaus::ugv_v1_0::DieselEngineStatusRecord::setEngineTemp_degC | ( | double | value | ) |
bool openjaus::ugv_v1_0::DieselEngineStatusRecord::setExhaustTemp_degC | ( | double | value | ) |
bool openjaus::ugv_v1_0::DieselEngineStatusRecord::setGlowPlugTemp_degC | ( | double | value | ) |
bool openjaus::ugv_v1_0::DieselEngineStatusRecord::setOilLevel_percent | ( | double | value | ) |
bool openjaus::ugv_v1_0::DieselEngineStatusRecord::setOilPressure_percent | ( | double | value | ) |
bool openjaus::ugv_v1_0::DieselEngineStatusRecord::setOilTemp_degC | ( | double | value | ) |
void openjaus::ugv_v1_0::DieselEngineStatusRecord::setPresenceVector | ( | uint16_t | value | ) |
bool openjaus::ugv_v1_0::DieselEngineStatusRecord::setRemainingFuel_percent | ( | double | value | ) |
bool openjaus::ugv_v1_0::DieselEngineStatusRecord::setTachometer_rpm | ( | uint16_t | value | ) |
|
virtual |
Serializes the contents of this object into the Buffer connected to the provided BufferWriter. The BufferWriter position will be advanced inside this method such that calling to() again will write the Transportable object into the Buffer a second time.
dst |
Reimplemented from openjaus::model::fields::Record.
std::string openjaus::ugv_v1_0::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 |