Notification. More...
#include <rnotification.h>
Inheritance diagram for RNotification:
Collaboration diagram for RNotification:
Public Member Functions | |
RNotification (const RCString &name, RObject *sender) | |
RNotification (const hNotification handle, RObject *sender) | |
RCString | GetName (void) const |
hNotification | GetHandle (void) const |
RObject * | GetSender (void) const |
RObject * | GetReceiver (void) const |
virtual | ~RNotification (void) |
Private Attributes | |
const hNotification | Handle |
RObject * | Sender |
RObject * | Receiver |
Detailed Description
Notification.
The RNotification provides a representation for a notification that can be send by an object.
Constructor & Destructor Documentation
RNotification | ( | const RCString & | name, |
RObject * | sender | ||
) |
Constructor of a notification.
- Parameters
-
name Name of the notification. sender Object sending the notification.
RNotification | ( | const hNotification | handle, |
RObject * | sender | ||
) |
Constructor of a notification.
- Parameters
-
handle Handle of the notification. sender Object sending the notification.
|
virtual |
Destruct. This is only used for OO purposes.
Member Function Documentation
RCString GetName | ( | void | ) | const |
Get the name of a notification.
hNotification GetHandle | ( | void | ) | const |
Get the handle of the notification.
RObject* GetSender | ( | void | ) | const |
Get the sender of the notification.
RObject* GetReceiver | ( | void | ) | const |
Get the receiver of the notification.
Field Documentation
|
private |
Type of the notification.
|
private |
Object that has send the notification.
|
private |
Object which is currently receiving the notification.