EEROS  0.4.1.0
API for the EEROS Real-Time Robotics Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
InputAction.hpp
Go to the documentation of this file.
1 #ifndef ORG_EEROS_SAFETY_INPUTACTION_HPP_
2 #define ORG_EEROS_SAFETY_INPUTACTION_HPP_
3 
4 #include <stdint.h>
6 
7 namespace eeros {
8  namespace safety {
9 
10  class SafetyContext;
11 
12  class InputAction {
13  public:
14  InputAction(eeros::hal::PeripheralInputInterface& inputInterface) : inputInterface(&inputInterface) { }
15  virtual ~InputAction() { }
16  virtual bool check(SafetyContext* context) { return false; }
17 
19  };
20 
21  };
22 };
23 
24 #endif // ORG_EEROS_SAFETY_INPUTACTION_HPP_
InputAction(eeros::hal::PeripheralInputInterface &inputInterface)
Definition: InputAction.hpp:14
virtual ~InputAction()
Definition: InputAction.hpp:15
Definition: SafetyContext.hpp:11
Definition: InputAction.hpp:12
Definition: PeripheralInput.hpp:8
eeros::hal::PeripheralInputInterface const * inputInterface
Definition: InputAction.hpp:18
virtual bool check(SafetyContext *context)
Definition: InputAction.hpp:16