EEROS  1.0.0.0
API for the EEROS Real-Time Robotics Framework
ConditionAbort.hpp
Go to the documentation of this file.
1 #ifndef ORG_EEROS_SEQUENCER_CONDITIONABORT_HPP_
2 #define ORG_EEROS_SEQUENCER_CONDITIONABORT_HPP_
3 
5 
6 namespace eeros {
7  namespace sequencer {
8 
9  class ConditionAbort : public Condition {
10  public:
12  virtual ~ConditionAbort() { }
13 
14  bool validate() {return abort;}
15  void set() {abort = true;}
16  void reset() {abort = false;}
17  private:
18  bool abort = false;
19  };
20 
21  }; //namespace sequencer
22 }; // namespace eeros
23 
24 #endif // ORG_EEROS_SEQUENCER_CONDITIONABORT_HPP_
Definition: Condition.hpp:7
Definition: ConditionAbort.hpp:9
Definition: Config.hpp:14
void reset()
Definition: ConditionAbort.hpp:16
ConditionAbort()
Definition: ConditionAbort.hpp:11
bool validate()
Definition: ConditionAbort.hpp:14
virtual ~ConditionAbort()
Definition: ConditionAbort.hpp:12