119 ValueType_Max = ValueType_BitSet
137 return ((
uint8) ((m_id & 0xff000000) >> 24));
148 return ((
ValueGenre) ((m_id & 0x00c00000) >> 22));
157 string GetGenreAsString()
const;
167 return ((
uint8) ((m_id & 0x003fc000) >> 14));
180 return ((
uint8) (((m_id & 0xff0)) >> 4));
193 return ((
uint16) ((m_id1 & 0xFFFF0000) >> 16));
205 return ((
ValueType) (m_id & 0x0000000f));
215 string GetTypeAsString()
const;
224 return (uint64) (((uint64) m_id1 << 32) | m_id);
230 return ((m_homeId == _other.m_homeId) && (m_id == _other.m_id) && (m_id1 == _other.m_id1));
234 return ((m_homeId != _other.m_homeId) || (m_id != _other.m_id) || (m_id1 != _other.m_id1));
238 if (m_homeId == _other.m_homeId)
240 if (m_id == _other.m_id)
242 return (m_id1 < _other.m_id1);
246 return (m_id < _other.m_id);
251 return (m_homeId < _other.m_homeId);
256 if (m_homeId == _other.m_homeId)
258 if (m_id == _other.m_id)
260 return (m_id1 > _other.m_id1);
264 return (m_id > _other.m_id);
269 return (m_homeId > _other.m_homeId);
290 m_id = (((
uint32) _nodeId) << 24) | (((
uint32) _genre) << 22) | (((
uint32) _commandClassId) << 14) | (((
uint32) (_instance & 0xFF)) << 4) | ((
uint32) _type);
291 m_id1 = (((
uint32) _valueIndex) << 16);
302 m_id = ((
uint32) (
id & 0xFFFFFFFF));
303 m_id1 = (
uint32) (
id >> 32);
308 m_id1(0), m_homeId(_homeId)
310 m_id = ((
uint32) _nodeId) << 24;
315 m_id = (((
uint32) _nodeId) << 24) | (((
uint32) _instance) << 4);
321 m_id(0), m_id1(0), m_homeId(0)
332 uint32 GetValueStoreKey()
const 340 return (((m_id & 0x003fc000) >> 6) | (m_id1 & 0xffff0000) | ((m_id & 0xFF0) >> 4));
344 static uint32 GetValueStoreKey(
uint8 const _commandClassId,
uint8 const _instance,
uint16 const _valueIndex)
347 uint32 key = (((
uint32) _instance)) | (((
uint32) _commandClassId) << 8) | (((
uint32) (_valueIndex & 0xFFFF)) << 16);
Definition: Bitfield.cpp:30
uint16 GetIndex() const
Definition: ValueID.h:191
uint32 GetHomeId() const
Definition: ValueID.h:126
#define OPENZWAVE_EXPORT
Definition: Defs.h:51
unsigned short uint16
Definition: Defs.h:89
ValueType
Definition: ValueID.h:106
Definition: ValueID.h:116
Definition: ValueID.h:110
uint8 GetCommandClassId() const
Definition: ValueID.h:165
The main public interface to OpenZWave.
Definition: Manager.h:108
uint8 GetNodeId() const
Definition: ValueID.h:135
uint8 GetInstance() const
Definition: ValueID.h:178
Definition: ValueID.h:118
ValueGenre GetGenre() const
Definition: ValueID.h:146
Container that holds all of the values associated with a given node.
Definition: ValueStore.h:49
The Node class describes a Z-Wave node object...typically a device on the Z-Wave network.
Definition: Node.h:81
ValueType GetType() const
Definition: ValueID.h:203
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:287
ValueID(uint32 _homeId, uint64 id)
Definition: ValueID.h:299
Definition: ValueID.h:109
The Driver class handles communication between OpenZWave and a device attached via a serial port (typ...
Definition: Driver.h:84
unsigned int uint32
Definition: Defs.h:92
Manages a group of devices (various nodes associated with each other).
Definition: Group.h:59
uint64 GetId() const
Definition: ValueID.h:222
Provides a container for data sent via the notification callback handler installed by a call to Manag...
Definition: Notification.h:62
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:111
Definition: ValueID.h:114
Definition: ValueID.h:112
Definition: ValueID.h:117
Definition: ValueID.h:115
ValueGenre
Definition: ValueID.h:92
Base class for values associated with a node.
Definition: Value.h:53
Definition: ValueID.h:113
unsigned char uint8
Definition: Defs.h:86