Notification. More...

#include <rnotification.h>

Inheritance diagram for RNotification:
[legend]
Collaboration diagram for RNotification:
[legend]

Public Member Functions

 RNotification (const RCString &name, RObject *sender)
 
 RNotification (const hNotification handle, RObject *sender)
 
RCString GetName (void) const
 
hNotification GetHandle (void) const
 
RObjectGetSender (void) const
 
RObjectGetReceiver (void) const
 
virtual ~RNotification (void)
 

Private Attributes

const hNotification Handle
 
RObjectSender
 
RObjectReceiver
 

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
nameName of the notification.
senderObject sending the notification.
RNotification ( const hNotification  handle,
RObject sender 
)

Constructor of a notification.

Parameters
handleHandle of the notification.
senderObject sending the notification.
virtual ~RNotification ( void  )
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

const hNotification Handle
private

Type of the notification.

RObject* Sender
private

Object that has send the notification.

RObject* Receiver
private

Object which is currently receiving the notification.