The Ethercat Master factory. More...
#include <EthercatMaster.hpp>
Static Public Member Functions | |
| static EthercatMasterInterface & | getInstance (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 |
The Ethercat Master factory.
Definition at line 67 of file EthercatMaster.hpp.
| 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
| 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.

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.
1.6.3