EEROS  0.4.1.0
API for the EEROS Real-Time Robotics Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
SafetyContext.hpp
Go to the documentation of this file.
1 #ifndef ORG_EEROS_SAFETY_SAFETYCONTEXT_HPP_
2 #define ORG_EEROS_SAFETY_SAFETYCONTEXT_HPP_
3 
4 #include <stdint.h>
5 
6 namespace eeros {
7  namespace safety {
8 
9  class SafetySystem;
10 
11  class SafetyContext {
12  friend class SafetySystem;
13 
14  public:
15  void triggerEvent(int32_t event);
16 
17  private:
18  SafetyContext(SafetySystem* parent);
19  SafetySystem* parent;
20  };
21 
22  };
23 };
24 
25 #endif // ORG_EEROS_SAFETY_SAFETYCONTEXT_HPP_
Definition: SafetySystem.hpp:19
void triggerEvent(int32_t event)
Definition: SafetyContext.cpp:11
Definition: SafetyContext.hpp:11