Serial Framework C++ Edition
|
The Serial Monitor allows your application to enumerate available serial devices and to monitor changes in its configuration. More...
#include <wclSerialDevices.h>
Public Member Functions | |
CwclSerialMonitor () | |
Creates a new Serial Monitor component. | |
virtual | ~CwclSerialMonitor () |
Frees the component. | |
int | Start () |
Starts monitoring hardware changes. | |
int | Stop () |
Stops monitoring hardware changes. | |
int | EnumDevices (wclSerialDevices &Devices) const |
Enumerates available serial devices. | |
bool | GetMonitoring () const |
Gets the hardware monitoring state. | |
__declspec (property(get=GetMonitoring)) bool Monitoring | |
Gets the hardware monitoring state. | |
__event void | OnInserted (void *Sender, const wclSerialDevice &Device) |
The event fires when a new serial device appeared in the system. | |
__event void | OnRemoved (void *Sender, const wclSerialDevice &Device) |
The event fires when a serial device has been removed from the system. | |
Protected Member Functions | |
virtual void | MessageReceived (const CwclMessage *const Message) |
The method called when a new notification message received. | |
virtual void | DoInserted (const wclSerialDevice &Device) |
Fires the OnInserted event. | |
virtual void | DoRemoved (const wclSerialDevice &Device) |
Fires the OnRemoved event. | |
The Serial Monitor allows your application to enumerate available serial devices and to monitor changes in its configuration.