The Ethercat Master interface. More...
#include <EthercatMasterInterface.hpp>
Public Member Functions | |
virtual bool | isThreadActive ()=0 |
virtual unsigned int | getNumberOfSlaves () const =0 |
return the quantity of ethercat slave which have an input/output buffer | |
virtual void | AutomaticSendOn (const bool enableAutomaticSend)=0 |
virtual void | AutomaticReceiveOn (const bool enableAutomaticReceive)=0 |
virtual void | getEthercatDiagnosticInformation (std::vector< ec_slavet > ðercatSlaveInfos)=0 |
provides all ethercat slave informations from the SOEM driver | |
virtual bool | sendProcessData ()=0 |
sends ethercat messages to the motor controllers returns a true if everything it OK and returns false if something fail | |
virtual bool | receiveProcessData ()=0 |
receives ethercat messages from the motor controllers returns a true if everything it OK and returns false if something fail | |
virtual bool | isErrorInSoemDriver ()=0 |
checks if an error has occurred in the soem driver returns a true if an error has occurred | |
virtual bool | isEtherCATConnectionEstablished ()=0 |
virtual void | registerJointLimitMonitor (JointLimitMonitor *object, const unsigned int JointNumber)=0 |
Protected Member Functions | |
EthercatMasterInterface () | |
virtual | ~EthercatMasterInterface () |
Friends | |
class | EthercatMaster |
class | YouBotJoint |
class | YouBotGripper |
class | YouBotGripperBar |
The Ethercat Master interface.
Definition at line 67 of file EthercatMasterInterface.hpp.
EthercatMasterInterface | ( | ) | [inline, protected] |
Definition at line 73 of file EthercatMasterInterface.hpp.
virtual ~EthercatMasterInterface | ( | ) | [inline, protected, virtual] |
Definition at line 75 of file EthercatMasterInterface.hpp.
virtual void AutomaticReceiveOn | ( | const bool | enableAutomaticReceive | ) | [pure virtual] |
Implemented in EthercatMasterWithoutThread, and EthercatMasterWithThread.
virtual void AutomaticSendOn | ( | const bool | enableAutomaticSend | ) | [pure virtual] |
Implemented in EthercatMasterWithoutThread, and EthercatMasterWithThread.
virtual void getEthercatDiagnosticInformation | ( | std::vector< ec_slavet > & | ethercatSlaveInfos | ) | [pure virtual] |
provides all ethercat slave informations from the SOEM driver
ethercatSlaveInfos | ethercat slave informations |
Implemented in EthercatMasterWithoutThread, and EthercatMasterWithThread.
virtual unsigned int getNumberOfSlaves | ( | ) | const [pure virtual] |
return the quantity of ethercat slave which have an input/output buffer
Implemented in EthercatMasterWithoutThread, and EthercatMasterWithThread.
virtual bool isErrorInSoemDriver | ( | ) | [pure virtual] |
checks if an error has occurred in the soem driver returns a true if an error has occurred
Implemented in EthercatMasterWithoutThread, and EthercatMasterWithThread.
virtual bool isEtherCATConnectionEstablished | ( | ) | [pure virtual] |
Implemented in EthercatMasterWithoutThread, and EthercatMasterWithThread.
virtual bool isThreadActive | ( | ) | [pure virtual] |
Implemented in EthercatMasterWithoutThread, and EthercatMasterWithThread.
virtual bool receiveProcessData | ( | ) | [pure virtual] |
receives ethercat messages from the motor controllers returns a true if everything it OK and returns false if something fail
Implemented in EthercatMasterWithoutThread, and EthercatMasterWithThread.
virtual void registerJointLimitMonitor | ( | JointLimitMonitor * | object, | |
const unsigned int | JointNumber | |||
) | [pure virtual] |
Implemented in EthercatMasterWithoutThread, and EthercatMasterWithThread.
virtual bool sendProcessData | ( | ) | [pure virtual] |
sends ethercat messages to the motor controllers returns a true if everything it OK and returns false if something fail
Implemented in EthercatMasterWithoutThread, and EthercatMasterWithThread.
friend class EthercatMaster [friend] |
Reimplemented in EthercatMasterWithoutThread, and EthercatMasterWithThread.
Definition at line 68 of file EthercatMasterInterface.hpp.
friend class YouBotGripper [friend] |
Reimplemented in EthercatMasterWithoutThread, and EthercatMasterWithThread.
Definition at line 70 of file EthercatMasterInterface.hpp.
friend class YouBotGripperBar [friend] |
Reimplemented in EthercatMasterWithoutThread, and EthercatMasterWithThread.
Definition at line 71 of file EthercatMasterInterface.hpp.
friend class YouBotJoint [friend] |
Reimplemented in EthercatMasterWithoutThread, and EthercatMasterWithThread.
Definition at line 69 of file EthercatMasterInterface.hpp.