#include <CaDesigner.h>

This code was copy-pasted from FSS (Fast SAT Solver) project.
Definition at line 154 of file CaDesigner.h.
Public Member Functions | |
| virtual | ~AbstractProcessWatched () |
| 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 long | getTimeElapsed () |
| Returns time elapsed by activity. | |
| virtual int | getStepsCount () |
| Returns current step number. | |
| virtual void | addObserver (IObserver *) |
| Add observer to list of listeners. | |
Protected Member Functions | |
| AbstractProcessWatched () | |
| 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 |
| ~AbstractProcessWatched | ( | ) | [virtual] |
Definition at line 395 of file CaDesigner.cpp.
| AbstractProcessWatched | ( | ) | [protected] |
Definition at line 388 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 from AbstractProcess.
Definition at line 399 of file CaDesigner.cpp.
References AbstractProcess::start().

| void stop | ( | ) | [virtual] |
Stop currently executed process as soon as possible.
Reimplemented from AbstractProcess.
Definition at line 406 of file CaDesigner.cpp.
References AbstractProcess::stop().
Referenced by CaDesigner::doStep().


| void reset | ( | ) | [virtual] |
Reset process to its initial state.
Reimplemented from AbstractProcess.
Definition at line 415 of file CaDesigner.cpp.
References AbstractProcess::reset().

| long getTimeElapsed | ( | ) | [virtual] |
Returns time elapsed by activity.
Definition at line 422 of file CaDesigner.cpp.
Referenced by writeStats().

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

| virtual void doStep | ( | ) | [protected, pure virtual, inherited] |
Do one step of process.
Implemented in CaDesigner.
Referenced by AbstractProcess::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 AbstractProcess::start().


Private* d [private] |
Reimplemented from AbstractProcess.
Reimplemented in CaDesigner.
Definition at line 171 of file CaDesigner.h.
1.5.4