EEROS  0.4.1.0
API for the EEROS Real-Time Robotics Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
eeros::safety::SafetyLevel Class Reference

#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)
 
SafetyLeveloperator< (const SafetyLevel &)
 

Friends

class SafetySystem
 

Constructor & Destructor Documentation

SafetyLevel::SafetyLevel ( int32_t  id,
std::string  description 
)
SafetyLevel::~SafetyLevel ( )
virtual

Member Function Documentation

void SafetyLevel::addEvent ( uint32_t  event,
int32_t  nextLevelId,
EventType  type = kPrivateEvent 
)

Here is the caller graph for this function:

std::string SafetyLevel::getDescription ( )

Here is the caller graph for this function:

int32_t SafetyLevel::getId ( )

Here is the caller graph for this function:

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

Here is the caller graph for this function:

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

Here is the caller graph for this function:

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

Here is the caller graph for this function:

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

Friends And Related Function Documentation

friend class SafetySystem
friend

The documentation for this class was generated from the following files: