EthercatMaster Class Reference

The Ethercat Master factory. More...

#include <EthercatMaster.hpp>

Static Public Member Functions

static EthercatMasterInterfacegetInstance (const std::string configFile="youbot-ethercat.cfg", const std::string configFilePath="../config/", const bool ethercatMasterWithThread=true)
 creates a instance of the singleton EthercatMaster if there is none and returns a reference to it
static void destroy ()
 destroy the singleton instance by calling the destructor

Friends

class YouBotJoint
class YouBotGripper
class YouBotGripperBar

Detailed Description

The Ethercat Master factory.

Definition at line 67 of file EthercatMaster.hpp.


Member Function Documentation

void destroy (  )  [static]

destroy the singleton instance by calling the destructor

Definition at line 75 of file EthercatMaster.cpp.

EthercatMasterInterface & getInstance ( const std::string  configFile = "youbot-ethercat.cfg",
const std::string  configFilePath = "../config/",
const bool  ethercatMasterWithThread = true 
) [static]

creates a instance of the singleton EthercatMaster if there is none and returns a reference to it

Parameters:
configFile configuration file name incl. the extension
configFilePath the path where the configuration is located with a / at the end
ethercatMasterWithThread set it to false if you want to deactivate the communication thread

Definition at line 60 of file EthercatMaster.cpp.

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class YouBotGripper [friend]

Definition at line 69 of file EthercatMaster.hpp.

friend class YouBotGripperBar [friend]

Definition at line 70 of file EthercatMaster.hpp.

friend class YouBotJoint [friend]

Definition at line 68 of file EthercatMaster.hpp.


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