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

#include <ResponseCodeEnumeration.h>

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

Public Types

enum  ResponseCodeEnum {
  PERIODIC_EVENTS_NOT_SUPPORTED = 1, CHANGE_BASED_EVENTS_NOT_SUPPORTED = 2, CONNECTION_REFUSED = 3, INVALID_EVENT_SETUP = 4,
  MESSAGE_NOT_SUPPORTED = 5, INVALID_EVENT_ID_FOR_UPDATE_EVENT_REQUEST = 6
}
 

Public Member Functions

 ResponseCodeEnumeration ()
 
 ResponseCodeEnumeration (ResponseCodeEnum value)
 
 ~ResponseCodeEnumeration ()
 
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
 
ResponseCodeEnum getValue (void) const
 
void setValue (ResponseCodeEnum 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 (ResponseCodeEnum value)
 

Protected Attributes

ResponseCodeEnum 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

§ ResponseCodeEnum

Enumerator
PERIODIC_EVENTS_NOT_SUPPORTED 
CHANGE_BASED_EVENTS_NOT_SUPPORTED 
CONNECTION_REFUSED 
INVALID_EVENT_SETUP 
MESSAGE_NOT_SUPPORTED 
INVALID_EVENT_ID_FOR_UPDATE_EVENT_REQUEST 

Constructor & Destructor Documentation

§ ResponseCodeEnumeration() [1/2]

openjaus::core::ResponseCodeEnumeration::ResponseCodeEnumeration ( )

§ ResponseCodeEnumeration() [2/2]

openjaus::core::ResponseCodeEnumeration::ResponseCodeEnumeration ( ResponseCodeEnumeration::ResponseCodeEnum  value)

§ ~ResponseCodeEnumeration()

openjaus::core::ResponseCodeEnumeration::~ResponseCodeEnumeration ( )

Member Function Documentation

§ from()

int openjaus::core::ResponseCodeEnumeration::from ( system::Buffer src)
virtual
Parameters
src

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

§ getValue()

ResponseCodeEnumeration::ResponseCodeEnum openjaus::core::ResponseCodeEnumeration::getValue ( void  ) const

§ length()

int openjaus::core::ResponseCodeEnumeration::length ( void  )
virtual

§ setValue()

void openjaus::core::ResponseCodeEnumeration::setValue ( ResponseCodeEnumeration::ResponseCodeEnum  value)

§ to()

int openjaus::core::ResponseCodeEnumeration::to ( system::Buffer dst)
virtual
Parameters
dst

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

§ toString() [1/2]

std::string openjaus::core::ResponseCodeEnumeration::toString ( ) const
virtual

§ toString() [2/2]

std::string openjaus::core::ResponseCodeEnumeration::toString ( ResponseCodeEnumeration::ResponseCodeEnum  value)
static

§ toXml()

std::string openjaus::core::ResponseCodeEnumeration::toXml ( unsigned char  ojIndentLevel = 0) const

Member Data Documentation

§ value

ResponseCodeEnum openjaus::core::ResponseCodeEnumeration::value
protected

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