diff --git a/include/Application.h b/include/Application.h index 943fe2a5b32c68120178af2cb9d174436c400711..8d5d631b84feea5eca16eacb90e71f3bda31d9b3 100644 --- a/include/Application.h +++ b/include/Application.h @@ -195,7 +195,6 @@ namespace ChimeraTK { } void registerDeviceModule(DeviceModule* deviceModule); - protected: friend class Module; friend class VariableNetwork; @@ -397,7 +396,6 @@ namespace ChimeraTK { "caused by " "incorrect ownership of variables/accessors or VariableGroups."); } - std::list<DeviceModule*> deviceModuleList; }; diff --git a/include/DeviceModule.h b/include/DeviceModule.h index 7b4a50d6badf8fe72d1598dfad6244e4e80e0365..87cf7972aeb95c40a16eef904e5b7cc5ccc257a9 100644 --- a/include/DeviceModule.h +++ b/include/DeviceModule.h @@ -109,7 +109,6 @@ namespace ChimeraTK { * device. This function shall not be called by the user, all exception * handling is done internally by ApplicationCore. */ void reportException(std::string errMsg); - void run() override; void terminate() override; @@ -138,7 +137,6 @@ namespace ChimeraTK { // it is little more than a cache and thus does not change the logical state // of this module mutable std::map<std::string, DeviceModule> subModules; - /** A VariableGroup for exception status and message. It can be protected, as * it is automatically connected to the control system in * DeviceModule::defineConnections() */ diff --git a/src/ControlSystemModule.cc b/src/ControlSystemModule.cc index 159af6c1b18a0b875bac1536a1d81ef6f44cb5d5..b9b6aaba6d19119b0df53d2cb233b88f87563423 100644 --- a/src/ControlSystemModule.cc +++ b/src/ControlSystemModule.cc @@ -19,9 +19,8 @@ namespace ChimeraTK { /*********************************************************************************************************************/ - VariableNetworkNode ControlSystemModule::operator()(const std::string& variableName, - const std::type_info& valueType, - size_t nElements) const { + VariableNetworkNode ControlSystemModule::operator()( + const std::string& variableName, const std::type_info& valueType, size_t nElements) const { assert(variableName.find_first_of("/") == std::string::npos); if(variables.count(variableName) == 0) { variables[variableName] = { diff --git a/src/DeviceModule.cc b/src/DeviceModule.cc index b0b13d13fc6d0916e3a2bee35d75f4dccd140d72..d86d127dc1b2386d36ba9a45f255ac71698fb03c 100644 --- a/src/DeviceModule.cc +++ b/src/DeviceModule.cc @@ -173,7 +173,6 @@ namespace ChimeraTK { errorCondVar.wait(lk); lk.unlock(); } - /*********************************************************************************************************************/ void DeviceModule::handleException() {