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

#include <ZoomModesBitField.h>

Inherits openjaus::model::fields::BitField.

Public Member Functions

 ZoomModesBitField ()
 ~ZoomModesBitField ()
bool setMixedZoom (bool value)
bool getMixedZoom (void) const
bool setAnalogZoomOnly (bool value)
bool getAnalogZoomOnly (void) const
bool setDigitalZoomOnly (bool value)
bool getDigitalZoomOnly (void) const
bool setNoZoom (bool value)
bool getNoZoom (void) const
uint8_t getIntegerValue (void) const
void setIntegerValue (uint8_t value)
virtual int to (system::Buffer *dst)
 Operation to. More...
virtual int from (system::Buffer *src)
 Operation from. More...
virtual int length ()
 Serializes object to internal transport buffer. More...
void copy (ZoomModesBitField &source)
std::string toXml (unsigned char ojIndentLevel=0) const
- Public Member Functions inherited from openjaus::model::fields::BitField
 BitField ()
virtual ~BitField ()
long getDefaultValue () const
 Accessor to get the value of defaultValue. More...
bool setDefaultValue (long defaultValue)
 Accessor to set value of defaultValue. More...
uint64_t getValue () const
 Accessor to get the value of value. More...
bool setValue (uint64_t value)
 Accessor to set value of value. More...
TypesUnsigned getSize () const
 Accessor to get the value of size. More...
bool setSize (TypesUnsigned size)
 Accessor to set value of size. More...
const std::vector< BitFieldItem *> & getItems () const
 Accessor to get the value of items. More...
bool setItems (const BitFieldItem &items)
 Accessor to set value of items. More...
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 ()

Protected Attributes

bool mixedZoom
bool analogZoomOnly
bool digitalZoomOnly
bool noZoom
- Protected Attributes inherited from openjaus::model::fields::BitField
long defaultValue
uint64_t value
TypesUnsigned size
std::vector< BitFieldItem *> items
- Protected Attributes inherited from openjaus::model::fields::Field
std::string name

Static Protected Attributes

static const long MIXEDZOOM_START_BIT = 0
static const long MIXEDZOOM_BIT_MASK = 0x1
static const long ANALOGZOOMONLY_START_BIT = 1
static const long ANALOGZOOMONLY_BIT_MASK = 0x1
static const long DIGITALZOOMONLY_START_BIT = 2
static const long DIGITALZOOMONLY_BIT_MASK = 0x1
static const long NOZOOM_START_BIT = 3
static const long NOZOOM_BIT_MASK = 0x1

Constructor & Destructor Documentation

§ ZoomModesBitField()

openjaus::environment::ZoomModesBitField::ZoomModesBitField ( )

§ ~ZoomModesBitField()

openjaus::environment::ZoomModesBitField::~ZoomModesBitField ( )

Member Function Documentation

§ copy()

void openjaus::environment::ZoomModesBitField::copy ( ZoomModesBitField source)

§ from()

int openjaus::environment::ZoomModesBitField::from ( system::Buffer src)

Reimplemented from openjaus::model::fields::BitField.

§ getAnalogZoomOnly()

bool openjaus::environment::ZoomModesBitField::getAnalogZoomOnly ( void  ) const

§ getDigitalZoomOnly()

bool openjaus::environment::ZoomModesBitField::getDigitalZoomOnly ( void  ) const

§ getIntegerValue()

uint8_t openjaus::environment::ZoomModesBitField::getIntegerValue ( void  ) const

§ getMixedZoom()

bool openjaus::environment::ZoomModesBitField::getMixedZoom ( void  ) const

§ getNoZoom()

bool openjaus::environment::ZoomModesBitField::getNoZoom ( void  ) const

§ length()

int openjaus::environment::ZoomModesBitField::length ( )

Reimplemented from openjaus::model::fields::BitField.

§ setAnalogZoomOnly()

bool openjaus::environment::ZoomModesBitField::setAnalogZoomOnly ( bool  value)

§ setDigitalZoomOnly()

bool openjaus::environment::ZoomModesBitField::setDigitalZoomOnly ( bool  value)

§ setIntegerValue()

void openjaus::environment::ZoomModesBitField::setIntegerValue ( uint8_t  value)

§ setMixedZoom()

bool openjaus::environment::ZoomModesBitField::setMixedZoom ( bool  value)

§ setNoZoom()

bool openjaus::environment::ZoomModesBitField::setNoZoom ( bool  value)

§ to()

int openjaus::environment::ZoomModesBitField::to ( system::Buffer dst)

Reimplemented from openjaus::model::fields::BitField.

§ toXml()

std::string openjaus::environment::ZoomModesBitField::toXml ( unsigned char  ojIndentLevel = 0) const

Member Data Documentation

§ analogZoomOnly

bool openjaus::environment::ZoomModesBitField::analogZoomOnly


const long openjaus::environment::ZoomModesBitField::ANALOGZOOMONLY_BIT_MASK = 0x1


const long openjaus::environment::ZoomModesBitField::ANALOGZOOMONLY_START_BIT = 1

§ digitalZoomOnly

bool openjaus::environment::ZoomModesBitField::digitalZoomOnly


const long openjaus::environment::ZoomModesBitField::DIGITALZOOMONLY_BIT_MASK = 0x1


const long openjaus::environment::ZoomModesBitField::DIGITALZOOMONLY_START_BIT = 2

§ mixedZoom

bool openjaus::environment::ZoomModesBitField::mixedZoom


const long openjaus::environment::ZoomModesBitField::MIXEDZOOM_BIT_MASK = 0x1


const long openjaus::environment::ZoomModesBitField::MIXEDZOOM_START_BIT = 0

§ noZoom

bool openjaus::environment::ZoomModesBitField::noZoom


const long openjaus::environment::ZoomModesBitField::NOZOOM_BIT_MASK = 0x1


const long openjaus::environment::ZoomModesBitField::NOZOOM_START_BIT = 3

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