[Home] [Prev] [Next] [Up]


XGReceive class

The second of the XGSend/XGReceive pair; this receives messages send from an XGSend object.

Usage:

#include <XEvent.h>

class XGReceive;

Description

This receives messages from an XGSend object

Construction/Destruction

XGReceive::XGReceive()

Create a receiver. Register this with the sender by calling the sender's AddReceiver method. Note that this receiver can be registered with multiple senders, and the sender will deal with multiple receivers.

XGReceive::~XGReceive()

Release this receiver, and unregistere it.

Receive

void XGReceive::RegisterMessage(long msg, long arg, void *parg)

Override this method to receive messages. If not handled, the method can do nothing.


[Home] [Prev] [Next] [Up]