Static Public Member Functions | Private Member Functions | Static Private Attributes | Friends
youbot::EthercatMaster Class Reference

#include <EthercatMaster.hpp>

List of all members.

Static Public Member Functions

static void destroy ()
 destroy the singleton instance by calling the destructor
static EthercatMasterInterfacegetInstance (const std::string configFile, const std::string configFilePath, const bool ethercatMasterWithThread=true)
static EthercatMasterInterfacegetInstance ()

Private Member Functions

 EthercatMaster ()
 EthercatMaster (const EthercatMaster &)
 ~EthercatMaster ()

Static Private Attributes

static EthercatMasterInterfaceinstance = 0

Friends

class YouBotGripper
class YouBotGripperBar
class YouBotJoint

Detailed Description

The Ethercat Master factory

Definition at line 68 of file EthercatMaster.hpp.


Constructor & Destructor Documentation

Definition at line 76 of file EthercatMaster.hpp.

youbot::EthercatMaster::EthercatMaster ( const EthercatMaster ) [inline, private]

Definition at line 81 of file EthercatMaster.hpp.

Definition at line 86 of file EthercatMaster.hpp.


Member Function Documentation

destroy the singleton instance by calling the destructor

Definition at line 90 of file EthercatMaster.cpp.

EthercatMasterInterface & youbot::EthercatMaster::getInstance ( const std::string  configFile,
const std::string  configFilePath,
const bool  ethercatMasterWithThread = true 
) [static]

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

Parameters:
configFileconfiguration file name incl. the extension
configFilePaththe path where the configuration is located with a / at the end
ethercatMasterWithThreadset it to false if you want to deactivate the communication thread

Definition at line 61 of file EthercatMaster.cpp.

Definition at line 80 of file EthercatMaster.cpp.


Friends And Related Function Documentation

friend class YouBotGripper [friend]

Definition at line 71 of file EthercatMaster.hpp.

friend class YouBotGripperBar [friend]

Definition at line 72 of file EthercatMaster.hpp.

friend class YouBotJoint [friend]

Definition at line 70 of file EthercatMaster.hpp.


Member Data Documentation

Definition at line 74 of file EthercatMaster.hpp.


The documentation for this class was generated from the following files:


youbot_driver
Author(s): Jan Paulus
autogenerated on Mon Oct 6 2014 09:08:03