Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
EthercatDeviceDiagnostics Struct Reference

#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_
 

Detailed Description

Definition at line 95 of file ethercat_device.h.

Constructor & Destructor Documentation

EthercatDeviceDiagnostics::EthercatDeviceDiagnostics ( )

Definition at line 122 of file ethercat_device.cpp.

Member Function Documentation

void EthercatDeviceDiagnostics::accumulate ( const et1x00_error_counters next,
const et1x00_error_counters prev 
)
protected

Definition at line 144 of file ethercat_device.cpp.

void EthercatDeviceDiagnostics::collect ( EthercatCom com,
EtherCAT_SlaveHandler *  sh 
)

Definition at line 158 of file ethercat_device.cpp.

void EthercatDeviceDiagnostics::publish ( diagnostic_updater::DiagnosticStatusWrapper d,
unsigned  numPorts = 4 
) const

Definition at line 273 of file ethercat_device.cpp.

void EthercatDeviceDiagnostics::zeroTotals ( )
protected

Definition at line 133 of file ethercat_device.cpp.

Member Data Documentation

int EthercatDeviceDiagnostics::devicesRespondingToNodeAddress_
protected

Definition at line 129 of file ethercat_device.h.

bool EthercatDeviceDiagnostics::diagnosticsFirst_
protected

Definition at line 126 of file ethercat_device.h.

bool EthercatDeviceDiagnostics::diagnosticsValid_
protected

Definition at line 127 of file ethercat_device.h.

uint64_t EthercatDeviceDiagnostics::epuErrorTotal_
protected

Definition at line 120 of file ethercat_device.h.

bool EthercatDeviceDiagnostics::errorCountersMayBeCleared_
protected

Definition at line 124 of file ethercat_device.h.

et1x00_error_counters EthercatDeviceDiagnostics::errorCountersPrev_
protected

Definition at line 123 of file ethercat_device.h.

unsigned EthercatDeviceDiagnostics::nodeAddress_
protected

Definition at line 122 of file ethercat_device.h.

uint64_t EthercatDeviceDiagnostics::pdiErrorTotal_
protected

Definition at line 119 of file ethercat_device.h.

EthercatPortDiagnostics EthercatDeviceDiagnostics::portDiagnostics_[4]
protected

Definition at line 121 of file ethercat_device.h.

bool EthercatDeviceDiagnostics::resetDetected_
protected

Definition at line 128 of file ethercat_device.h.


The documentation for this struct was generated from the following files:


ethercat_hardware
Author(s): Rob Wheeler , Derek King
autogenerated on Thu Mar 4 2021 03:10:21