#include <EthercatMaster.hpp>
Static Public Member Functions | |
static void | destroy () |
destroy the singleton instance by calling the destructor | |
static EthercatMasterInterface & | getInstance (const std::string configFile, const std::string configFilePath, const bool ethercatMasterWithThread=true) |
static EthercatMasterInterface & | getInstance () |
Private Member Functions | |
EthercatMaster () | |
EthercatMaster (const EthercatMaster &) | |
~EthercatMaster () | |
Static Private Attributes | |
static EthercatMasterInterface * | instance = 0 |
Friends | |
class | YouBotGripper |
class | YouBotGripperBar |
class | YouBotJoint |
The Ethercat Master factory
Definition at line 68 of file EthercatMaster.hpp.
youbot::EthercatMaster::EthercatMaster | ( | ) | [inline, private] |
Definition at line 76 of file EthercatMaster.hpp.
youbot::EthercatMaster::EthercatMaster | ( | const EthercatMaster & | ) | [inline, private] |
Definition at line 81 of file EthercatMaster.hpp.
youbot::EthercatMaster::~EthercatMaster | ( | ) | [inline, private] |
Definition at line 86 of file EthercatMaster.hpp.
void youbot::EthercatMaster::destroy | ( | ) | [static] |
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
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 61 of file EthercatMaster.cpp.
EthercatMasterInterface & youbot::EthercatMaster::getInstance | ( | ) | [static] |
Definition at line 80 of file EthercatMaster.cpp.
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.
EthercatMasterInterface * youbot::EthercatMaster::instance = 0 [static, private] |
Definition at line 74 of file EthercatMaster.hpp.