INotificationEvent

The INotificationEvent class provides the details of a notification event to an observer object. INotifier objects create notification events when these objects change or when they must notify observer objects of events. All UI classes may inherit from the INotifier class to obtain the ability to notify. Currently, the UI has implemented the IWindow class as inheriting from INotifier. Therefore, all classes derived from IWindow inherit this ability.


INotificationEvent - Member Functions and Data by Group

Constructors & Destructor

You can construct, destruct, and assign objects of this class.


[view class]
~INotificationEvent
public:
virtual ~INotificationEvent()

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
INotificationEvent
Constructs a notification event from an interest. Notifiers typically publish their supported interests through method accessors.


Overload 1
public:
INotificationEvent( INotifier& notifier, const INotificationId& identifier )

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 2
public:
INotificationEvent(const IInterest& interest)

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 3
public:
INotificationEvent(const INotificationEvent& event)

You can construct an INotificationEvent object using a copy of an existing notification event.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 4
protected:
INotificationEvent()

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
operator =
public:
INotificationEvent& operator =( const INotificationEvent& event )
Assigns the contents of one notification event object to another.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Duplication


[view class]
clone
public:
virtual INotificationEvent* clone() const
Returns a pointer to a copy of this object.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Event Attributes

Use these members to get and set the attributes of objects of this class.


[view class]
interest
public:
virtual const IInterest& interest() const
returns the IInterest which contains event information such as the notifier address and event id.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
notificationId
public:
virtual INotificationId notificationId() const

Returns the INotificationId for the event. The derived INotifier classes document the notification identifiers.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
notifierAddress
public:
virtual INotifierAddress notifierAddress() const
returns a notifier address used to identify the originator of the event.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


INotificationEvent - Inherited Member Functions and Data

Inherited Public Functions

Inherited Public Data

Inherited Protected Functions

Inherited Protected Data