![]() |
OpenZWave Library
1.5.0
|
Base class for values associated with a node. More...
#include <Value.h>
Public Member Functions | |
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 () | |
virtual void | ReadXML (uint32 const _homeId, uint8 const _nodeId, uint8 const _commandClassId, TiXmlElement const *_valueElement) |
virtual void | WriteXML (TiXmlElement *_valueElement) |
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 & | GetUnits () const |
void | SetUnits (string const &_units) |
string const & | GetHelp () const |
void | SetHelp (string const &_help) |
uint8 const & | GetPollIntensity () const |
void | SetPollIntensity (uint8 const &_intensity) |
int32 | GetMin () const |
int32 | GetMax () const |
void | SetChangeVerified (bool _verify) |
bool | GetChangeVerified () |
virtual string const | GetAsString () const |
virtual bool | SetFromString (string const &) |
bool | Set () |
![]() | |
Ref () | |
void | AddRef () |
int32 | Release () |
Static Public Member Functions | |
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 | |
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 _length=0) |
![]() | |
virtual | ~Ref () |
Protected Attributes | |
int32 | m_min |
int32 | m_max |
time_t | m_refreshTime |
bool | m_verifyChanges |
ValueID | m_id |
Friends | |
class | Driver |
class | ValueStore |
Base class for values associated with a node.
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::Value | ( | ) |
|
protectedvirtual |
|
inlinevirtual |
|
inline |
|
static |
|
static |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
|
static |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
bool Value::Set | ( | ) |
|
inline |
|
inlineprotected |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
virtual |
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |