OpenJAUS Software Development Kit  4.3.1
Public Types | Public Member Functions | Private Attributes | List of all members
openjaus::ugv::PowerPlantConfigurationVariant Class Reference

#include <PowerPlantConfigurationVariant.h>

Inherits openjaus::model::fields::Variant.

Public Types

enum  TypeEnum {
  GASENGINECONFIGURATIONREC = 0, DIESELENGINECONFIGURATIONREC = 1, BATTERYCONFIGURATIONREC = 2, HYDRAULICCONFIGURATIONREC = 3,
  FUELCELLCONFIGURATIONREC = 4
}
 

Public Member Functions

 PowerPlantConfigurationVariant ()
 
 ~PowerPlantConfigurationVariant ()
 
PowerPlantConfigurationVariant::TypeEnum getType (void)
 
void setType (PowerPlantConfigurationVariant::TypeEnum type)
 
void copy (PowerPlantConfigurationVariant &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
 
GasEngineConfigurationRecordgetGasEngineConfigurationRec (void)
 
DieselEngineConfigurationRecordgetDieselEngineConfigurationRec (void)
 
BatteryConfigurationRecordgetBatteryConfigurationRec (void)
 
HydraulicConfigurationRecordgetHydraulicConfigurationRec (void)
 
FuelCellConfigurationRecordgetFuelCellConfigurationRec (void)
 
std::string typeToString (void)
 
- Public Member Functions inherited from openjaus::model::fields::Variant
 Variant ()
 
virtual ~Variant ()
 
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 ()
 

Private Attributes

TypeEnum type
 
GasEngineConfigurationRecord gasEngineConfigurationRec
 
DieselEngineConfigurationRecord dieselEngineConfigurationRec
 
BatteryConfigurationRecord batteryConfigurationRec
 
HydraulicConfigurationRecord hydraulicConfigurationRec
 
FuelCellConfigurationRecord fuelCellConfigurationRec
 

Additional Inherited Members

- Protected Attributes inherited from openjaus::model::fields::Field
std::string name
 

Member Enumeration Documentation

§ TypeEnum

Enumerator
GASENGINECONFIGURATIONREC 
DIESELENGINECONFIGURATIONREC 
BATTERYCONFIGURATIONREC 
HYDRAULICCONFIGURATIONREC 
FUELCELLCONFIGURATIONREC 

Constructor & Destructor Documentation

§ PowerPlantConfigurationVariant()

openjaus::ugv::PowerPlantConfigurationVariant::PowerPlantConfigurationVariant ( )

§ ~PowerPlantConfigurationVariant()

openjaus::ugv::PowerPlantConfigurationVariant::~PowerPlantConfigurationVariant ( )

Member Function Documentation

§ copy()

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

§ from()

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

Reimplemented from openjaus::model::fields::Variant.

§ getBatteryConfigurationRec()

BatteryConfigurationRecord & openjaus::ugv::PowerPlantConfigurationVariant::getBatteryConfigurationRec ( void  )

§ getDieselEngineConfigurationRec()

DieselEngineConfigurationRecord & openjaus::ugv::PowerPlantConfigurationVariant::getDieselEngineConfigurationRec ( void  )

§ getFuelCellConfigurationRec()

FuelCellConfigurationRecord & openjaus::ugv::PowerPlantConfigurationVariant::getFuelCellConfigurationRec ( void  )

§ getGasEngineConfigurationRec()

GasEngineConfigurationRecord & openjaus::ugv::PowerPlantConfigurationVariant::getGasEngineConfigurationRec ( void  )

§ getHydraulicConfigurationRec()

HydraulicConfigurationRecord & openjaus::ugv::PowerPlantConfigurationVariant::getHydraulicConfigurationRec ( void  )

§ getType()

PowerPlantConfigurationVariant::TypeEnum openjaus::ugv::PowerPlantConfigurationVariant::getType ( void  )

§ length()

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

Reimplemented from openjaus::model::fields::Variant.

§ setType()

void openjaus::ugv::PowerPlantConfigurationVariant::setType ( PowerPlantConfigurationVariant::TypeEnum  type)

§ to()

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

Reimplemented from openjaus::model::fields::Variant.

§ toXml()

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

§ typeToString()

std::string openjaus::ugv::PowerPlantConfigurationVariant::typeToString ( void  )

Member Data Documentation

§ batteryConfigurationRec

BatteryConfigurationRecord openjaus::ugv::PowerPlantConfigurationVariant::batteryConfigurationRec
private

§ dieselEngineConfigurationRec

DieselEngineConfigurationRecord openjaus::ugv::PowerPlantConfigurationVariant::dieselEngineConfigurationRec
private

§ fuelCellConfigurationRec

FuelCellConfigurationRecord openjaus::ugv::PowerPlantConfigurationVariant::fuelCellConfigurationRec
private

§ gasEngineConfigurationRec

GasEngineConfigurationRecord openjaus::ugv::PowerPlantConfigurationVariant::gasEngineConfigurationRec
private

§ hydraulicConfigurationRec

HydraulicConfigurationRecord openjaus::ugv::PowerPlantConfigurationVariant::hydraulicConfigurationRec
private

§ type

TypeEnum openjaus::ugv::PowerPlantConfigurationVariant::type
private

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