EEROS  1.0.0.0
API for the EEROS Real-Time Robotics Framework
Condition.hpp
Go to the documentation of this file.
1 #ifndef ORG_EEROS_SEQUENCER_CONDITION_HPP_
2 #define ORG_EEROS_SEQUENCER_CONDITION_HPP_
3 
4 namespace eeros {
5  namespace sequencer {
6 
7  class Condition {
8  public:
9  Condition() { }
10 
11  // return state of condition
12  bool isTrue() {return validate();}
13  virtual bool validate() = 0; // has to be overwritten
14  };
15  }; //namespace sequencer
16 }; // namespace eeros
17 
18 #endif //ORG_EEROS_SEQUENCER_CONDITION_HPP_
Definition: Condition.hpp:7
Condition()
Definition: Condition.hpp:9
Definition: Config.hpp:14
virtual bool validate()=0
bool isTrue()
Definition: Condition.hpp:12