#include <algorithmConditional.h>
Inheritance diagram for algorithmConditional:
Public Methods | |
algorithmConditional () | |
default constructor - set the null the member variables. | |
virtual | ~algorithmConditional () |
default destructor. | |
virtual void | setCut (cutVI* cut) |
set the cut of the algorithm conditional. | |
virtual void | setAlgorithm (algorithmVI* alg) |
set the algorithm. | |
virtual void | initialize () |
initialize the algorithm only if the cut is fulfill. | |
virtual void | execute () |
execute the algorithm only if the cut is fulfill. | |
virtual void | finalize () |
finalize the algorithm only if the cut is fulfill. | |
Protected Methods | |
virtual bool | condition () |
returns true if the condition is fulfill. | |
Private Attributes | |
cutVI* | m_cut |
pointer to the cut. | |
algorithmVI* | m_alg |
pointer to the algorithm. |
\algorithmConditional is an algorithm.
\algorithmConditional runs its internal algorithm when a cut condition is fulfill.
setCut()
and setAlgorithm
.
Definition at line 22 of file algorithmConditional.h.
|
default constructor - set the null the member variables.
Definition at line 28 of file algorithmConditional.h.
|
|
|
execute the algorithm only if the cut is fulfill.
Reimplemented from algorithmVI.
Definition at line 40 of file algorithmConditional.h.
|
finalize the algorithm only if the cut is fulfill.
Reimplemented from algorithmVI.
Definition at line 42 of file algorithmConditional.h.
|
initialize the algorithm only if the cut is fulfill.
Reimplemented from algorithmVI.
Definition at line 38 of file algorithmConditional.h.
|
|
|
|