#include <ethercat_device.h>
Public Member Functions | |
void | collect (EthercatCom *com, EtherCAT_SlaveHandler *sh) |
EthercatDeviceDiagnostics () | |
void | publish (diagnostic_updater::DiagnosticStatusWrapper &d, unsigned numPorts=4) const |
Protected Member Functions | |
void | accumulate (const et1x00_error_counters &next, const et1x00_error_counters &prev) |
void | zeroTotals () |
Protected Attributes | |
int | devicesRespondingToNodeAddress_ |
bool | diagnosticsFirst_ |
bool | diagnosticsValid_ |
uint64_t | epuErrorTotal_ |
bool | errorCountersMayBeCleared_ |
et1x00_error_counters | errorCountersPrev_ |
unsigned | nodeAddress_ |
uint64_t | pdiErrorTotal_ |
EthercatPortDiagnostics | portDiagnostics_ [4] |
bool | resetDetected_ |
Definition at line 99 of file ethercat_device.h.
Definition at line 120 of file ethercat_device.cpp.
void EthercatDeviceDiagnostics::accumulate | ( | const et1x00_error_counters & | next, |
const et1x00_error_counters & | prev | ||
) | [protected] |
Definition at line 141 of file ethercat_device.cpp.
void EthercatDeviceDiagnostics::collect | ( | EthercatCom * | com, |
EtherCAT_SlaveHandler * | sh | ||
) |
Definition at line 155 of file ethercat_device.cpp.
void EthercatDeviceDiagnostics::publish | ( | diagnostic_updater::DiagnosticStatusWrapper & | d, |
unsigned | numPorts = 4 |
||
) | const |
Definition at line 282 of file ethercat_device.cpp.
void EthercatDeviceDiagnostics::zeroTotals | ( | ) | [protected] |
Definition at line 131 of file ethercat_device.cpp.
int EthercatDeviceDiagnostics::devicesRespondingToNodeAddress_ [protected] |
Definition at line 133 of file ethercat_device.h.
bool EthercatDeviceDiagnostics::diagnosticsFirst_ [protected] |
Definition at line 130 of file ethercat_device.h.
bool EthercatDeviceDiagnostics::diagnosticsValid_ [protected] |
Definition at line 131 of file ethercat_device.h.
uint64_t EthercatDeviceDiagnostics::epuErrorTotal_ [protected] |
Definition at line 124 of file ethercat_device.h.
bool EthercatDeviceDiagnostics::errorCountersMayBeCleared_ [protected] |
Definition at line 128 of file ethercat_device.h.
Definition at line 127 of file ethercat_device.h.
unsigned EthercatDeviceDiagnostics::nodeAddress_ [protected] |
Definition at line 126 of file ethercat_device.h.
uint64_t EthercatDeviceDiagnostics::pdiErrorTotal_ [protected] |
Definition at line 123 of file ethercat_device.h.
Definition at line 125 of file ethercat_device.h.
bool EthercatDeviceDiagnostics::resetDetected_ [protected] |
Definition at line 132 of file ethercat_device.h.