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

#include <MeteringModesBitField.h>

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

Public Member Functions

 MeteringModesBitField ()
 
 ~MeteringModesBitField ()
 
bool setMatrixOrAuto (bool value)
 
bool getMatrixOrAuto (void) const
 
bool setCenterWeighted (bool value)
 
bool getCenterWeighted (void) const
 
bool setSpot (bool value)
 
bool getSpot (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 (MeteringModesBitField &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 matrixOrAuto
 
bool centerWeighted
 
bool spot
 
- 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 MATRIXORAUTO_START_BIT = 0
 
static const long MATRIXORAUTO_BIT_MASK = 0x1
 
static const long CENTERWEIGHTED_START_BIT = 1
 
static const long CENTERWEIGHTED_BIT_MASK = 0x1
 
static const long SPOT_START_BIT = 2
 
static const long SPOT_BIT_MASK = 0x1
 

Constructor & Destructor Documentation

§ MeteringModesBitField()

openjaus::environment::MeteringModesBitField::MeteringModesBitField ( )

§ ~MeteringModesBitField()

openjaus::environment::MeteringModesBitField::~MeteringModesBitField ( )

Member Function Documentation

§ copy()

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

§ from()

int openjaus::environment::MeteringModesBitField::from ( system::Buffer src)
virtual
Parameters
src

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

§ getCenterWeighted()

bool openjaus::environment::MeteringModesBitField::getCenterWeighted ( void  ) const

§ getIntegerValue()

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

§ getMatrixOrAuto()

bool openjaus::environment::MeteringModesBitField::getMatrixOrAuto ( void  ) const

§ getSpot()

bool openjaus::environment::MeteringModesBitField::getSpot ( void  ) const

§ length()

int openjaus::environment::MeteringModesBitField::length ( )
virtual

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

§ setCenterWeighted()

bool openjaus::environment::MeteringModesBitField::setCenterWeighted ( bool  value)

§ setIntegerValue()

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

§ setMatrixOrAuto()

bool openjaus::environment::MeteringModesBitField::setMatrixOrAuto ( bool  value)

§ setSpot()

bool openjaus::environment::MeteringModesBitField::setSpot ( bool  value)

§ to()

int openjaus::environment::MeteringModesBitField::to ( system::Buffer dst)
virtual
Parameters
dst

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

§ toXml()

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

Member Data Documentation

§ centerWeighted

bool openjaus::environment::MeteringModesBitField::centerWeighted
protected

§ CENTERWEIGHTED_BIT_MASK

const long openjaus::environment::MeteringModesBitField::CENTERWEIGHTED_BIT_MASK = 0x1
staticprotected

§ CENTERWEIGHTED_START_BIT

const long openjaus::environment::MeteringModesBitField::CENTERWEIGHTED_START_BIT = 1
staticprotected

§ matrixOrAuto

bool openjaus::environment::MeteringModesBitField::matrixOrAuto
protected

§ MATRIXORAUTO_BIT_MASK

const long openjaus::environment::MeteringModesBitField::MATRIXORAUTO_BIT_MASK = 0x1
staticprotected

§ MATRIXORAUTO_START_BIT

const long openjaus::environment::MeteringModesBitField::MATRIXORAUTO_START_BIT = 0
staticprotected

§ spot

bool openjaus::environment::MeteringModesBitField::spot
protected

§ SPOT_BIT_MASK

const long openjaus::environment::MeteringModesBitField::SPOT_BIT_MASK = 0x1
staticprotected

§ SPOT_START_BIT

const long openjaus::environment::MeteringModesBitField::SPOT_START_BIT = 2
staticprotected

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