OpenJAUS SAE SDK  6.0.0
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
openjaus::environment_v1_0::DigitalVideoErrorCodeEnumeration Class Reference

#include <DigitalVideoErrorCodeEnumeration.h>

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

Public Types

enum  DigitalVideoErrorCodeEnum {
  UNKNOWN_SENSOR_ID = 0, INVALID_MINIMUM_BIT_RATE = 1, INVALID_MAXIMUM_BIT_RATE = 2, INVALID_MINIMUM_FRAME_RATE = 3,
  INVALID_MAXIMUM_FRAME_RATE = 4, INVALID_FRAME_SIZE = 5, INVALID_FORMAT = 6, MULTIPLE_INVALID_PARAMETERS = 7,
  UNKNOWN_ERROR_OR_FAULT = 255
}
 

Public Member Functions

 DigitalVideoErrorCodeEnumeration ()
 
 DigitalVideoErrorCodeEnumeration (DigitalVideoErrorCodeEnum value)
 
 ~DigitalVideoErrorCodeEnumeration ()
 
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
 
std::string toString () const
 
DigitalVideoErrorCodeEnum getValue (void) const
 
void setValue (DigitalVideoErrorCodeEnum 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
 Transportable ()
 
virtual ~Transportable ()
 

Static Public Member Functions

static std::string toString (DigitalVideoErrorCodeEnum value)
 

Protected Attributes

DigitalVideoErrorCodeEnum 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

◆ DigitalVideoErrorCodeEnum

Enumerator
UNKNOWN_SENSOR_ID 
INVALID_MINIMUM_BIT_RATE 
INVALID_MAXIMUM_BIT_RATE 
INVALID_MINIMUM_FRAME_RATE 
INVALID_MAXIMUM_FRAME_RATE 
INVALID_FRAME_SIZE 
INVALID_FORMAT 
MULTIPLE_INVALID_PARAMETERS 
UNKNOWN_ERROR_OR_FAULT 

Constructor & Destructor Documentation

◆ DigitalVideoErrorCodeEnumeration() [1/2]

openjaus::environment_v1_0::DigitalVideoErrorCodeEnumeration::DigitalVideoErrorCodeEnumeration ( )

◆ DigitalVideoErrorCodeEnumeration() [2/2]

openjaus::environment_v1_0::DigitalVideoErrorCodeEnumeration::DigitalVideoErrorCodeEnumeration ( DigitalVideoErrorCodeEnumeration::DigitalVideoErrorCodeEnum  value)

◆ ~DigitalVideoErrorCodeEnumeration()

openjaus::environment_v1_0::DigitalVideoErrorCodeEnumeration::~DigitalVideoErrorCodeEnumeration ( )

Member Function Documentation

◆ from()

uint64 openjaus::environment_v1_0::DigitalVideoErrorCodeEnumeration::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::Enumeration.

◆ getValue()

DigitalVideoErrorCodeEnumeration::DigitalVideoErrorCodeEnum openjaus::environment_v1_0::DigitalVideoErrorCodeEnumeration::getValue ( void  ) const

◆ length()

uint64 openjaus::environment_v1_0::DigitalVideoErrorCodeEnumeration::length ( void  ) const
virtual

◆ setValue()

void openjaus::environment_v1_0::DigitalVideoErrorCodeEnumeration::setValue ( DigitalVideoErrorCodeEnumeration::DigitalVideoErrorCodeEnum  value)

◆ to()

uint64 openjaus::environment_v1_0::DigitalVideoErrorCodeEnumeration::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::Enumeration.

◆ toString() [1/2]

std::string openjaus::environment_v1_0::DigitalVideoErrorCodeEnumeration::toString ( ) const
virtual

◆ toString() [2/2]

std::string openjaus::environment_v1_0::DigitalVideoErrorCodeEnumeration::toString ( DigitalVideoErrorCodeEnumeration::DigitalVideoErrorCodeEnum  value)
static

◆ toXml()

std::string openjaus::environment_v1_0::DigitalVideoErrorCodeEnumeration::toXml ( unsigned char  ojIndentLevel = 0) const

Member Data Documentation

◆ value

DigitalVideoErrorCodeEnum openjaus::environment_v1_0::DigitalVideoErrorCodeEnumeration::value
protected

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