#include <algorithmVI.h>
Inheritance diagram for algorithmVI:
Public Methods | |
algorithmVI () | |
default constructor. | |
virtual | ~algorithmVI () |
default destructor. | |
virtual void | run () |
virtual method to run the algorithm. More... | |
virtual void | initialize () = 0 |
pure virtual method initialize the algorithm. | |
virtual void | execute () = 0 |
pure virtual method to execute the algorithm. | |
virtual void | finalize () = 0 |
pure virtual method to finalize the algorithm. | |
virtual void | command (std::string com) |
virtual method to execute a command. More... |
algorithms
are "executable" classes that runs with the method run().<br>
algorithms
should inherit from algorithmVI.
run()
executes the following methods: initialize()
, execute()
and finalize()
. initialize()
, execute()
, and
finalize()
are pure virtual. They have to be implemented in the derived classes. command()
allows to execute the following name commands: "run", "initialize","execute","finalize", each command executes the method of its name. This is useful dealing with composites, in particular it is used by the serverVI template class.
Definition at line 27 of file algorithmVI.h.
|
|
|
virtual method to execute a command.
The commands are the methods "run", "initialize", "execute", "finalize"
Reimplemented in eventVI.
Definition at line 13 of file algorithmVI.cpp.
|
pure virtual method to execute the algorithm.
Reimplemented in algorithmComposite, algorithmConditional, algorithmImport, algorithmTree, comApplyOptions, comCloseIO, comListOptions, comLoadCalibration, comOpenIO, comReadEvent, comSkipEvent, comWriteEvent, comWriteOutData, comWriteOutDetector, comWriteOutInfo, comWriteWelcome, runEventAlg, and runRunAlg.
|
pure virtual method to finalize the algorithm.
Reimplemented in algorithmCommand, algorithmComposite, algorithmConditional, and algorithmTree.
|
pure virtual method initialize the algorithm.
Reimplemented in algorithmCommand, algorithmComposite, algorithmConditional, algorithmTree, and centellaAlg.
|
virtual method to run the algorithm.
executes the methods: initialize(); execute(); finalize();
Reimplemented in algorithmComposite, and eventVI.
Definition at line 5 of file algorithmVI.cpp.