Main Page   Namespace List   Class Hierarchy   Compound List   File List   Header Files   Namespace Members   Compound Members   File Members  

arg::subject::notify_strategy Class Reference

Interface class to support notifying observers. More...

#include <arg_observer.h>

List of all members.

Public Members

virtual void operator() (observer* obs) const = 0


Detailed Description

template<class observer> class arg::subject::notify_strategy

Interface class to support notifying observers.

The user provides a derived class (implementing the function call operator) to the subject::notify(). This user class is responsible for passing the notification message to each supplied observer.


Member Function Documentation

virtual void arg::subject::notify_strategy::operator() (observer * obs) const [pure virtual]

Parameters:
obs   an observer to be notified

The documentation for this class was generated from the following file:
Copyright 1999-2000 Alan Griffiths