#include <ProgressSubjectMultiStep.h>
Inheritance diagram for ProgressSubjectMultiStep:

Public Member Functions | |
| virtual | ~ProgressSubjectMultiStep () |
| virtual void | attach (ProgressObserverMultiStep *observer, int perStepFreq) |
| Attach observer to subject. | |
| virtual void | detach (ProgressObserverMultiStep *observer) |
| Detach observer from subject. | |
| virtual int | stepCount () const=0 |
| Return total count of steps. | |
| virtual int | currentStep () const=0 |
| Return number of current step - always in range <0, stepCount()-1>. | |
| virtual int | patchCount () const=0 |
| Return total count of patches. | |
| virtual int | currentPatch () const=0 |
| Return number of current patch - always in range <0, patchCount()-1>. | |
Protected Member Functions | |
| void | notifyStep () |
| Subject's notification about starting new step. | |
| void | notifyPerStepProgress () |
| Subject's notification about progress. | |
Friends | |
| class | ObserverFinder |
Classes | |
| struct | TItem |
Definition at line 18 of file ProgressSubjectMultiStep.h.
| virtual ProgressSubjectMultiStep::~ProgressSubjectMultiStep | ( | ) | [inline, virtual] |
Definition at line 21 of file ProgressSubjectMultiStep.h.
| virtual void ProgressSubjectMultiStep::attach | ( | ProgressObserverMultiStep * | observer, | |
| int | perStepFreq | |||
| ) | [virtual] |
Attach observer to subject.
| observer | Observer to attach. | |
| perStepFreq | Frequency of callback during step. |
| virtual void ProgressSubjectMultiStep::detach | ( | ProgressObserverMultiStep * | observer | ) | [virtual] |
Detach observer from subject.
| observer | Observer to detach. |
| virtual int ProgressSubjectMultiStep::stepCount | ( | ) | const [pure virtual] |
| virtual int ProgressSubjectMultiStep::currentStep | ( | ) | const [pure virtual] |
Return number of current step - always in range <0, stepCount()-1>.
Implemented in RadiosityRenderer.
| virtual int ProgressSubjectMultiStep::patchCount | ( | ) | const [pure virtual] |
| virtual int ProgressSubjectMultiStep::currentPatch | ( | ) | const [pure virtual] |
Return number of current patch - always in range <0, patchCount()-1>.
Implemented in RadiosityRenderer.
| void ProgressSubjectMultiStep::notifyStep | ( | ) | [protected] |
Subject's notification about starting new step.
| void ProgressSubjectMultiStep::notifyPerStepProgress | ( | ) | [protected] |
Subject's notification about progress.
friend class ObserverFinder [friend] |
Definition at line 78 of file ProgressSubjectMultiStep.h.
1.5.2