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

#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
 

Constructor & Destructor Documentation

§ DieselEngineStatusRecord() [1/2]

openjaus::ugv::DieselEngineStatusRecord::DieselEngineStatusRecord ( )

§ DieselEngineStatusRecord() [2/2]

openjaus::ugv::DieselEngineStatusRecord::DieselEngineStatusRecord ( const DieselEngineStatusRecord source)

§ ~DieselEngineStatusRecord()

openjaus::ugv::DieselEngineStatusRecord::~DieselEngineStatusRecord ( )

Member Function Documentation

§ copy()

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

§ disableAirIntakePressure()

void openjaus::ugv::DieselEngineStatusRecord::disableAirIntakePressure ( void  )

§ disableAirIntakeTemp()

void openjaus::ugv::DieselEngineStatusRecord::disableAirIntakeTemp ( void  )

§ disableCoolantLevel()

void openjaus::ugv::DieselEngineStatusRecord::disableCoolantLevel ( void  )

§ disableCoolantTemp()

void openjaus::ugv::DieselEngineStatusRecord::disableCoolantTemp ( void  )

§ disableEngineHours()

void openjaus::ugv::DieselEngineStatusRecord::disableEngineHours ( void  )

§ disableEngineTemp()

void openjaus::ugv::DieselEngineStatusRecord::disableEngineTemp ( void  )

§ disableExhaustTemp()

void openjaus::ugv::DieselEngineStatusRecord::disableExhaustTemp ( void  )

§ disableGlowPlugTemp()

void openjaus::ugv::DieselEngineStatusRecord::disableGlowPlugTemp ( void  )

§ disableOilLevel()

void openjaus::ugv::DieselEngineStatusRecord::disableOilLevel ( void  )

§ disableOilPressure()

void openjaus::ugv::DieselEngineStatusRecord::disableOilPressure ( void  )

§ disableOilTemp()

void openjaus::ugv::DieselEngineStatusRecord::disableOilTemp ( void  )

§ disableRemainingFuel()

void openjaus::ugv::DieselEngineStatusRecord::disableRemainingFuel ( void  )

§ disableTachometer_rpm()

void openjaus::ugv::DieselEngineStatusRecord::disableTachometer_rpm ( void  )

§ enableAirIntakePressure()

void openjaus::ugv::DieselEngineStatusRecord::enableAirIntakePressure ( void  )

§ enableAirIntakeTemp()

void openjaus::ugv::DieselEngineStatusRecord::enableAirIntakeTemp ( void  )

§ enableCoolantLevel()

void openjaus::ugv::DieselEngineStatusRecord::enableCoolantLevel ( void  )

§ enableCoolantTemp()

void openjaus::ugv::DieselEngineStatusRecord::enableCoolantTemp ( void  )

§ enableEngineHours()

void openjaus::ugv::DieselEngineStatusRecord::enableEngineHours ( void  )

§ enableEngineTemp()

void openjaus::ugv::DieselEngineStatusRecord::enableEngineTemp ( void  )

§ enableExhaustTemp()

void openjaus::ugv::DieselEngineStatusRecord::enableExhaustTemp ( void  )

§ enableGlowPlugTemp()

void openjaus::ugv::DieselEngineStatusRecord::enableGlowPlugTemp ( void  )

§ enableOilLevel()

void openjaus::ugv::DieselEngineStatusRecord::enableOilLevel ( void  )

§ enableOilPressure()

void openjaus::ugv::DieselEngineStatusRecord::enableOilPressure ( void  )

§ enableOilTemp()

void openjaus::ugv::DieselEngineStatusRecord::enableOilTemp ( void  )

§ enableRemainingFuel()

void openjaus::ugv::DieselEngineStatusRecord::enableRemainingFuel ( void  )

§ enableTachometer_rpm()

void openjaus::ugv::DieselEngineStatusRecord::enableTachometer_rpm ( void  )

§ from()

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

Reimplemented from openjaus::model::fields::Record.

§ getAirIntakePressure_bar()

double openjaus::ugv::DieselEngineStatusRecord::getAirIntakePressure_bar ( void  )

§ getAirIntakeTemp_degC()

double openjaus::ugv::DieselEngineStatusRecord::getAirIntakeTemp_degC ( void  )

§ getCoolantLevel_l()

double openjaus::ugv::DieselEngineStatusRecord::getCoolantLevel_l ( void  )

§ getCoolantTemp_degC()

double openjaus::ugv::DieselEngineStatusRecord::getCoolantTemp_degC ( void  )

§ getEngineHours_hour()

uint32_t openjaus::ugv::DieselEngineStatusRecord::getEngineHours_hour ( void  )

§ getEngineTemp_degC()

double openjaus::ugv::DieselEngineStatusRecord::getEngineTemp_degC ( void  )

§ getExhaustTemp_degC()

double openjaus::ugv::DieselEngineStatusRecord::getExhaustTemp_degC ( void  )

§ getGlowPlugTemp_degC()

double openjaus::ugv::DieselEngineStatusRecord::getGlowPlugTemp_degC ( void  )

§ getOilLevel_percent()

double openjaus::ugv::DieselEngineStatusRecord::getOilLevel_percent ( void  )

§ getOilPressure_percent()

double openjaus::ugv::DieselEngineStatusRecord::getOilPressure_percent ( void  )

§ getOilTemp_degC()

double openjaus::ugv::DieselEngineStatusRecord::getOilTemp_degC ( void  )

§ getPresenceVector()

uint16_t openjaus::ugv::DieselEngineStatusRecord::getPresenceVector ( void  ) const

§ getRemainingFuel_percent()

double openjaus::ugv::DieselEngineStatusRecord::getRemainingFuel_percent ( void  )

§ getTachometer_rpm()

uint16_t openjaus::ugv::DieselEngineStatusRecord::getTachometer_rpm ( void  )

§ isAirIntakePressureEnabled()

bool openjaus::ugv::DieselEngineStatusRecord::isAirIntakePressureEnabled ( void  ) const

§ isAirIntakeTempEnabled()

bool openjaus::ugv::DieselEngineStatusRecord::isAirIntakeTempEnabled ( void  ) const

§ isCoolantLevelEnabled()

bool openjaus::ugv::DieselEngineStatusRecord::isCoolantLevelEnabled ( void  ) const

§ isCoolantTempEnabled()

bool openjaus::ugv::DieselEngineStatusRecord::isCoolantTempEnabled ( void  ) const

§ isEngineHoursEnabled()

bool openjaus::ugv::DieselEngineStatusRecord::isEngineHoursEnabled ( void  ) const

§ isEngineTempEnabled()

bool openjaus::ugv::DieselEngineStatusRecord::isEngineTempEnabled ( void  ) const

§ isExhaustTempEnabled()

bool openjaus::ugv::DieselEngineStatusRecord::isExhaustTempEnabled ( void  ) const

§ isGlowPlugTempEnabled()

bool openjaus::ugv::DieselEngineStatusRecord::isGlowPlugTempEnabled ( void  ) const

§ isOilLevelEnabled()

bool openjaus::ugv::DieselEngineStatusRecord::isOilLevelEnabled ( void  ) const

§ isOilPressureEnabled()

bool openjaus::ugv::DieselEngineStatusRecord::isOilPressureEnabled ( void  ) const

§ isOilTempEnabled()

bool openjaus::ugv::DieselEngineStatusRecord::isOilTempEnabled ( void  ) const

§ isRemainingFuelEnabled()

bool openjaus::ugv::DieselEngineStatusRecord::isRemainingFuelEnabled ( void  ) const

§ isTachometer_rpmEnabled()

bool openjaus::ugv::DieselEngineStatusRecord::isTachometer_rpmEnabled ( void  ) const

§ length()

int openjaus::ugv::DieselEngineStatusRecord::length ( void  )
virtual

Reimplemented from openjaus::model::fields::Record.

§ setAirIntakePressure_bar()

bool openjaus::ugv::DieselEngineStatusRecord::setAirIntakePressure_bar ( double  value)

§ setAirIntakeTemp_degC()

bool openjaus::ugv::DieselEngineStatusRecord::setAirIntakeTemp_degC ( double  value)

§ setCoolantLevel_l()

bool openjaus::ugv::DieselEngineStatusRecord::setCoolantLevel_l ( double  value)

§ setCoolantTemp_degC()

bool openjaus::ugv::DieselEngineStatusRecord::setCoolantTemp_degC ( double  value)

§ setEngineHours_hour()

bool openjaus::ugv::DieselEngineStatusRecord::setEngineHours_hour ( uint32_t  value)

§ setEngineTemp_degC()

bool openjaus::ugv::DieselEngineStatusRecord::setEngineTemp_degC ( double  value)

§ setExhaustTemp_degC()

bool openjaus::ugv::DieselEngineStatusRecord::setExhaustTemp_degC ( double  value)

§ setGlowPlugTemp_degC()

bool openjaus::ugv::DieselEngineStatusRecord::setGlowPlugTemp_degC ( double  value)

§ setOilLevel_percent()

bool openjaus::ugv::DieselEngineStatusRecord::setOilLevel_percent ( double  value)

§ setOilPressure_percent()

bool openjaus::ugv::DieselEngineStatusRecord::setOilPressure_percent ( double  value)

§ setOilTemp_degC()

bool openjaus::ugv::DieselEngineStatusRecord::setOilTemp_degC ( double  value)

§ setPresenceVector()

void openjaus::ugv::DieselEngineStatusRecord::setPresenceVector ( uint16_t  value)

§ setRemainingFuel_percent()

bool openjaus::ugv::DieselEngineStatusRecord::setRemainingFuel_percent ( double  value)

§ setTachometer_rpm()

bool openjaus::ugv::DieselEngineStatusRecord::setTachometer_rpm ( uint16_t  value)

§ to()

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

Reimplemented from openjaus::model::fields::Record.

§ toXml()

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

Member Data Documentation

§ airIntakePressure_bar

AirIntakePressureScaledInteger openjaus::ugv::DieselEngineStatusRecord::airIntakePressure_bar
protected

§ airIntakeTemp_degC

AirIntakeTempScaledInteger openjaus::ugv::DieselEngineStatusRecord::airIntakeTemp_degC
protected

§ coolantLevel_l

CoolantLevelScaledInteger openjaus::ugv::DieselEngineStatusRecord::coolantLevel_l
protected

§ coolantTemp_degC

CoolantTempScaledInteger openjaus::ugv::DieselEngineStatusRecord::coolantTemp_degC
protected

§ engineHours_hour

model::fields::UnsignedInteger openjaus::ugv::DieselEngineStatusRecord::engineHours_hour
protected

§ engineTemp_degC

EngineTempScaledInteger openjaus::ugv::DieselEngineStatusRecord::engineTemp_degC
protected

§ exhaustTemp_degC

ExhaustTempScaledInteger openjaus::ugv::DieselEngineStatusRecord::exhaustTemp_degC
protected

§ glowPlugTemp_degC

GlowPlugTempScaledInteger openjaus::ugv::DieselEngineStatusRecord::glowPlugTemp_degC
protected

§ oilLevel_percent

OilLevelScaledInteger openjaus::ugv::DieselEngineStatusRecord::oilLevel_percent
protected

§ oilPressure_percent

OilPressureScaledInteger openjaus::ugv::DieselEngineStatusRecord::oilPressure_percent
protected

§ oilTemp_degC

OilTempScaledInteger openjaus::ugv::DieselEngineStatusRecord::oilTemp_degC
protected

§ presenceVector

uint16_t openjaus::ugv::DieselEngineStatusRecord::presenceVector
protected

§ PV_AIRINTAKEPRESSURE

const uint16_t openjaus::ugv::DieselEngineStatusRecord::PV_AIRINTAKEPRESSURE = 0x200
static

§ PV_AIRINTAKETEMP

const uint16_t openjaus::ugv::DieselEngineStatusRecord::PV_AIRINTAKETEMP = 0x400
static

§ PV_ALL_FIELDS

const uint16_t openjaus::ugv::DieselEngineStatusRecord::PV_ALL_FIELDS = 0xFFFF
static

§ PV_COOLANTLEVEL

const uint16_t openjaus::ugv::DieselEngineStatusRecord::PV_COOLANTLEVEL = 0x80
static

§ PV_COOLANTTEMP

const uint16_t openjaus::ugv::DieselEngineStatusRecord::PV_COOLANTTEMP = 0x100
static

§ PV_ENGINEHOURS

const uint16_t openjaus::ugv::DieselEngineStatusRecord::PV_ENGINEHOURS = 0x20
static

§ PV_ENGINETEMP

const uint16_t openjaus::ugv::DieselEngineStatusRecord::PV_ENGINETEMP = 0x10
static

§ PV_EXHAUSTTEMP

const uint16_t openjaus::ugv::DieselEngineStatusRecord::PV_EXHAUSTTEMP = 0x800
static

§ PV_GLOWPLUGTEMP

const uint16_t openjaus::ugv::DieselEngineStatusRecord::PV_GLOWPLUGTEMP = 0x1000
static

§ PV_NO_FIELDS

const uint16_t openjaus::ugv::DieselEngineStatusRecord::PV_NO_FIELDS = 0x0
static

§ PV_OILLEVEL

const uint16_t openjaus::ugv::DieselEngineStatusRecord::PV_OILLEVEL = 0x4
static

§ PV_OILPRESSURE

const uint16_t openjaus::ugv::DieselEngineStatusRecord::PV_OILPRESSURE = 0x2
static

§ PV_OILTEMP

const uint16_t openjaus::ugv::DieselEngineStatusRecord::PV_OILTEMP = 0x8
static

§ PV_REMAININGFUEL

const uint16_t openjaus::ugv::DieselEngineStatusRecord::PV_REMAININGFUEL = 0x1
static

§ PV_TACHOMETER_RPM

const uint16_t openjaus::ugv::DieselEngineStatusRecord::PV_TACHOMETER_RPM = 0x40
static

§ remainingFuel_percent

RemainingFuelScaledInteger openjaus::ugv::DieselEngineStatusRecord::remainingFuel_percent
protected

§ tachometer_rpm

model::fields::UnsignedShort openjaus::ugv::DieselEngineStatusRecord::tachometer_rpm
protected

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