Serial Framework C++ Edition
|
The message receiver object. More...
#include <wclMessaging.h>
Public Member Functions | |
CwclMessageReceiver () | |
Creates new message receiver object. | |
virtual | ~CwclMessageReceiver () |
Frees the message receiver. | |
int | Close () |
Closes the receiver and stops listening for the messages. | |
int | Open () |
Opens the receiver and starts listening for the messages. | |
int | Post (CwclMessage *const Message, const bool Sync=false) |
Posts the message into the messages queue. | |
bool | _GetListening () const |
Gets the receiver state. | |
__declspec (property(get=_GetListening)) bool Listening | |
Gets the receiver state. | |
__event void | OnMessage (const CwclMessage *const Message) |
The event fires when a new message has been received. | |
Protected Member Functions | |
virtual void | DoMessage (const CwclMessage *const Message) |
Fires the OnMessage event. | |
The message receiver object.