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

#include <ExposureModesBitField.h>

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

Public Member Functions

 ExposureModesBitField ()
 
 ~ExposureModesBitField ()
 
bool setAutoExposure (bool value)
 
bool getAutoExposure (void) const
 
bool setManualExposure (bool value)
 
bool getManualExposure (void) const
 
bool setShutterPriority (bool value)
 
bool getShutterPriority (void) const
 
bool setAperturePriority (bool value)
 
bool getAperturePriority (void) const
 
uint8_t getIntegerValue (void) const
 
void setIntegerValue (uint8_t value)
 
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 () const
 Gets the serialized length of this object. More...
 
void copy (ExposureModesBitField &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
 Transportable ()
 
virtual ~Transportable ()
 

Protected Attributes

bool autoExposure
 
bool manualExposure
 
bool shutterPriority
 
bool aperturePriority
 
- 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 AUTOEXPOSURE_START_BIT = 0
 
static const long AUTOEXPOSURE_BIT_MASK = 0x1
 
static const long MANUALEXPOSURE_START_BIT = 1
 
static const long MANUALEXPOSURE_BIT_MASK = 0x1
 
static const long SHUTTERPRIORITY_START_BIT = 2
 
static const long SHUTTERPRIORITY_BIT_MASK = 0x1
 
static const long APERTUREPRIORITY_START_BIT = 3
 
static const long APERTUREPRIORITY_BIT_MASK = 0x1
 

Constructor & Destructor Documentation

◆ ExposureModesBitField()

openjaus::environment_v1_0::ExposureModesBitField::ExposureModesBitField ( )

◆ ~ExposureModesBitField()

openjaus::environment_v1_0::ExposureModesBitField::~ExposureModesBitField ( )

Member Function Documentation

◆ copy()

void openjaus::environment_v1_0::ExposureModesBitField::copy ( ExposureModesBitField source)

◆ from()

uint64 openjaus::environment_v1_0::ExposureModesBitField::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::BitField.

◆ getAperturePriority()

bool openjaus::environment_v1_0::ExposureModesBitField::getAperturePriority ( void  ) const

◆ getAutoExposure()

bool openjaus::environment_v1_0::ExposureModesBitField::getAutoExposure ( void  ) const

◆ getIntegerValue()

uint8_t openjaus::environment_v1_0::ExposureModesBitField::getIntegerValue ( void  ) const

◆ getManualExposure()

bool openjaus::environment_v1_0::ExposureModesBitField::getManualExposure ( void  ) const

◆ getShutterPriority()

bool openjaus::environment_v1_0::ExposureModesBitField::getShutterPriority ( void  ) const

◆ length()

uint64 openjaus::environment_v1_0::ExposureModesBitField::length ( ) const
virtual

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

◆ setAperturePriority()

bool openjaus::environment_v1_0::ExposureModesBitField::setAperturePriority ( bool  value)

◆ setAutoExposure()

bool openjaus::environment_v1_0::ExposureModesBitField::setAutoExposure ( bool  value)

◆ setIntegerValue()

void openjaus::environment_v1_0::ExposureModesBitField::setIntegerValue ( uint8_t  value)

◆ setManualExposure()

bool openjaus::environment_v1_0::ExposureModesBitField::setManualExposure ( bool  value)

◆ setShutterPriority()

bool openjaus::environment_v1_0::ExposureModesBitField::setShutterPriority ( bool  value)

◆ to()

uint64 openjaus::environment_v1_0::ExposureModesBitField::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::BitField.

◆ toXml()

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

Member Data Documentation

◆ aperturePriority

bool openjaus::environment_v1_0::ExposureModesBitField::aperturePriority
protected

◆ APERTUREPRIORITY_BIT_MASK

const long openjaus::environment_v1_0::ExposureModesBitField::APERTUREPRIORITY_BIT_MASK = 0x1
staticprotected

◆ APERTUREPRIORITY_START_BIT

const long openjaus::environment_v1_0::ExposureModesBitField::APERTUREPRIORITY_START_BIT = 3
staticprotected

◆ autoExposure

bool openjaus::environment_v1_0::ExposureModesBitField::autoExposure
protected

◆ AUTOEXPOSURE_BIT_MASK

const long openjaus::environment_v1_0::ExposureModesBitField::AUTOEXPOSURE_BIT_MASK = 0x1
staticprotected

◆ AUTOEXPOSURE_START_BIT

const long openjaus::environment_v1_0::ExposureModesBitField::AUTOEXPOSURE_START_BIT = 0
staticprotected

◆ manualExposure

bool openjaus::environment_v1_0::ExposureModesBitField::manualExposure
protected

◆ MANUALEXPOSURE_BIT_MASK

const long openjaus::environment_v1_0::ExposureModesBitField::MANUALEXPOSURE_BIT_MASK = 0x1
staticprotected

◆ MANUALEXPOSURE_START_BIT

const long openjaus::environment_v1_0::ExposureModesBitField::MANUALEXPOSURE_START_BIT = 1
staticprotected

◆ shutterPriority

bool openjaus::environment_v1_0::ExposureModesBitField::shutterPriority
protected

◆ SHUTTERPRIORITY_BIT_MASK

const long openjaus::environment_v1_0::ExposureModesBitField::SHUTTERPRIORITY_BIT_MASK = 0x1
staticprotected

◆ SHUTTERPRIORITY_START_BIT

const long openjaus::environment_v1_0::ExposureModesBitField::SHUTTERPRIORITY_START_BIT = 2
staticprotected

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