AbstractSubject Class Reference

#include <CaDesigner.h>

Inheritance diagram for AbstractSubject:

Inheritance graph
[legend]

List of all members.


Detailed Description

Simple subject's base class.

Note:
Design pattern observer.

This code was copy-pasted from FSS (Fast SAT Solver) project.

Definition at line 77 of file CaDesigner.h.


Public Member Functions

virtual ~AbstractSubject ()
virtual void addObserver (IObserver *)
 Add observer to list of listeners.

Protected Member Functions

 AbstractSubject ()
void notify ()
 Send notification to all observers (listeners).

Private Attributes

Private * d

Constructor & Destructor Documentation

~AbstractSubject (  )  [virtual]

Definition at line 315 of file CaDesigner.cpp.

AbstractSubject (  )  [protected]

Definition at line 310 of file CaDesigner.cpp.


Member Function Documentation

void addObserver ( IObserver observer  )  [virtual]

Add observer to list of listeners.

Parameters:
observer Observer object to add to list of listeners.
Note:
Observers are notified in the same order, as there are added to lsit of listeners.

Design pattern observer

Implements ISubject.

Definition at line 320 of file CaDesigner.cpp.

void notify (  )  [protected]

Send notification to all observers (listeners).

Note:
Observers are notified in the same order, as there are added to lsit of listeners.

Definition at line 324 of file CaDesigner.cpp.

References IObserver::notify().

Referenced by AbstractProcess::start().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Private* d [private]

Reimplemented in AbstractProcess, AbstractProcessWatched, and CaDesigner.

Definition at line 93 of file CaDesigner.h.


The documentation for this class was generated from the following files:
Generated on Sat May 2 16:39:35 2009 for nucad by  doxygen 1.5.4