#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"
Go to the source code of this file.
|
| #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, ...) |
| |
| #define | BUS_FATAL_AND_THROW(bin, ...) |
| |
| #define | BUS_INFO(bin, ...) |
| |
| #define | BUS_WARNING(bin, ...) |
| |
| #define | BUS_WARNING_LOCAL(reporter, bin, ...) |
| |
| #define | DEVICE_ERROR(deviceName, ...) |
| |
| #define | DEVICE_ERROR_LOCAL(reporter, deviceName, ...) |
| |
| #define | DEVICE_FATAL_AND_THROW(deviceName, ...) |
| |
| #define | DEVICE_INFO(deviceName, ...) |
| |
| #define | DEVICE_WARNING(deviceName, ...) |
| |
| #define | DEVICE_WARNING_LOCAL(reporter, deviceName, ...) |
| |
| #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, ...) |
| |
| #define | SLAVE_FATAL_AND_THROW(sid, ...) |
| |
| #define | SLAVE_INFO(sid, ...) |
| |
| #define | SLAVE_WARNING(sid, ...) |
| |
| #define | SLAVE_WARNING_LOCAL(reporter, sid, ...) |
| |
◆ _detail_BUS_REPORT_CONSTRUCTION
| #define _detail_BUS_REPORT_CONSTRUCTION |
( |
| bin, |
|
|
| ... ) |
Value:
.
errorType(armarx::control::ethercat::ReportingType::Bus) \
Entry & message(const char *fmt, T... args)
Entry & busIterationNumber(std::uint64_t iteration)
Entry & metaInfo(const char *file, int line, const char *function)
Entry & errorType(Type type)
reporting::Entry ReportingEntry
Definition at line 294 of file ErrorReporting.h.
◆ _detail_DEVICE_REPORT_CONSTRUCTION
| #define _detail_DEVICE_REPORT_CONSTRUCTION |
( |
| devName, |
|
|
| ... ) |
Value:
.
errorType(armarx::control::ethercat::ReportingType::Device) \
Entry & deviceName(const char *deviceName)
Definition at line 352 of file ErrorReporting.h.
◆ _detail_GENERAL_REPORT_CONSTRUCTION
| #define _detail_GENERAL_REPORT_CONSTRUCTION |
( |
| ... | ) |
|
◆ _detail_SLAVE_REPORT_CONSTRUCTION
| #define _detail_SLAVE_REPORT_CONSTRUCTION |
( |
| _sid, |
|
|
| ... ) |
Value:
.
errorType(armarx::control::ethercat::ReportingType::Slave) \
Entry & slaveIdentifier(SlaveIdentifier sid)
Definition at line 323 of file ErrorReporting.h.
◆ BUS_DEBUG
| #define BUS_DEBUG |
( |
| bin, |
|
|
| ... ) |
Value:
#define _detail_BUS_REPORT_CONSTRUCTION(bin,...)
ReportWrapper reportDebug(Entry &error)
static Reporter & getGlobalErrorReporter()
Definition at line 301 of file ErrorReporting.h.
◆ BUS_ERROR
| #define BUS_ERROR |
( |
| bin, |
|
|
| ... ) |
Value:
ReportWrapper reportError(Entry &error)
Definition at line 310 of file ErrorReporting.h.
◆ BUS_ERROR_LOCAL
| #define BUS_ERROR_LOCAL |
( |
| reporter, |
|
|
| bin, |
|
|
| ... ) |
◆ BUS_FATAL_AND_THROW
| #define BUS_FATAL_AND_THROW |
( |
| bin, |
|
|
| ... ) |
◆ BUS_INFO
| #define BUS_INFO |
( |
| bin, |
|
|
| ... ) |
◆ BUS_WARNING
| #define BUS_WARNING |
( |
| bin, |
|
|
| ... ) |
Value:
ReportWrapper reportWarning(Entry &error)
Definition at line 307 of file ErrorReporting.h.
◆ BUS_WARNING_LOCAL
| #define BUS_WARNING_LOCAL |
( |
| reporter, |
|
|
| bin, |
|
|
| ... ) |
◆ DEVICE_ERROR
| #define DEVICE_ERROR |
( |
| deviceName, |
|
|
| ... ) |
Value:
#define _detail_DEVICE_REPORT_CONSTRUCTION(devName,...)
Definition at line 365 of file ErrorReporting.h.
◆ DEVICE_ERROR_LOCAL
| #define DEVICE_ERROR_LOCAL |
( |
| reporter, |
|
|
| deviceName, |
|
|
| ... ) |
◆ DEVICE_FATAL_AND_THROW
| #define DEVICE_FATAL_AND_THROW |
( |
| deviceName, |
|
|
| ... ) |
◆ DEVICE_INFO
| #define DEVICE_INFO |
( |
| deviceName, |
|
|
| ... ) |
◆ DEVICE_WARNING
| #define DEVICE_WARNING |
( |
| deviceName, |
|
|
| ... ) |
◆ DEVICE_WARNING_LOCAL
| #define DEVICE_WARNING_LOCAL |
( |
| reporter, |
|
|
| deviceName, |
|
|
| ... ) |
◆ GENERAL_DEBUG
| #define GENERAL_DEBUG |
( |
| ... | ) |
|
Value:
#define _detail_GENERAL_REPORT_CONSTRUCTION(...)
Definition at line 279 of file ErrorReporting.h.
◆ GENERAL_ERROR
| #define GENERAL_ERROR |
( |
| ... | ) |
|
◆ GENERAL_INFO
| #define GENERAL_INFO |
( |
| ... | ) |
|
◆ GENERAL_WARNING
| #define GENERAL_WARNING |
( |
| ... | ) |
|
◆ SLAVE_DEBUG
| #define SLAVE_DEBUG |
( |
| sid, |
|
|
| ... ) |
Value:
#define _detail_SLAVE_REPORT_CONSTRUCTION(_sid,...)
Definition at line 330 of file ErrorReporting.h.
◆ SLAVE_ERROR
| #define SLAVE_ERROR |
( |
| sid, |
|
|
| ... ) |
◆ SLAVE_ERROR_LOCAL
| #define SLAVE_ERROR_LOCAL |
( |
| reporter, |
|
|
| sid, |
|
|
| ... ) |
◆ SLAVE_FATAL_AND_THROW
| #define SLAVE_FATAL_AND_THROW |
( |
| sid, |
|
|
| ... ) |
◆ SLAVE_INFO
| #define SLAVE_INFO |
( |
| sid, |
|
|
| ... ) |
◆ SLAVE_WARNING
| #define SLAVE_WARNING |
( |
| sid, |
|
|
| ... ) |
◆ SLAVE_WARNING_LOCAL
| #define SLAVE_WARNING_LOCAL |
( |
| reporter, |
|
|
| sid, |
|
|
| ... ) |