EthercatMasterWithoutThread Class Reference

The Ethercat Master is managing the whole ethercat communication It have to be a singleton in the system. More...

#include <EthercatMasterWithoutThread.hpp>

Inheritance diagram for EthercatMasterWithoutThread:
Inheritance graph
[legend]

Public Member Functions

bool isThreadActive ()
unsigned int getNumberOfSlaves () const
 return the quantity of ethercat slave which have an input/output buffer
void AutomaticSendOn (const bool enableAutomaticSend)
void AutomaticReceiveOn (const bool enableAutomaticReceive)
void getEthercatDiagnosticInformation (std::vector< ec_slavet > &ethercatSlaveInfos)
 provides all ethercat slave informations from the SOEM driver
bool sendProcessData ()
 sends ethercat messages to the motor controllers returns a true if everything it OK and returns false if something fail
bool receiveProcessData ()
 receives ethercat messages from the motor controllers returns a true if everything it OK and returns false if something fail
bool isErrorInSoemDriver ()
 checks if an error has occurred in the soem driver returns a true if an error has occurred
bool isEtherCATConnectionEstablished ()
void registerJointLimitMonitor (JointLimitMonitor *object, const unsigned int JointNumber)

Friends

class EthercatMaster
class YouBotJoint
class YouBotGripper
class YouBotGripperBar

Detailed Description

The Ethercat Master is managing the whole ethercat communication It have to be a singleton in the system.

Definition at line 85 of file EthercatMasterWithoutThread.hpp.


Member Function Documentation

void AutomaticReceiveOn ( const bool  enableAutomaticReceive  )  [virtual]

Implements EthercatMasterInterface.

Definition at line 122 of file EthercatMasterWithoutThread.cpp.

void AutomaticSendOn ( const bool  enableAutomaticSend  )  [virtual]

Implements EthercatMasterInterface.

Definition at line 114 of file EthercatMasterWithoutThread.cpp.

void getEthercatDiagnosticInformation ( std::vector< ec_slavet > &  ethercatSlaveInfos  )  [virtual]

provides all ethercat slave informations from the SOEM driver

Parameters:
ethercatSlaveInfos ethercat slave informations

Implements EthercatMasterInterface.

Definition at line 131 of file EthercatMasterWithoutThread.cpp.

unsigned int getNumberOfSlaves (  )  const [virtual]

return the quantity of ethercat slave which have an input/output buffer

Implements EthercatMasterInterface.

Definition at line 108 of file EthercatMasterWithoutThread.cpp.

bool isErrorInSoemDriver (  )  [virtual]

checks if an error has occurred in the soem driver returns a true if an error has occurred

Implements EthercatMasterInterface.

Definition at line 183 of file EthercatMasterWithoutThread.cpp.

Here is the call graph for this function:

bool isEtherCATConnectionEstablished (  )  [virtual]

Implements EthercatMasterInterface.

Definition at line 191 of file EthercatMasterWithoutThread.cpp.

bool isThreadActive (  )  [virtual]

Implements EthercatMasterInterface.

Definition at line 101 of file EthercatMasterWithoutThread.cpp.

bool receiveProcessData (  )  [virtual]

receives ethercat messages from the motor controllers returns a true if everything it OK and returns false if something fail

Implements EthercatMasterInterface.

Definition at line 163 of file EthercatMasterWithoutThread.cpp.

Here is the call graph for this function:

void registerJointLimitMonitor ( JointLimitMonitor object,
const unsigned int  JointNumber 
) [virtual]

Implements EthercatMasterInterface.

Definition at line 197 of file EthercatMasterWithoutThread.cpp.

bool sendProcessData (  )  [virtual]

sends ethercat messages to the motor controllers returns a true if everything it OK and returns false if something fail

Implements EthercatMasterInterface.

Definition at line 143 of file EthercatMasterWithoutThread.cpp.

Here is the call graph for this function:


Friends And Related Function Documentation

friend class EthercatMaster [friend]

Reimplemented from EthercatMasterInterface.

Definition at line 86 of file EthercatMasterWithoutThread.hpp.

friend class YouBotGripper [friend]

Reimplemented from EthercatMasterInterface.

Definition at line 88 of file EthercatMasterWithoutThread.hpp.

friend class YouBotGripperBar [friend]

Reimplemented from EthercatMasterInterface.

Definition at line 89 of file EthercatMasterWithoutThread.hpp.

friend class YouBotJoint [friend]

Reimplemented from EthercatMasterInterface.

Definition at line 87 of file EthercatMasterWithoutThread.hpp.


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.3