MIRA
|
#include <functionblock/ErrorMemory.h>
Classes | |
struct | ErrorInfo |
Information for one error in the error memory. More... | |
struct | ModuleInfo |
Basic module information (versions, etc.) for an error report. More... | |
struct | Report |
An error report. More... | |
Public Member Functions | |
uint32 | getErrorCount () const |
Time | getLastErrorTime () const |
ErrorInfo | getErrorInfo (uint32 idx) const |
Report | readoutErrorMemory () const |
void | exportErrorMemoryToFile (const std::string &path) |
void | clearErrorMemory () |
void | addErrorCode (uint32 code, const std::string &name) |
Class const & | getClass () const |
Constructor, destructor and reflect | |
ErrorMemory () | |
ErrorMemory (const std::string &rpcPrefix) | |
virtual | ~ErrorMemory () |
template<typename Reflector > | |
void | reflect (Reflector &r) |
Reflect for serialization. More... | |
Other functions | |
void | checkFunctionBlockID () |
Static Public Member Functions | |
static PseudoClass const & | CLASS () |
Public Attributes | |
uint32 | functionBlockID |
ID of the function block. More... | |
uint8 | nodeID |
ID of the can node. More... | |
uint16 | index |
Index. More... | |
mira::can::CANOpenSDOClientPtr | sdoClient |
Protected Member Functions | |
virtual Class const & | internalGetClass () const=0 |
|
inline |
|
inline |
|
inlinevirtual |
|
inline |
Reflect for serialization.
uint32 getErrorCount | ( | ) | const |
Time getLastErrorTime | ( | ) | const |
ErrorInfo getErrorInfo | ( | uint32 | idx | ) | const |
Report readoutErrorMemory | ( | ) | const |
void exportErrorMemoryToFile | ( | const std::string & | path | ) |
void clearErrorMemory | ( | ) |
void addErrorCode | ( | uint32 | code, |
const std::string & | name | ||
) |
|
inherited |
|
inherited |
ID of the function block.
|
inherited |
ID of the can node.
|
inherited |
Index.
Pointer to the SDO client
|
inherited |