111 ValueType_Max = ValueType_BitSet
129 return ((
uint8) ((m_id & 0xff000000) >> 24));
140 return ((
ValueGenre) ((m_id & 0x00c00000) >> 22));
149 string GetGenreAsString()
const;
159 return ((
uint8) ((m_id & 0x003fc000) >> 14));
172 return ((
uint8) (((m_id & 0xff0)) >> 4));
185 return ((
uint16) ((m_id1 & 0xFFFF0000) >> 16));
197 return ((
ValueType) (m_id & 0x0000000f));
207 string GetTypeAsString()
const;
216 return (uint64) (((uint64) m_id1 << 32) | m_id);
222 string const GetAsString()
const;
227 return ((m_homeId == _other.m_homeId) && (m_id == _other.m_id) && (m_id1 == _other.m_id1));
231 return ((m_homeId != _other.m_homeId) || (m_id != _other.m_id) || (m_id1 != _other.m_id1));
235 if (m_homeId == _other.m_homeId)
237 if (m_id == _other.m_id)
239 return (m_id1 < _other.m_id1);
243 return (m_id < _other.m_id);
248 return (m_homeId < _other.m_homeId);
253 if (m_homeId == _other.m_homeId)
255 if (m_id == _other.m_id)
257 return (m_id1 > _other.m_id1);
261 return (m_id > _other.m_id);
266 return (m_homeId > _other.m_homeId);
287 m_id = (((
uint32) _nodeId) << 24) | (((
uint32) _genre) << 22) | (((
uint32) _commandClassId) << 14) | (((
uint32) (_instance & 0xFF)) << 4) | ((
uint32) _type);
288 m_id1 = (((
uint32) _valueIndex) << 16);
299 m_id = ((
uint32) (
id & 0xFFFFFFFF));
300 m_id1 = (
uint32) (
id >> 32);
305 m_id1(0), m_homeId(_homeId)
307 m_id = ((
uint32) _nodeId) << 24;
312 m_id = (((
uint32) _nodeId) << 24) | (((
uint32) _instance) << 4);
318 m_id(0), m_id1(0), m_homeId(0)
337 return (((m_id & 0x003fc000) >> 6) | (m_id1 & 0xffff0000) | ((m_id & 0xFF0) >> 4));
344 uint32 key = (((
uint32) _instance)) | (((
uint32) _commandClassId) << 8) | (((
uint32) (_valueIndex & 0xFFFF)) << 16);
uint8 GetNodeId() const
Definition: ValueID.h:127
Definition: Bitfield.cpp:30
uint8 GetInstance() const
Definition: ValueID.h:170
#define OPENZWAVE_EXPORT
Definition: Defs.h:52
unsigned short uint16
Definition: Defs.h:88
ValueType
Definition: ValueID.h:98
ValueID(uint32 const _homeId, uint8 const _nodeId)
Definition: ValueID.h:304
ValueGenre GetGenre() const
Definition: ValueID.h:138
Definition: ValueID.h:108
Definition: ValueID.h:102
uint32 GetValueStoreKey() const
Definition: ValueID.h:329
uint32 GetHomeId() const
Definition: ValueID.h:118
Definition: ValueID.h:110
uint64 GetId() const
Definition: ValueID.h:214
static uint32 GetValueStoreKey(uint8 const _commandClassId, uint8 const _instance, uint16 const _valueIndex)
Definition: ValueID.h:341
ValueID(uint32 const _homeId, uint8 const _nodeId, uint32 const _instance)
Definition: ValueID.h:309
ValueID()
Definition: ValueID.h:317
ValueID(uint32 const _homeId, uint8 const _nodeId, ValueGenre const _genre, uint8 const _commandClassId, uint8 const _instance, uint16 const _valueIndex, ValueType const _type)
Definition: ValueID.h:284
ValueID(uint32 _homeId, uint64 id)
Definition: ValueID.h:296
Definition: ValueID.h:101
unsigned int uint32
Definition: Defs.h:91
uint16 GetIndex() const
Definition: ValueID.h:183
ValueType GetType() const
Definition: ValueID.h:195
uint8 GetCommandClassId() const
Definition: ValueID.h:157
Provides a unique ID for a value reported by a Z-Wave device.The ValueID is used to uniquely identify...
Definition: ValueID.h:76
Definition: ValueID.h:103
Definition: ValueID.h:106
Definition: ValueID.h:104
Definition: ValueID.h:109
Definition: ValueID.h:107
ValueGenre
Definition: ValueID.h:84
Definition: ValueID.h:105
unsigned char uint8
Definition: Defs.h:85