The Ethercat Master interface. More...
#include <EthercatMasterInterface.hpp>
Public Member Functions | |
virtual void | AutomaticReceiveOn (const bool enableAutomaticReceive)=0 |
virtual void | AutomaticSendOn (const bool enableAutomaticSend)=0 |
virtual void | getEthercatDiagnosticInformation (std::vector< ec_slavet > ðercatSlaveInfos)=0 |
virtual unsigned int | getNumberOfSlaves () const =0 |
return the quantity of ethercat slave which have an input/output buffer More... | |
virtual bool | isErrorInSoemDriver ()=0 |
virtual bool | isEtherCATConnectionEstablished ()=0 |
virtual bool | isThreadActive ()=0 |
virtual bool | receiveProcessData ()=0 |
virtual void | registerJointLimitMonitor (JointLimitMonitor *object, const unsigned int JointNumber)=0 |
virtual bool | sendProcessData ()=0 |
Protected Member Functions | |
EthercatMasterInterface () | |
virtual | ~EthercatMasterInterface () |
Private Member Functions | |
virtual bool | getMailboxMsgBuffer (YouBotSlaveMailboxMsg &mailboxMsg, const unsigned int jointNumber)=0 |
virtual void | getMsgBuffer (const unsigned int jointNumber, YouBotSlaveMsg &returnMsg)=0 |
virtual void | setMailboxMsgBuffer (const YouBotSlaveMailboxMsg &msgBuffer, const unsigned int jointNumber)=0 |
virtual void | setMsgBuffer (const YouBotSlaveMsg &msgBuffer, const unsigned int jointNumber)=0 |
Friends | |
class | EthercatMaster |
class | YouBotGripper |
class | YouBotGripperBar |
class | YouBotJoint |
The Ethercat Master interface.
Definition at line 68 of file EthercatMasterInterface.hpp.
|
inlineprotected |
Definition at line 74 of file EthercatMasterInterface.hpp.
|
inlineprotectedvirtual |
Definition at line 76 of file EthercatMasterInterface.hpp.
|
pure virtual |
Implemented in youbot::EthercatMasterWithThread, and youbot::EthercatMasterWithoutThread.
|
pure virtual |
Implemented in youbot::EthercatMasterWithThread, and youbot::EthercatMasterWithoutThread.
|
pure virtual |
provides all ethercat slave informations from the SOEM driver
ethercatSlaveInfos | ethercat slave informations |
Implemented in youbot::EthercatMasterWithThread, and youbot::EthercatMasterWithoutThread.
|
privatepure virtual |
gets a mailbox message form the buffer which came form the motor controllers
msgBuffer | ethercat mailbox message |
jointNumber | joint number of the receiver joint |
Implemented in youbot::EthercatMasterWithThread, and youbot::EthercatMasterWithoutThread.
|
privatepure virtual |
get a ethercat message form the buffer
msgBuffer | ethercat message |
jointNumber | joint number of the receiver joint |
Implemented in youbot::EthercatMasterWithThread, and youbot::EthercatMasterWithoutThread.
|
pure virtual |
return the quantity of ethercat slave which have an input/output buffer
Implemented in youbot::EthercatMasterWithThread, and youbot::EthercatMasterWithoutThread.
|
pure virtual |
checks if an error has occurred in the soem driver returns a true if an error has occurred
Implemented in youbot::EthercatMasterWithThread, and youbot::EthercatMasterWithoutThread.
|
pure virtual |
Implemented in youbot::EthercatMasterWithThread, and youbot::EthercatMasterWithoutThread.
|
pure virtual |
Implemented in youbot::EthercatMasterWithThread, and youbot::EthercatMasterWithoutThread.
|
pure virtual |
receives ethercat messages from the motor controllers returns a true if everything it OK and returns false if something fail
Implemented in youbot::EthercatMasterWithThread, and youbot::EthercatMasterWithoutThread.
|
pure virtual |
Implemented in youbot::EthercatMasterWithThread, and youbot::EthercatMasterWithoutThread.
|
pure virtual |
sends ethercat messages to the motor controllers returns a true if everything it OK and returns false if something fail
Implemented in youbot::EthercatMasterWithThread, and youbot::EthercatMasterWithoutThread.
|
privatepure virtual |
stores a mailbox message in a buffer which will be sent to the motor controllers
msgBuffer | ethercat mailbox message |
jointNumber | joint number of the sender joint |
Implemented in youbot::EthercatMasterWithThread, and youbot::EthercatMasterWithoutThread.
|
privatepure virtual |
stores a ethercat message to the buffer
msgBuffer | ethercat message |
jointNumber | joint number of the sender joint |
Implemented in youbot::EthercatMasterWithThread, and youbot::EthercatMasterWithoutThread.
|
friend |
Definition at line 69 of file EthercatMasterInterface.hpp.
|
friend |
Definition at line 71 of file EthercatMasterInterface.hpp.
|
friend |
Definition at line 72 of file EthercatMasterInterface.hpp.
|
friend |
Definition at line 70 of file EthercatMasterInterface.hpp.