SlaveIdentifier slaveIdentifier
#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...
virtual void setName(const std::string &name)
SlaveErrorRegistersDevicePtr getErrorRegistersDevice() const
bool setParentDeviceName(const std::string &parentDeviceName)
Sets the name of the parent device of a slave identifier.
The SlaveIdentifier class is a POD-type representing a unique set of values identifying an EtherCAT s...
bool setName(const std::string &name)
Sets the slave name of a SlaveIdentifier and returns whether the new name fits together with the pare...
const SlaveIdentifier & getSlaveIdentifier() const
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...
void setErrorRegistersDevice(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...
void setParentDeviceName(const std::string &name)
SlaveInterface(const SlaveIdentifier &slaveIdentifier)
std::int16_t slaveIndex
The index of the slave on the bus.
std::shared_ptr< SlaveErrorRegistersDevice > SlaveErrorRegistersDevicePtr
std::uint16_t getSlaveNumber() const
This returns the slave number of the slave on the bus +1 because slave 0 is the master.