#include <CaDesigner.h>

This code was copy-pasted from FSS (Fast SAT Solver) project.
Definition at line 102 of file CaDesigner.h.
Public Member Functions | |
| virtual | ~AbstractProcess () |
| virtual void | start () |
| Start process execution. | |
| virtual void | stop () |
| Stop currently executed process as soon as possible. | |
| virtual void | reset () |
| Reset process to its initial state. | |
| virtual int | getStepsCount () |
| Returns current step number. | |
| virtual void | addObserver (IObserver *) |
| Add observer to list of listeners. | |
Protected Member Functions | |
| AbstractProcess () | |
| virtual void | initialize ()=0 |
| Initialize process. | |
| virtual void | doStep ()=0 |
| Do one step of process. | |
| void | notify () |
| Send notification to all observers (listeners). | |
Private Attributes | |
| Private * | d |
| ~AbstractProcess | ( | ) | [virtual] |
Definition at line 348 of file CaDesigner.cpp.
| AbstractProcess | ( | ) | [protected] |
Definition at line 341 of file CaDesigner.cpp.
| void start | ( | ) | [virtual] |
Start process execution.
This method returns control after process ends (or after it is stopped by stop() or reset() method)
Reimplemented in AbstractProcessWatched.
Definition at line 352 of file CaDesigner.cpp.
References doStep(), and AbstractSubject::notify().
Referenced by AbstractProcessWatched::start().


| void stop | ( | ) | [virtual] |
Stop currently executed process as soon as possible.
Reimplemented in AbstractProcessWatched.
Definition at line 359 of file CaDesigner.cpp.
Referenced by AbstractProcessWatched::stop().

| void reset | ( | ) | [virtual] |
Reset process to its initial state.
Reimplemented in AbstractProcessWatched.
Definition at line 363 of file CaDesigner.cpp.
References initialize().
Referenced by AbstractProcessWatched::reset().


| int getStepsCount | ( | ) | [virtual] |
Returns current step number.
Definition at line 369 of file CaDesigner.cpp.
| virtual void initialize | ( | ) | [protected, pure virtual] |
Initialize process.
Implemented in CaDesigner.
Referenced by reset().

| virtual void doStep | ( | ) | [protected, pure virtual] |
Do one step of process.
Implemented in CaDesigner.
Referenced by start().

| void addObserver | ( | IObserver * | observer | ) | [virtual, inherited] |
Add observer to list of listeners.
| observer | Observer object to add to list of listeners. |
Design pattern observer
Implements ISubject.
Definition at line 320 of file CaDesigner.cpp.
| void notify | ( | ) | [protected, inherited] |
Send notification to all observers (listeners).
Definition at line 324 of file CaDesigner.cpp.
References IObserver::notify().
Referenced by start().


Private* d [private] |
Reimplemented from AbstractSubject.
Reimplemented in AbstractProcessWatched, and CaDesigner.
Definition at line 145 of file CaDesigner.h.
1.5.4