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 return ((m_homeId == _other.m_homeId) && (m_id == _other.m_id) && (m_id1 == _other.m_id1));
226 return ((m_homeId != _other.m_homeId) || (m_id != _other.m_id) || (m_id1 != _other.m_id1));
230 if (m_homeId == _other.m_homeId)
232 if (m_id == _other.m_id)
234 return (m_id1 < _other.m_id1);
238 return (m_id < _other.m_id);
243 return (m_homeId < _other.m_homeId);
248 if (m_homeId == _other.m_homeId)
250 if (m_id == _other.m_id)
252 return (m_id1 > _other.m_id1);
256 return (m_id > _other.m_id);
261 return (m_homeId > _other.m_homeId);
282 m_id = (((
uint32) _nodeId) << 24) | (((
uint32) _genre) << 22) | (((
uint32) _commandClassId) << 14) | (((
uint32) (_instance & 0xFF)) << 4) | ((
uint32) _type);
283 m_id1 = (((
uint32) _valueIndex) << 16);
294 m_id = ((
uint32) (
id & 0xFFFFFFFF));
295 m_id1 = (
uint32) (
id >> 32);
300 m_id1(0), m_homeId(_homeId)
302 m_id = ((
uint32) _nodeId) << 24;
307 m_id = (((
uint32) _nodeId) << 24) | (((
uint32) _instance) << 4);
313 m_id(0), m_id1(0), m_homeId(0)
332 return (((m_id & 0x003fc000) >> 6) | (m_id1 & 0xffff0000) | ((m_id & 0xFF0) >> 4));
339 uint32 key = (((
uint32) _instance)) | (((
uint32) _commandClassId) << 8) | (((
uint32) (_valueIndex & 0xFFFF)) << 16);
Definition: Bitfield.cpp:30
uint16 GetIndex() const
Definition: ValueID.h:183
uint32 GetHomeId() const
Definition: ValueID.h:118
#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:299
Definition: ValueID.h:108
Definition: ValueID.h:102
uint8 GetCommandClassId() const
Definition: ValueID.h:157
uint8 GetNodeId() const
Definition: ValueID.h:127
uint8 GetInstance() const
Definition: ValueID.h:170
Definition: ValueID.h:110
ValueGenre GetGenre() const
Definition: ValueID.h:138
static uint32 GetValueStoreKey(uint8 const _commandClassId, uint8 const _instance, uint16 const _valueIndex)
Definition: ValueID.h:336
ValueType GetType() const
Definition: ValueID.h:195
ValueID(uint32 const _homeId, uint8 const _nodeId, uint32 const _instance)
Definition: ValueID.h:304
ValueID()
Definition: ValueID.h:312
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:279
ValueID(uint32 _homeId, uint64 id)
Definition: ValueID.h:291
Definition: ValueID.h:101
unsigned int uint32
Definition: Defs.h:91
uint64 GetId() const
Definition: ValueID.h:214
Provides a unique ID for a value reported by a Z-Wave device.The ValueID is used to uniquely identify...
Definition: ValueID.h:76
uint32 GetValueStoreKey() const
Definition: ValueID.h:324
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