The Ethercat Master factory.
More...
#include <EthercatMaster.hpp>
|
static void | destroy () |
| destroy the singleton instance by calling the destructor More...
|
|
static EthercatMasterInterface & | getInstance (const std::string configFile="youbot-ethercat.cfg", const std::string configFilePath="../config/", const bool ethercatMasterWithThread=true) |
|
The Ethercat Master factory.
Definition at line 61 of file EthercatMaster.hpp.
youbot::EthercatMaster::EthercatMaster |
( |
| ) |
|
|
inlineprivate |
youbot::EthercatMaster::~EthercatMaster |
( |
| ) |
|
|
inlineprivate |
void youbot::EthercatMaster::destroy |
( |
| ) |
|
|
static |
destroy the singleton instance by calling the destructor
Definition at line 77 of file EthercatMaster.cpp.
EthercatMasterInterface & youbot::EthercatMaster::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 62 of file EthercatMaster.cpp.
The documentation for this class was generated from the following files: