OpenJAUS Software Development Kit
4.3.1
|
#include <ImagingModeEnumeration.h>
Inherits openjaus::model::fields::Enumeration.
Public Types | |
enum | ImagingModeEnum { COLOR = 0, GREYSCALE = 1, INFRARED = 2, LOW_LIGHT = 3 } |
Public Member Functions | |
ImagingModeEnumeration () | |
ImagingModeEnumeration (ImagingModeEnum value) | |
~ImagingModeEnumeration () | |
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 |
ImagingModeEnum | getValue (void) const |
void | setValue (ImagingModeEnum 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 (ImagingModeEnum value) |
Protected Attributes | |
ImagingModeEnum | value |
Protected Attributes inherited from openjaus::model::fields::Enumeration | |
long | value |
Protected Attributes inherited from openjaus::model::fields::Field | |
std::string | name |
openjaus::environment::ImagingModeEnumeration::ImagingModeEnumeration | ( | ) |
openjaus::environment::ImagingModeEnumeration::ImagingModeEnumeration | ( | ImagingModeEnumeration::ImagingModeEnum | value | ) |
openjaus::environment::ImagingModeEnumeration::~ImagingModeEnumeration | ( | ) |
|
virtual |
src |
Reimplemented from openjaus::model::fields::Enumeration.
ImagingModeEnumeration::ImagingModeEnum openjaus::environment::ImagingModeEnumeration::getValue | ( | void | ) | const |
|
virtual |
Reimplemented from openjaus::model::fields::Enumeration.
void openjaus::environment::ImagingModeEnumeration::setValue | ( | ImagingModeEnumeration::ImagingModeEnum | value | ) |
|
virtual |
dst |
Reimplemented from openjaus::model::fields::Enumeration.
|
virtual |
Reimplemented from openjaus::model::fields::Enumeration.
|
static |
std::string openjaus::environment::ImagingModeEnumeration::toXml | ( | unsigned char | ojIndentLevel = 0 | ) | const |
|
protected |