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

#include <TripTypeEnumeration.h>

Inherits openjaus::model::fields::Enumeration.

Public Types

enum  TripTypeEnum { TRIP_A = 2, TRIP_B = 3, TRIP_C = 4 }
 

Public Member Functions

 TripTypeEnumeration ()
 
 TripTypeEnumeration (TripTypeEnum value)
 
 ~TripTypeEnumeration ()
 
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
 
std::string toString () const
 
TripTypeEnum getValue (void) const
 
void setValue (TripTypeEnum value)
 
- Public Member Functions inherited from openjaus::model::fields::Enumeration
 Enumeration ()
 
virtual ~Enumeration ()
 
long getValue () const
 Accessor to get the value of value. More...
 
bool setValue (long value)
 Accessor to set value of value. More...
 
- 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 Member Functions

static std::string toString (TripTypeEnum value)
 

Protected Attributes

TripTypeEnum value
 
- Protected Attributes inherited from openjaus::model::fields::Enumeration
long value
 
- Protected Attributes inherited from openjaus::model::fields::Field
std::string name
 

Member Enumeration Documentation

§ TripTypeEnum

Enumerator
TRIP_A 
TRIP_B 
TRIP_C 

Constructor & Destructor Documentation

§ TripTypeEnumeration() [1/2]

openjaus::ugv::TripTypeEnumeration::TripTypeEnumeration ( )

§ TripTypeEnumeration() [2/2]

openjaus::ugv::TripTypeEnumeration::TripTypeEnumeration ( TripTypeEnumeration::TripTypeEnum  value)

§ ~TripTypeEnumeration()

openjaus::ugv::TripTypeEnumeration::~TripTypeEnumeration ( )

Member Function Documentation

§ from()

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

Reimplemented from openjaus::model::fields::Enumeration.

§ getValue()

TripTypeEnumeration::TripTypeEnum openjaus::ugv::TripTypeEnumeration::getValue ( void  ) const

§ length()

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

§ setValue()

void openjaus::ugv::TripTypeEnumeration::setValue ( TripTypeEnumeration::TripTypeEnum  value)

§ to()

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

Reimplemented from openjaus::model::fields::Enumeration.

§ toString() [1/2]

std::string openjaus::ugv::TripTypeEnumeration::toString ( ) const
virtual

§ toString() [2/2]

std::string openjaus::ugv::TripTypeEnumeration::toString ( TripTypeEnumeration::TripTypeEnum  value)
static

§ toXml()

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

Member Data Documentation

§ value

TripTypeEnum openjaus::ugv::TripTypeEnumeration::value
protected

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