Serial Framework C++ Edition
Public Member Functions | List of all members
CwclHardwareChangeMessage Class Reference

The Hardware Changed message is broadcast to all subscribers when changes in the hardware configuration have been detected. The message ID is wclCommon::WCL_MSG_ID_SYS_HARDWARE_CHANGED. More...

#include <wclMessaging.h>

Inheritance diagram for CwclHardwareChangeMessage:
CwclSystemCategoryMessage CwclMessage

Public Member Functions

 CwclHardwareChangeMessage (const GUID &InterfaceClass, const GUID &DeviceClass, const tstring &Instance, const bool Inserted)
 Creates new Hardware Changed message object.
 
GUID GetInterfaceClass () const
 Gets the device interface class GUID.
 
 __declspec (property(get=GetInterfaceClass)) GUID InterfaceClass
 Gets the device interface class GUID.
 
GUID GetDeviceClass () const
 Gets the device class GUID.
 
 __declspec (property(get=GetDeviceClass)) GUID DeviceClass
 Gets the device class GUID.
 
tstring GetInstance () const
 Gets the device instance string.
 
 __declspec (property(get=GetInstance)) tstring Instance
 Gets the device instance string.
 
bool GetInserted () const
 Gets the device state.
 
 __declspec (property(get=GetInserted)) bool Inserted
 Gets the device state.
 
- Public Member Functions inherited from CwclSystemCategoryMessage
 CwclSystemCategoryMessage (const unsigned char Id)
 Creates new system message object.
 
- Public Member Functions inherited from CwclMessage
 CwclMessage (const unsigned char Id, const unsigned char Category)
 Creates new message object.
 
virtual ~CwclMessage ()
 Frees the message object.
 
void AddRef ()
 Increments the reference count of the object. This method should be called for every new reference to the object.
 
void Release ()
 Decrements the reference count for the object.
 
unsigned char GetCategory () const
 Gets the message category ID.
 
 __declspec (property(get=GetCategory)) unsigned char Category
 Gets the message category ID.
 
unsigned char GetId () const
 Gets the message ID.
 
 __declspec (property(get=GetId)) unsigned char Id
 Gets the message ID.
 

Detailed Description

The Hardware Changed message is broadcast to all subscribers when changes in the hardware configuration have been detected. The message ID is wclCommon::WCL_MSG_ID_SYS_HARDWARE_CHANGED.

See also
CwclSystemCategoryMessage