|
EEROS
0.4.1.0
API for the EEROS Real-Time Robotics Framework
|
#include <SafetyLevel.hpp>
Public Member Functions | |
| SafetyLevel (int32_t id, std::string description) | |
| virtual | ~SafetyLevel () |
| int32_t | getId () |
| std::string | getDescription () |
| int32_t | getLevelIdForEvent (uint32_t event, bool privateEventOk=false) |
| void | addEvent (uint32_t event, int32_t nextLevelId, EventType type=kPrivateEvent) |
| void | setInputAction (InputAction *action) |
| void | setInputActions (std::vector< InputAction * > actionList) |
| void | setOutputAction (OutputAction *action) |
| void | setOutputActions (std::vector< OutputAction * > actionList) |
| void | setLevelAction (std::function< void(SafetyContext *context)> action) |
| SafetyLevel & | operator< (const SafetyLevel &) |
Friends | |
| class | SafetySystem |
| SafetyLevel::SafetyLevel | ( | int32_t | id, |
| std::string | description | ||
| ) |
|
virtual |
| void SafetyLevel::addEvent | ( | uint32_t | event, |
| int32_t | nextLevelId, | ||
| EventType | type = kPrivateEvent |
||
| ) |

| std::string SafetyLevel::getDescription | ( | ) |

| int32_t SafetyLevel::getId | ( | ) |

| int32_t SafetyLevel::getLevelIdForEvent | ( | uint32_t | event, |
| bool | privateEventOk = false |
||
| ) |

| SafetyLevel& eeros::safety::SafetyLevel::operator< | ( | const SafetyLevel & | ) |
| void SafetyLevel::setInputAction | ( | InputAction * | action | ) |
| void SafetyLevel::setInputActions | ( | std::vector< InputAction * > | actionList | ) |

| void SafetyLevel::setLevelAction | ( | std::function< void(SafetyContext *context)> | action | ) |

| void SafetyLevel::setOutputAction | ( | OutputAction * | action | ) |
| void SafetyLevel::setOutputActions | ( | std::vector< OutputAction * > | actionList | ) |
|
friend |