OpenJAUS SAE SDK  6.0.0
Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
openjaus::ugv_v1_0::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 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 (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
 Transportable ()
 
virtual ~Transportable ()
 

Static Public Attributes

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
 
static const uint8_t PV_ALL_FIELDS = PV_NO_FIELDS | PV_FLUIDCAPACITY | PV_MAXPRESSURE | PV_MAXTEMP
 

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_v1_0::HydraulicCapabilitiesRecord::HydraulicCapabilitiesRecord ( )

◆ HydraulicCapabilitiesRecord() [2/2]

openjaus::ugv_v1_0::HydraulicCapabilitiesRecord::HydraulicCapabilitiesRecord ( const HydraulicCapabilitiesRecord source)

◆ ~HydraulicCapabilitiesRecord()

openjaus::ugv_v1_0::HydraulicCapabilitiesRecord::~HydraulicCapabilitiesRecord ( )

Member Function Documentation

◆ copy()

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

◆ disableFluidCapacity()

void openjaus::ugv_v1_0::HydraulicCapabilitiesRecord::disableFluidCapacity ( void  )

◆ disableMaxPressure()

void openjaus::ugv_v1_0::HydraulicCapabilitiesRecord::disableMaxPressure ( void  )

◆ disableMaxTemp()

void openjaus::ugv_v1_0::HydraulicCapabilitiesRecord::disableMaxTemp ( void  )

◆ enableFluidCapacity()

void openjaus::ugv_v1_0::HydraulicCapabilitiesRecord::enableFluidCapacity ( void  )

◆ enableMaxPressure()

void openjaus::ugv_v1_0::HydraulicCapabilitiesRecord::enableMaxPressure ( void  )

◆ enableMaxTemp()

void openjaus::ugv_v1_0::HydraulicCapabilitiesRecord::enableMaxTemp ( void  )

◆ from()

uint64 openjaus::ugv_v1_0::HydraulicCapabilitiesRecord::from ( system::BufferReader src)
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.

Parameters
src

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

◆ getFluidCapacity_l()

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

◆ getMaxPressure_bar()

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

◆ getMaxTemp_degC()

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

◆ getPresenceVector()

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

◆ isFluidCapacityEnabled()

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

◆ isMaxPressureEnabled()

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

◆ isMaxTempEnabled()

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

◆ length()

uint64 openjaus::ugv_v1_0::HydraulicCapabilitiesRecord::length ( void  ) const
virtual

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

◆ setFluidCapacity_l()

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

◆ setMaxPressure_bar()

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

◆ setMaxTemp_degC()

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

◆ setPresenceVector()

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

◆ to()

uint64 openjaus::ugv_v1_0::HydraulicCapabilitiesRecord::to ( system::BufferWriter dst) const
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.

Parameters
dst

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

◆ toXml()

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

Member Data Documentation

◆ fluidCapacity_l

FluidCapacityScaledInteger openjaus::ugv_v1_0::HydraulicCapabilitiesRecord::fluidCapacity_l
protected

◆ maxPressure_bar

MaxPressureScaledInteger openjaus::ugv_v1_0::HydraulicCapabilitiesRecord::maxPressure_bar
protected

◆ maxTemp_degC

MaxTempScaledInteger openjaus::ugv_v1_0::HydraulicCapabilitiesRecord::maxTemp_degC
protected

◆ presenceVector

uint8_t openjaus::ugv_v1_0::HydraulicCapabilitiesRecord::presenceVector
protected

◆ PV_ALL_FIELDS

const uint8_t openjaus::ugv_v1_0::HydraulicCapabilitiesRecord::PV_ALL_FIELDS = PV_NO_FIELDS | PV_FLUIDCAPACITY | PV_MAXPRESSURE | PV_MAXTEMP
static

◆ PV_FLUIDCAPACITY

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

◆ PV_MAXPRESSURE

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

◆ PV_MAXTEMP

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

◆ PV_NO_FIELDS

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

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