|
|
#include <atomic>#include <condition_variable>#include <filesystem>#include <fstream>#include <map>#include <memory>#include <mutex>#include <optional>#include <thread>#include <ArmarXCore/core/logging/Logging.h>#include <ArmarXCore/core/util/PropagateConst.h>#include "SlaveIdentifier.h"
Include dependency graph for ErrorReporting.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | Entry |
| Brief description of class Entry. More... | |
| class | Reporter |
| Brief description of class Reporter. More... | |
| class | Reporting |
| Brief description of class Reporting. More... | |
Namespaces | |
| armarx | |
| This file offers overloads of toIce() and fromIce() functions for STL container types. | |
| armarx::control | |
| armarx::control::ethercat | |
| armarx::control::ethercat::reporting | |
Macros | |
| #define | _detail_BUS_REPORT_CONSTRUCTION(bin, ...) |
| #define | _detail_DEVICE_REPORT_CONSTRUCTION(devName, ...) |
| #define | _detail_GENERAL_REPORT_CONSTRUCTION(...) |
| #define | _detail_SLAVE_REPORT_CONSTRUCTION(_sid, ...) |
| #define | BUS_DEBUG(bin, ...) |
| #define | BUS_ERROR(bin, ...) |
| #define | BUS_ERROR_LOCAL(reporter, bin, ...) (reporter).reportError(_detail_BUS_REPORT_CONSTRUCTION(bin, __VA_ARGS__)) |
| #define | BUS_FATAL_AND_THROW(bin, ...) |
| #define | BUS_INFO(bin, ...) |
| #define | BUS_WARNING(bin, ...) |
| #define | BUS_WARNING_LOCAL(reporter, bin, ...) (reporter).reportWarning(_detail_BUS_REPORT_CONSTRUCTION(bin, __VA_ARGS__)) |
| #define | DEVICE_ERROR(deviceName, ...) |
| #define | DEVICE_ERROR_LOCAL(reporter, deviceName, ...) (reporter).reportError(_detail_DEVICE_REPORT_CONSTRUCTION(deviceName, __VA_ARGS__)) |
| #define | DEVICE_FATAL_AND_THROW(deviceName, ...) |
| #define | DEVICE_WARNING(deviceName, ...) |
| #define | DEVICE_WARNING_LOCAL(reporter, deviceName, ...) (reporter).reportWarning(_detail_DEVICE_REPORT_CONSTRUCTION(deviceName, __VA_ARGS__)) |
| #define | GENERAL_DEBUG(...) |
| #define | GENERAL_ERROR(...) |
| #define | GENERAL_INFO(...) |
| #define | GENERAL_WARNING(...) |
| #define | SLAVE_DEBUG(sid, ...) |
| #define | SLAVE_ERROR(sid, ...) |
| #define | SLAVE_ERROR_LOCAL(reporter, sid, ...) (reporter).reportError(_detail_SLAVE_REPORT_CONSTRUCTION(sid, __VA_ARGS__)) |
| #define | SLAVE_FATAL_AND_THROW(sid, ...) |
| #define | SLAVE_INFO(sid, ...) |
| #define | SLAVE_WARNING(sid, ...) |
| #define | SLAVE_WARNING_LOCAL(reporter, sid, ...) (reporter).reportWarning(_detail_SLAVE_REPORT_CONSTRUCTION(sid, __VA_ARGS__)) |
Typedefs | |
| using | Reporting = reporting::Reporting |
| using | ReportingEntry = reporting::Entry |
| using | ReportingType = reporting::Type |
Enumerations | |
| enum | Severity { Debug, Info, Warning, Error, Fatal } |
| The Severity enum. More... | |
| enum | Type { Bus, Slave, Device, General } |
Functions | |
| std::ostream & | operator<< (std::ostream &stream, const Severity &rhs) |
| std::ostream & | operator<< (std::ostream &stream, const Type &rhs) |
| #define _detail_BUS_REPORT_CONSTRUCTION | ( | bin, | |
| ... | |||
| ) |
Definition at line 261 of file ErrorReporting.h.
| #define _detail_DEVICE_REPORT_CONSTRUCTION | ( | devName, | |
| ... | |||
| ) |
Definition at line 319 of file ErrorReporting.h.
| #define _detail_GENERAL_REPORT_CONSTRUCTION | ( | ... | ) |
Definition at line 240 of file ErrorReporting.h.
| #define _detail_SLAVE_REPORT_CONSTRUCTION | ( | _sid, | |
| ... | |||
| ) |
Definition at line 290 of file ErrorReporting.h.
| #define BUS_DEBUG | ( | bin, | |
| ... | |||
| ) |
Definition at line 268 of file ErrorReporting.h.
| #define BUS_ERROR | ( | bin, | |
| ... | |||
| ) |
Definition at line 277 of file ErrorReporting.h.
| #define BUS_ERROR_LOCAL | ( | reporter, | |
| bin, | |||
| ... | |||
| ) | (reporter).reportError(_detail_BUS_REPORT_CONSTRUCTION(bin, __VA_ARGS__)) |
Definition at line 286 of file ErrorReporting.h.
| #define BUS_FATAL_AND_THROW | ( | bin, | |
| ... | |||
| ) |
Definition at line 280 of file ErrorReporting.h.
| #define BUS_INFO | ( | bin, | |
| ... | |||
| ) |
Definition at line 271 of file ErrorReporting.h.
| #define BUS_WARNING | ( | bin, | |
| ... | |||
| ) |
Definition at line 274 of file ErrorReporting.h.
| #define BUS_WARNING_LOCAL | ( | reporter, | |
| bin, | |||
| ... | |||
| ) | (reporter).reportWarning(_detail_BUS_REPORT_CONSTRUCTION(bin, __VA_ARGS__)) |
Definition at line 284 of file ErrorReporting.h.
| #define DEVICE_ERROR | ( | deviceName, | |
| ... | |||
| ) |
Definition at line 329 of file ErrorReporting.h.
| #define DEVICE_ERROR_LOCAL | ( | reporter, | |
| deviceName, | |||
| ... | |||
| ) | (reporter).reportError(_detail_DEVICE_REPORT_CONSTRUCTION(deviceName, __VA_ARGS__)) |
Definition at line 338 of file ErrorReporting.h.
| #define DEVICE_FATAL_AND_THROW | ( | deviceName, | |
| ... | |||
| ) |
Definition at line 332 of file ErrorReporting.h.
| #define DEVICE_WARNING | ( | deviceName, | |
| ... | |||
| ) |
Definition at line 326 of file ErrorReporting.h.
| #define DEVICE_WARNING_LOCAL | ( | reporter, | |
| deviceName, | |||
| ... | |||
| ) | (reporter).reportWarning(_detail_DEVICE_REPORT_CONSTRUCTION(deviceName, __VA_ARGS__)) |
Definition at line 336 of file ErrorReporting.h.
| #define GENERAL_DEBUG | ( | ... | ) |
Definition at line 246 of file ErrorReporting.h.
| #define GENERAL_ERROR | ( | ... | ) |
Definition at line 255 of file ErrorReporting.h.
| #define GENERAL_INFO | ( | ... | ) |
Definition at line 249 of file ErrorReporting.h.
| #define GENERAL_WARNING | ( | ... | ) |
Definition at line 252 of file ErrorReporting.h.
| #define SLAVE_DEBUG | ( | sid, | |
| ... | |||
| ) |
Definition at line 297 of file ErrorReporting.h.
| #define SLAVE_ERROR | ( | sid, | |
| ... | |||
| ) |
Definition at line 306 of file ErrorReporting.h.
| #define SLAVE_ERROR_LOCAL | ( | reporter, | |
| sid, | |||
| ... | |||
| ) | (reporter).reportError(_detail_SLAVE_REPORT_CONSTRUCTION(sid, __VA_ARGS__)) |
Definition at line 315 of file ErrorReporting.h.
| #define SLAVE_FATAL_AND_THROW | ( | sid, | |
| ... | |||
| ) |
Definition at line 309 of file ErrorReporting.h.
| #define SLAVE_INFO | ( | sid, | |
| ... | |||
| ) |
Definition at line 300 of file ErrorReporting.h.
| #define SLAVE_WARNING | ( | sid, | |
| ... | |||
| ) |
Definition at line 303 of file ErrorReporting.h.
| #define SLAVE_WARNING_LOCAL | ( | reporter, | |
| sid, | |||
| ... | |||
| ) | (reporter).reportWarning(_detail_SLAVE_REPORT_CONSTRUCTION(sid, __VA_ARGS__)) |
Definition at line 313 of file ErrorReporting.h.