ECF 1.5
TermMaxTimeOp.h
1#ifndef TermMaxTimeOp_H
2#define TermMaxTimeOp_H
3
8class TermMaxTimeOp : public Operator
9{
10public:
11 void registerParameters(StateP);
12 bool initialize(StateP);
13 bool operate(StateP);
14protected:
15 uint maxTime_;
16};
17typedef boost::shared_ptr<TermMaxTimeOp> TermMaxTimeOpP;
18
19#endif // TermMaxTimeOp_H
Abstract operator class.
Definition: Operator.h:11
Termination operator: terminates on a given elapsed time.
Definition: TermMaxTimeOp.h:9
bool operate(StateP)
perform the designated operation
void registerParameters(StateP)
Register parameters with the Registry. Called before Operator::initialize.
bool initialize(StateP)
Perform initialization. Called before Operator::operate. By default, if the return value is false,...