The SlaveIdentifier class is a POD-type representing a unique set of values identifying an EtherCAT s...
SlaveErrorRegistersDevicePtr getErrorRegistersDevice() const
SlaveErrorRegistersDevicePtr errorRegistersDevice
virtual bool hasError()=0
This function indicates if there is a error or Problem with this slave.
virtual bool handleErrors()
This tries to clear oder fix the errors or problems of the slave or just gives detailed information a...
SlaveIdentifier slaveIdentifier
virtual void setName(const std::string &name)
SlaveInterface(const SlaveIdentifier &slaveIdentifier)
void setParentDeviceName(const std::string &name)
const SlaveIdentifier & getSlaveIdentifier() const
std::uint16_t getSlaveNumber() const
This returns the slave number of the slave on the bus +1 because slave 0 is the master.
void setErrorRegistersDevice(SlaveErrorRegistersDevicePtr errorRegistersDevice)
#define ARMARX_CHECK_IS_NULL(ptr)
This macro evaluates whether ptr is null and if it turns out to be false it will throw an ExpressionE...
#define ARMARX_CHECK_NOT_NULL(ptr)
This macro evaluates whether ptr is not null and if it turns out to be false it will throw an Express...
std::shared_ptr< SlaveErrorRegistersDevice > SlaveErrorRegistersDevicePtr