OpenJAUS Software Development Kit
4.3.1
|
#include <DieselEngineCapabilitiesRecord.h>
Inherits openjaus::model::fields::Record.
Public Member Functions | |
DieselEngineCapabilitiesRecord () | |
DieselEngineCapabilitiesRecord (const DieselEngineCapabilitiesRecord &source) | |
~DieselEngineCapabilitiesRecord () | |
void | copy (DieselEngineCapabilitiesRecord &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 | isFuelCapacityEnabled (void) const |
void | enableFuelCapacity (void) |
void | disableFuelCapacity (void) |
bool | isOilCapacityEnabled (void) const |
void | enableOilCapacity (void) |
void | disableOilCapacity (void) |
bool | isMaxOilPressureEnabled (void) const |
void | enableMaxOilPressure (void) |
void | disableMaxOilPressure (void) |
bool | isMaxOilTempEnabled (void) const |
void | enableMaxOilTemp (void) |
void | disableMaxOilTemp (void) |
bool | isMaxEngineTempEnabled (void) const |
void | enableMaxEngineTemp (void) |
void | disableMaxEngineTemp (void) |
bool | isMaxCoolantLevelEnabled (void) const |
void | enableMaxCoolantLevel (void) |
void | disableMaxCoolantLevel (void) |
bool | isMaxCoolantTempEnabled (void) const |
void | enableMaxCoolantTemp (void) |
void | disableMaxCoolantTemp (void) |
bool | isMaxGlowPlugTempEnabled (void) const |
void | enableMaxGlowPlugTemp (void) |
void | disableMaxGlowPlugTemp (void) |
bool | isGlowPlugTimeEnabled (void) const |
void | enableGlowPlugTime (void) |
void | disableGlowPlugTime (void) |
double | getFuelCapacity_l (void) |
bool | setFuelCapacity_l (double value) |
double | getOilCapacity_l (void) |
bool | setOilCapacity_l (double value) |
double | getMaxOilPressure_bar (void) |
bool | setMaxOilPressure_bar (double value) |
double | getMaxOilTemp_degC (void) |
bool | setMaxOilTemp_degC (double value) |
double | getMaxEngineTemp_degC (void) |
bool | setMaxEngineTemp_degC (double value) |
double | getMaxCoolantLevel_l (void) |
bool | setMaxCoolantLevel_l (double value) |
double | getMaxCoolantTemp_degC (void) |
bool | setMaxCoolantTemp_degC (double value) |
double | getMaxGlowPlugTemp_degC (void) |
bool | setMaxGlowPlugTemp_degC (double value) |
double | getGlowPlugTime_sec (void) |
bool | setGlowPlugTime_sec (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_FUELCAPACITY = 0x1 |
static const uint16_t | PV_OILCAPACITY = 0x2 |
static const uint16_t | PV_MAXOILPRESSURE = 0x4 |
static const uint16_t | PV_MAXOILTEMP = 0x8 |
static const uint16_t | PV_MAXENGINETEMP = 0x10 |
static const uint16_t | PV_MAXCOOLANTLEVEL = 0x20 |
static const uint16_t | PV_MAXCOOLANTTEMP = 0x40 |
static const uint16_t | PV_MAXGLOWPLUGTEMP = 0x80 |
static const uint16_t | PV_GLOWPLUGTIME = 0x100 |
Protected Attributes | |
FuelCapacityScaledInteger | fuelCapacity_l |
OilCapacityScaledInteger | oilCapacity_l |
MaxOilPressureScaledInteger | maxOilPressure_bar |
MaxOilTempScaledInteger | maxOilTemp_degC |
MaxEngineTempScaledInteger | maxEngineTemp_degC |
MaxCoolantLevelScaledInteger | maxCoolantLevel_l |
MaxCoolantTempScaledInteger | maxCoolantTemp_degC |
MaxGlowPlugTempScaledInteger | maxGlowPlugTemp_degC |
GlowPlugTimeScaledInteger | glowPlugTime_sec |
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::DieselEngineCapabilitiesRecord::DieselEngineCapabilitiesRecord | ( | ) |
openjaus::ugv::DieselEngineCapabilitiesRecord::DieselEngineCapabilitiesRecord | ( | const DieselEngineCapabilitiesRecord & | source | ) |
openjaus::ugv::DieselEngineCapabilitiesRecord::~DieselEngineCapabilitiesRecord | ( | ) |
void openjaus::ugv::DieselEngineCapabilitiesRecord::copy | ( | DieselEngineCapabilitiesRecord & | source | ) |
void openjaus::ugv::DieselEngineCapabilitiesRecord::disableFuelCapacity | ( | void | ) |
void openjaus::ugv::DieselEngineCapabilitiesRecord::disableGlowPlugTime | ( | void | ) |
void openjaus::ugv::DieselEngineCapabilitiesRecord::disableMaxCoolantLevel | ( | void | ) |
void openjaus::ugv::DieselEngineCapabilitiesRecord::disableMaxCoolantTemp | ( | void | ) |
void openjaus::ugv::DieselEngineCapabilitiesRecord::disableMaxEngineTemp | ( | void | ) |
void openjaus::ugv::DieselEngineCapabilitiesRecord::disableMaxGlowPlugTemp | ( | void | ) |
void openjaus::ugv::DieselEngineCapabilitiesRecord::disableMaxOilPressure | ( | void | ) |
void openjaus::ugv::DieselEngineCapabilitiesRecord::disableMaxOilTemp | ( | void | ) |
void openjaus::ugv::DieselEngineCapabilitiesRecord::disableOilCapacity | ( | void | ) |
void openjaus::ugv::DieselEngineCapabilitiesRecord::enableFuelCapacity | ( | void | ) |
void openjaus::ugv::DieselEngineCapabilitiesRecord::enableGlowPlugTime | ( | void | ) |
void openjaus::ugv::DieselEngineCapabilitiesRecord::enableMaxCoolantLevel | ( | void | ) |
void openjaus::ugv::DieselEngineCapabilitiesRecord::enableMaxCoolantTemp | ( | void | ) |
void openjaus::ugv::DieselEngineCapabilitiesRecord::enableMaxEngineTemp | ( | void | ) |
void openjaus::ugv::DieselEngineCapabilitiesRecord::enableMaxGlowPlugTemp | ( | void | ) |
void openjaus::ugv::DieselEngineCapabilitiesRecord::enableMaxOilPressure | ( | void | ) |
void openjaus::ugv::DieselEngineCapabilitiesRecord::enableMaxOilTemp | ( | void | ) |
void openjaus::ugv::DieselEngineCapabilitiesRecord::enableOilCapacity | ( | void | ) |
|
virtual |
src |
Reimplemented from openjaus::model::fields::Record.
double openjaus::ugv::DieselEngineCapabilitiesRecord::getFuelCapacity_l | ( | void | ) |
double openjaus::ugv::DieselEngineCapabilitiesRecord::getGlowPlugTime_sec | ( | void | ) |
double openjaus::ugv::DieselEngineCapabilitiesRecord::getMaxCoolantLevel_l | ( | void | ) |
double openjaus::ugv::DieselEngineCapabilitiesRecord::getMaxCoolantTemp_degC | ( | void | ) |
double openjaus::ugv::DieselEngineCapabilitiesRecord::getMaxEngineTemp_degC | ( | void | ) |
double openjaus::ugv::DieselEngineCapabilitiesRecord::getMaxGlowPlugTemp_degC | ( | void | ) |
double openjaus::ugv::DieselEngineCapabilitiesRecord::getMaxOilPressure_bar | ( | void | ) |
double openjaus::ugv::DieselEngineCapabilitiesRecord::getMaxOilTemp_degC | ( | void | ) |
double openjaus::ugv::DieselEngineCapabilitiesRecord::getOilCapacity_l | ( | void | ) |
uint16_t openjaus::ugv::DieselEngineCapabilitiesRecord::getPresenceVector | ( | void | ) | const |
bool openjaus::ugv::DieselEngineCapabilitiesRecord::isFuelCapacityEnabled | ( | void | ) | const |
bool openjaus::ugv::DieselEngineCapabilitiesRecord::isGlowPlugTimeEnabled | ( | void | ) | const |
bool openjaus::ugv::DieselEngineCapabilitiesRecord::isMaxCoolantLevelEnabled | ( | void | ) | const |
bool openjaus::ugv::DieselEngineCapabilitiesRecord::isMaxCoolantTempEnabled | ( | void | ) | const |
bool openjaus::ugv::DieselEngineCapabilitiesRecord::isMaxEngineTempEnabled | ( | void | ) | const |
bool openjaus::ugv::DieselEngineCapabilitiesRecord::isMaxGlowPlugTempEnabled | ( | void | ) | const |
bool openjaus::ugv::DieselEngineCapabilitiesRecord::isMaxOilPressureEnabled | ( | void | ) | const |
bool openjaus::ugv::DieselEngineCapabilitiesRecord::isMaxOilTempEnabled | ( | void | ) | const |
bool openjaus::ugv::DieselEngineCapabilitiesRecord::isOilCapacityEnabled | ( | void | ) | const |
|
virtual |
Reimplemented from openjaus::model::fields::Record.
bool openjaus::ugv::DieselEngineCapabilitiesRecord::setFuelCapacity_l | ( | double | value | ) |
bool openjaus::ugv::DieselEngineCapabilitiesRecord::setGlowPlugTime_sec | ( | double | value | ) |
bool openjaus::ugv::DieselEngineCapabilitiesRecord::setMaxCoolantLevel_l | ( | double | value | ) |
bool openjaus::ugv::DieselEngineCapabilitiesRecord::setMaxCoolantTemp_degC | ( | double | value | ) |
bool openjaus::ugv::DieselEngineCapabilitiesRecord::setMaxEngineTemp_degC | ( | double | value | ) |
bool openjaus::ugv::DieselEngineCapabilitiesRecord::setMaxGlowPlugTemp_degC | ( | double | value | ) |
bool openjaus::ugv::DieselEngineCapabilitiesRecord::setMaxOilPressure_bar | ( | double | value | ) |
bool openjaus::ugv::DieselEngineCapabilitiesRecord::setMaxOilTemp_degC | ( | double | value | ) |
bool openjaus::ugv::DieselEngineCapabilitiesRecord::setOilCapacity_l | ( | double | value | ) |
void openjaus::ugv::DieselEngineCapabilitiesRecord::setPresenceVector | ( | uint16_t | value | ) |
|
virtual |
dst |
Reimplemented from openjaus::model::fields::Record.
std::string openjaus::ugv::DieselEngineCapabilitiesRecord::toXml | ( | unsigned char | ojIndentLevel = 0 | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |