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

#include <HydraulicCapabilitiesRecord.h>

Inherits openjaus::model::fields::Record.

Public Member Functions

 HydraulicCapabilitiesRecord ()
 
 HydraulicCapabilitiesRecord (const HydraulicCapabilitiesRecord &source)
 
 ~HydraulicCapabilitiesRecord ()
 
void copy (HydraulicCapabilitiesRecord &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 (uint8_t value)
 
uint8_t getPresenceVector (void) const
 
bool isFluidCapacityEnabled (void) const
 
void enableFluidCapacity (void)
 
void disableFluidCapacity (void)
 
bool isMaxPressureEnabled (void) const
 
void enableMaxPressure (void)
 
void disableMaxPressure (void)
 
bool isMaxTempEnabled (void) const
 
void enableMaxTemp (void)
 
void disableMaxTemp (void)
 
double getFluidCapacity_l (void)
 
bool setFluidCapacity_l (double value)
 
double getMaxPressure_bar (void)
 
bool setMaxPressure_bar (double value)
 
double getMaxTemp_degC (void)
 
bool setMaxTemp_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 uint8_t PV_ALL_FIELDS = 0xFF
 
static const uint8_t PV_NO_FIELDS = 0x0
 
static const uint8_t PV_FLUIDCAPACITY = 0x1
 
static const uint8_t PV_MAXPRESSURE = 0x2
 
static const uint8_t PV_MAXTEMP = 0x4
 

Protected Attributes

FluidCapacityScaledInteger fluidCapacity_l
 
MaxPressureScaledInteger maxPressure_bar
 
MaxTempScaledInteger maxTemp_degC
 
uint8_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

§ HydraulicCapabilitiesRecord() [1/2]

openjaus::ugv::HydraulicCapabilitiesRecord::HydraulicCapabilitiesRecord ( )

§ HydraulicCapabilitiesRecord() [2/2]

openjaus::ugv::HydraulicCapabilitiesRecord::HydraulicCapabilitiesRecord ( const HydraulicCapabilitiesRecord source)

§ ~HydraulicCapabilitiesRecord()

openjaus::ugv::HydraulicCapabilitiesRecord::~HydraulicCapabilitiesRecord ( )

Member Function Documentation

§ copy()

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

§ disableFluidCapacity()

void openjaus::ugv::HydraulicCapabilitiesRecord::disableFluidCapacity ( void  )

§ disableMaxPressure()

void openjaus::ugv::HydraulicCapabilitiesRecord::disableMaxPressure ( void  )

§ disableMaxTemp()

void openjaus::ugv::HydraulicCapabilitiesRecord::disableMaxTemp ( void  )

§ enableFluidCapacity()

void openjaus::ugv::HydraulicCapabilitiesRecord::enableFluidCapacity ( void  )

§ enableMaxPressure()

void openjaus::ugv::HydraulicCapabilitiesRecord::enableMaxPressure ( void  )

§ enableMaxTemp()

void openjaus::ugv::HydraulicCapabilitiesRecord::enableMaxTemp ( void  )

§ from()

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

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

§ getFluidCapacity_l()

double openjaus::ugv::HydraulicCapabilitiesRecord::getFluidCapacity_l ( void  )

§ getMaxPressure_bar()

double openjaus::ugv::HydraulicCapabilitiesRecord::getMaxPressure_bar ( void  )

§ getMaxTemp_degC()

double openjaus::ugv::HydraulicCapabilitiesRecord::getMaxTemp_degC ( void  )

§ getPresenceVector()

uint8_t openjaus::ugv::HydraulicCapabilitiesRecord::getPresenceVector ( void  ) const

§ isFluidCapacityEnabled()

bool openjaus::ugv::HydraulicCapabilitiesRecord::isFluidCapacityEnabled ( void  ) const

§ isMaxPressureEnabled()

bool openjaus::ugv::HydraulicCapabilitiesRecord::isMaxPressureEnabled ( void  ) const

§ isMaxTempEnabled()

bool openjaus::ugv::HydraulicCapabilitiesRecord::isMaxTempEnabled ( void  ) const

§ length()

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

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

§ setFluidCapacity_l()

bool openjaus::ugv::HydraulicCapabilitiesRecord::setFluidCapacity_l ( double  value)

§ setMaxPressure_bar()

bool openjaus::ugv::HydraulicCapabilitiesRecord::setMaxPressure_bar ( double  value)

§ setMaxTemp_degC()

bool openjaus::ugv::HydraulicCapabilitiesRecord::setMaxTemp_degC ( double  value)

§ setPresenceVector()

void openjaus::ugv::HydraulicCapabilitiesRecord::setPresenceVector ( uint8_t  value)

§ to()

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

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

§ toXml()

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

Member Data Documentation

§ fluidCapacity_l

FluidCapacityScaledInteger openjaus::ugv::HydraulicCapabilitiesRecord::fluidCapacity_l
protected

§ maxPressure_bar

MaxPressureScaledInteger openjaus::ugv::HydraulicCapabilitiesRecord::maxPressure_bar
protected

§ maxTemp_degC

MaxTempScaledInteger openjaus::ugv::HydraulicCapabilitiesRecord::maxTemp_degC
protected

§ presenceVector

uint8_t openjaus::ugv::HydraulicCapabilitiesRecord::presenceVector
protected

§ PV_ALL_FIELDS

const uint8_t openjaus::ugv::HydraulicCapabilitiesRecord::PV_ALL_FIELDS = 0xFF
static

§ PV_FLUIDCAPACITY

const uint8_t openjaus::ugv::HydraulicCapabilitiesRecord::PV_FLUIDCAPACITY = 0x1
static

§ PV_MAXPRESSURE

const uint8_t openjaus::ugv::HydraulicCapabilitiesRecord::PV_MAXPRESSURE = 0x2
static

§ PV_MAXTEMP

const uint8_t openjaus::ugv::HydraulicCapabilitiesRecord::PV_MAXTEMP = 0x4
static

§ PV_NO_FIELDS

const uint8_t openjaus::ugv::HydraulicCapabilitiesRecord::PV_NO_FIELDS = 0x0
static

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