|
MIRA
|
#include <fw/Status.h>
Public Types | |
| enum | StatusMode { OK, BOOTUP, RECOVER, WARNING, ERROR } |
| Different status levels sorted from "okay" to "most severe". More... | |
Public Member Functions | |
| Status () | |
| Status (StatusMode iMode, const std::string &iCategory, const std::string &iTrText, const std::string &iMessage) | |
| Construct a new status with given mode, category and text. More... | |
| bool | operator== (const Status &other) const |
| template<typename Reflector > | |
| void | reflect (Reflector &r) |
Public Attributes | |
| StatusMode | mode |
| the status flag (OK, WARNING or ERROR) More... | |
| std::string | category |
| category of that status More... | |
| std::string | trText |
| Status text that can be used for translation of the error to other languages. More... | |
| std::string | message |
| the corresponding message More... | |
Status entry class.
Used to signal the current status of a module (OK, WARNING, ERROR)
| enum StatusMode |
|
inline |
|
inline |
Construct a new status with given mode, category and text.
|
inline |
|
inline |
| StatusMode mode |
the status flag (OK, WARNING or ERROR)
| std::string category |
category of that status
| std::string trText |
Status text that can be used for translation of the error to other languages.
| std::string message |
the corresponding message
1.8.14