IObserverConnectionTo

IObserverConnectionTo is used to wire notifications from a notifier to an observer member function.


IObserverConnectionTo - Member Functions and Data by Group

Constructors & Destructor

You can construct, destruct but not assign or copy objects of this class.


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

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
IObserverConnectionTo
public:
IObserverConnectionTo( ATarget& target, MemberFunction memberFunction )
Constructor which takes a target object and member function to receive notifications. The member function is passed the following arguments: arg1: const INotificationEvent& theEvent

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Event Dispatching

Use these members to evaluate events and determine if it is appropriate for an observer object to process them.


[view class]
dispatchNotificationEvent
protected:
virtual IObserverConnectionTo < ATarget >& dispatchNotificationEvent( const INotificationEvent& event )
Dispatches the notification event to the target member function.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


IObserverConnectionTo - Type Definitions


[view class]
MemberFunction
typedef void (ATarget::*MemberFunction)(constINotificationEvent&)

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


IObserverConnectionTo - Inherited Member Functions and Data

Inherited Public Functions

IObserver

Inherited Public Data

Inherited Protected Functions

IObserver

Inherited Protected Data