#include <alg.hh>
Inheritance diagram for RVLAlg::ListAlg:
Public Member Functions | |
ListAlg (Algorithm &first) | |
ListAlg (Algorithm &first, Algorithm &next) | |
virtual void | run () |
Protected Attributes | |
bool | islist |
Algorithm & | one |
Algorithm & | two |
The object contains an algorithm and a ListAlg.
ListAlg -> Algorithm | Algorithm ListAlg
When run(), the ListAlg runs its Algorithm, and then runs the trailing ListAlg.
Note that since ListAlg is an Algorithm, you can in fact build arbitrary trees of Algorithms by passing ListAlgs as both inputs to the constructor. Such a tree would then run by running the left branch followed by the right branch.
Return true if all algs in list are successful.
Definition at line 106 of file alg.hh.
virtual void RVLAlg::ListAlg::run | ( | ) | [virtual] |
Implements RVLAlg::Algorithm.
Reimplemented in RVLAlg::CondListAlg.
Definition at line 112 of file alg.hh.
References islist, one, RVLAlg::Algorithm::run(), and two.
bool RVLAlg::ListAlg::islist [protected] |
Algorithm& RVLAlg::ListAlg::one [protected] |
Algorithm& RVLAlg::ListAlg::two [protected] |