107            ValueType_Max = ValueType_BitSet        
 
 
  125                return( (
uint8)( (m_id & 0xff000000) >> 24 ) );
 
 
  136                return( (
ValueGenre)( (m_id & 0x00c00000) >> 22 ) );
 
 
  147                return( (
uint8)( (m_id & 0x003fc000) >> 14 ) );
 
 
  160                return( (
uint8)( ( (m_id & 0xff0) ) >> 4 ) );
 
 
  173                return( (
uint16)( (m_id1 & 0xFFFF0000) >> 16 ) );
 
 
  185                return( (
ValueType)( m_id & 0x0000000f ) );
 
 
  195                return (uint64) ( ( (uint64)m_id1 << 32 ) | m_id );
 
 
  199        bool operator ==    ( 
ValueID const& _other )
const{ 
return( ( m_homeId == _other.m_homeId ) && ( m_id == _other.m_id ) && ( m_id1 == _other.m_id1 ) ); }
 
  200        bool operator !=    ( 
ValueID const& _other )
const{ 
return( ( m_homeId != _other.m_homeId ) || ( m_id != _other.m_id ) || ( m_id1 != _other.m_id1 ) ); }
 
  201        bool operator <     ( 
ValueID const& _other )
const 
  203            if( m_homeId == _other.m_homeId )
 
  205                if( m_id == _other.m_id )
 
  207                    return( m_id1 < _other.m_id1 );
 
  211                    return( m_id < _other.m_id );
 
  216                return( m_homeId < _other.m_homeId );
 
 
  219        bool operator >     ( 
ValueID const& _other )
const 
  221            if( m_homeId == _other.m_homeId )
 
  223                if( m_id == _other.m_id )
 
  225                    return( m_id1 > _other.m_id1 );
 
  229                    return( m_id > _other.m_id );
 
  234                return( m_homeId > _other.m_homeId );
 
 
  257            uint8 const _commandClassId,
 
  258            uint8 const _instance,
 
  264            m_id = (((
uint32)_nodeId)<<24)
 
  266                 | (((
uint32)_commandClassId)<<14)
 
  267                 | (((
uint32)(_instance & 0xFF))<<4)
 
  269            m_id1 = (((
uint32)_valueIndex)<<16);
 
 
  284                m_id = ((
uint32)(
id & 0xFFFFFFFF));
 
  285                m_id1 = (
uint32)(
id >> 32);
 
 
  293                m_id = ((
uint32)_nodeId)<<24;
 
  298                m_id = (((
uint32)_nodeId)<<24) | (((
uint32)_instance) << 4);
 
  317        uint32 GetValueStoreKey()
const 
  325            return ( ( ( m_id & 0x003fc000 ) >> 6) | ( m_id1 & 0xffff0000 )  | ( ( m_id & 0xFF0) >> 4 ) );
 
  329        static uint32 GetValueStoreKey( 
uint8 const _commandClassId, 
uint8 const _instance, 
uint16 const _valueIndex )
 
  333                 | (((
uint32)_commandClassId)<<8)
 
  334                 | (((
uint32)(_valueIndex & 0xFFFF))<<16);
 
 
unsigned short uint16
Definition Defs.h:92
unsigned int uint32
Definition Defs.h:95
#define OPENZWAVE_EXPORT
Definition Defs.h:51
unsigned char uint8
Definition Defs.h:89
Base class for all Z-Wave command classes.
Definition CommandClass.h:56
The Driver class handles communication between OpenZWave and a device attached via a serial port (typ...
Definition Driver.h:65
Manages a group of devices (various nodes associated with each other).
Definition Group.h:50
The main public interface to OpenZWave.
Definition Manager.h:111
Implements COMMAND_CLASS_MANUFACTURER_SPECIFIC (0x72), a Z-Wave device command class.
Definition ManufacturerSpecific.h:40
The Node class describes a Z-Wave node object...typically a device on the Z-Wave network.
Definition Node.h:66
Provides a container for data sent via the notification callback handler installed by a call to Manag...
Definition Notification.h:45
Provides a unique ID for a value reported by a Z-Wave device.
Definition ValueID.h:63
ValueType
Definition ValueID.h:95
@ ValueType_Button
Definition ValueID.h:104
@ ValueType_Raw
Definition ValueID.h:105
@ ValueType_Int
Definition ValueID.h:99
@ ValueType_String
Definition ValueID.h:103
@ ValueType_List
Definition ValueID.h:100
@ ValueType_Schedule
Definition ValueID.h:101
@ ValueType_Short
Definition ValueID.h:102
@ ValueType_Byte
Definition ValueID.h:97
@ ValueType_Decimal
Definition ValueID.h:98
@ ValueType_BitSet
Definition ValueID.h:106
uint32 GetHomeId() const
Definition ValueID.h:114
uint16 GetIndex() const
Definition ValueID.h:171
ValueType GetType() const
Definition ValueID.h:183
uint8 GetCommandClassId() const
Definition ValueID.h:145
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:253
uint8 GetInstance() const
Definition ValueID.h:158
ValueID(uint32 _homeId, uint64 id)
Definition ValueID.h:278
ValueGenre GetGenre() const
Definition ValueID.h:134
uint64 GetId() const
Definition ValueID.h:193
uint8 GetNodeId() const
Definition ValueID.h:123
ValueGenre
Definition ValueID.h:81
@ ValueGenre_Config
Definition ValueID.h:84
@ ValueGenre_System
Definition ValueID.h:85
@ ValueGenre_User
Definition ValueID.h:83
Container that holds all of the values associated with a given node.
Definition ValueStore.h:45
Base class for values associated with a node.
Definition Value.h:49