![]() |
OpenZWave Library 1.6.0
|
BitSet value sent to/received from a node. More...
#include <ValueBitSet.h>
Inheritance diagram for OpenZWave::ValueBitSet:Public Member Functions | |
| ValueBitSet (uint32 const _homeId, uint8 const _nodeId, ValueID::ValueGenre const _genre, uint8 const _commandClassId, uint8 const _instance, uint16 const _index, string const &_label, string const &_units, bool const _readOnly, bool const _writeOnly, uint32 const _value, uint8 const _pollIntensity) | |
| ValueBitSet () | |
| virtual | ~ValueBitSet () |
| bool | Set (uint32 const _value) |
| uint32 | GetValue () const |
| bool | SetBit (uint8 const _idx) |
| bool | ClearBit (uint8 const _idx) |
| bool | GetBit (uint8 _idx) const |
| bool | SetBitMask (uint32 _bitMask) |
| uint32 | GetBitMask () const |
| void | OnValueRefreshed (uint32 const _value) |
| virtual string const | GetAsString () const |
| virtual string const | GetAsBinaryString () const |
| virtual bool | SetFromString (string const &_value) |
| virtual void | ReadXML (uint32 const _homeId, uint8 const _nodeId, uint8 const _commandClassId, TiXmlElement const *_valueElement) |
| virtual void | WriteXML (TiXmlElement *_valueElement) |
| string | GetBitHelp (uint8 _idx) |
| bool | SetBitHelp (uint8 _idx, string help) |
| string | GetBitLabel (uint8 _idx) |
| bool | SetBitLabel (uint8 _idx, string label) |
| uint8 | GetSize () const |
| void | SetSize (uint8 size) |
Public Member Functions inherited from OpenZWave::Value | |
| Value (uint32 const _homeId, uint8 const _nodeId, ValueID::ValueGenre const _genre, uint8 const _commandClassId, uint8 const _instance, uint16 const _index, ValueID::ValueType const _type, string const &_label, string const &_units, bool const _readOnly, bool const _writeOnly, bool const _isset, uint8 const _pollIntensity) | |
| Value () | |
| ValueID const & | GetID () const |
| bool | IsReadOnly () const |
| bool | IsWriteOnly () const |
| bool | IsSet () const |
| bool | IsPolled () const |
| string const | GetLabel () const |
| void | SetLabel (string const &_label, string const lang="") |
| string const & | GetUnits () const |
| void | SetUnits (string const &_units) |
| string const | GetHelp () const |
| void | SetHelp (string const &_help, string const lang="") |
| uint8 const & | GetPollIntensity () const |
| void | SetPollIntensity (uint8 const &_intensity) |
| int32 | GetMin () const |
| int32 | GetMax () const |
| void | SetChangeVerified (bool _verify) |
| bool | GetChangeVerified () |
| bool | Set () |
Public Member Functions inherited from OpenZWave::Ref | |
| Ref () | |
| void | AddRef () |
| int32 | Release () |
Additional Inherited Members | |
Static Public Member Functions inherited from OpenZWave::Value | |
| static ValueID::ValueGenre | GetGenreEnumFromName (char const *_name) |
| static char const * | GetGenreNameFromEnum (ValueID::ValueGenre _genre) |
| static ValueID::ValueType | GetTypeEnumFromName (char const *_name) |
| static char const * | GetTypeNameFromEnum (ValueID::ValueType _type) |
Protected Member Functions inherited from OpenZWave::Value | |
| virtual | ~Value () |
| bool | IsCheckingChange () const |
| void | SetCheckingChange (bool _check) |
| void | OnValueRefreshed () |
| void | OnValueChanged () |
| int | VerifyRefreshedValue (void *_originalValue, void *_checkValue, void *_newValue, ValueID::ValueType _type, int _originalValueLength=0, int _checkValueLength=0, int _newValueLength=0) |
Protected Member Functions inherited from OpenZWave::Ref | |
| virtual | ~Ref () |
Protected Attributes inherited from OpenZWave::Value | |
| int32 | m_min |
| int32 | m_max |
| time_t | m_refreshTime |
| bool | m_verifyChanges |
| ValueID | m_id |
BitSet value sent to/received from a node.
| ValueBitSet::ValueBitSet | ( | uint32 const | _homeId, |
| uint8 const | _nodeId, | ||
| ValueID::ValueGenre const | _genre, | ||
| uint8 const | _commandClassId, | ||
| uint8 const | _instance, | ||
| uint16 const | _index, | ||
| string const & | _label, | ||
| string const & | _units, | ||
| bool const | _readOnly, | ||
| bool const | _writeOnly, | ||
| uint32 const | _value, | ||
| uint8 const | _pollIntensity ) |
|
inline |
|
inlinevirtual |
| bool ValueBitSet::ClearBit | ( | uint8 const | _idx | ) |
|
virtual |
|
virtual |
Reimplemented from OpenZWave::Value.
| bool ValueBitSet::GetBit | ( | uint8 | _idx | ) | const |
| string ValueBitSet::GetBitHelp | ( | uint8 | _idx | ) |
| string ValueBitSet::GetBitLabel | ( | uint8 | _idx | ) |
| uint32 ValueBitSet::GetBitMask | ( | ) | const |
| uint8 ValueBitSet::GetSize | ( | ) | const |
| uint32 ValueBitSet::GetValue | ( | ) | const |
| void ValueBitSet::OnValueRefreshed | ( | uint32 const | _value | ) |
|
virtual |
Reimplemented from OpenZWave::Value.
| bool ValueBitSet::Set | ( | uint32 const | _value | ) |
| bool ValueBitSet::SetBit | ( | uint8 const | _idx | ) |
| bool ValueBitSet::SetBitHelp | ( | uint8 | _idx, |
| string | help ) |
| bool ValueBitSet::SetBitLabel | ( | uint8 | _idx, |
| string | label ) |
| bool ValueBitSet::SetBitMask | ( | uint32 | _bitMask | ) |
|
virtual |
Reimplemented from OpenZWave::Value.
| void ValueBitSet::SetSize | ( | uint8 | size | ) |
|
virtual |
Reimplemented from OpenZWave::Value.