97 ValueType_Max = ValueType_Raw
162 uint64
GetId()
const{
return (uint64) ( ( (uint64)m_id1 << 32 ) | m_id );}
165 bool operator == (
ValueID const& _other )
const{
return( ( m_homeId == _other.m_homeId ) && ( m_id == _other.m_id ) && ( m_id1 == _other.m_id1 ) ); }
166 bool operator != (
ValueID const& _other )
const{
return( ( m_homeId != _other.m_homeId ) || ( m_id != _other.m_id ) || ( m_id1 != _other.m_id1 ) ); }
167 bool operator < (
ValueID const& _other )
const
169 if( m_homeId == _other.m_homeId )
171 if( m_id == _other.m_id )
173 return( m_id1 < _other.m_id1 );
177 return( m_id < _other.m_id );
182 return( m_homeId < _other.m_homeId );
185 bool operator > (
ValueID const& _other )
const
187 if( m_homeId == _other.m_homeId )
189 if( m_id == _other.m_id )
191 return( m_id1 > _other.m_id1 );
195 return( m_id > _other.m_id );
200 return( m_homeId > _other.m_homeId );
223 uint8 const _commandClassId,
224 uint8 const _instance,
225 uint8 const _valueIndex,
230 m_id = (((
uint32)_nodeId)<<24)
232 | (((
uint32)_commandClassId)<<14)
233 | (((
uint32)_valueIndex)<<4)
235 m_id1 = (((
uint32)_instance)<<24);
250 m_id = ((
uint32)(
id & 0xFFFFFFFF));
251 m_id1 = (
uint32)(
id >> 32);
255 ValueID(
uint32 const _homeId,
uint8 const _nodeId ): m_id1( 0 ),m_homeId( _homeId ){ m_id = ((
uint32)_nodeId)<<24; }
259 m_id = (((
uint32)_nodeId)<<24);
260 m_id1 = (((
uint32)_instance)<<24);
264 ValueID():m_id(0),m_id1(0),m_homeId(0){}
272 uint32 GetValueStoreKey()
const
274 return ( ( m_id & 0x003ffff0 ) | ( m_id1 & 0xff000000 ) );
278 static uint32 GetValueStoreKey(
uint8 const _commandClassId,
uint8 const _instance,
uint8 const _valueIndex )
282 | (((
uint32)_commandClassId)<<14)
283 | (((
uint32)_valueIndex)<<4);
uint8 GetNodeId() const
Definition: ValueID.h:110
Container that holds all of the values associated with a given node.
Definition: ValueStore.h:43
uint8 GetInstance() const
Definition: ValueID.h:136
#define OPENZWAVE_EXPORT
Definition: Defs.h:52
Implements COMMAND_CLASS_MANUFACTURER_SPECIFIC (0x72), a Z-Wave device command class.
Definition: ManufacturerSpecific.h:38
ValueType
Definition: ValueID.h:85
ValueGenre GetGenre() const
Definition: ValueID.h:118
uint32 GetHomeId() const
Definition: ValueID.h:104
The main public interface to OpenZWave.
Definition: Manager.h:109
uint64 GetId() const
Definition: ValueID.h:162
The Node class describes a Z-Wave node object...typically a device on the Z-Wave network.
Definition: Node.h:64
Base class for all Z-Wave command classes.
Definition: CommandClass.h:46
The Driver class handles communication between OpenZWave and a device attached via a serial port (typ...
Definition: Driver.h:58
unsigned int uint32
Definition: Defs.h:80
Manages a group of devices (various nodes associated with each other).
Definition: Group.h:49
ValueType GetType() const
Definition: ValueID.h:155
uint8 GetCommandClassId() const
Definition: ValueID.h:126
Provides a container for data sent via the notification callback handler installed by a call to Manag...
Definition: Notification.h:42
Provides a unique ID for a value reported by a Z-Wave device.
Definition: ValueID.h:53
uint8 GetIndex() const
Definition: ValueID.h:146
Base class for values associated with a node.
Definition: Value.h:47
ValueGenre
Definition: ValueID.h:71
unsigned char uint8
Definition: Defs.h:74