Skip to content
Snippets Groups Projects
Commit 0c693d7c authored by Martin Christoph Hierholzer's avatar Martin Christoph Hierholzer
Browse files

ConnectingDeviceModule: allow to obtain underlying DeviceModule

Require e.g. when needing to report an exception programmatically
parent 251ec595
No related branches found
No related tags found
No related merge requests found
......@@ -339,6 +339,11 @@ namespace ChimeraTK {
ConnectingDeviceModule(EntityOwner* owner, const std::string& deviceAliasOrCDD, const std::string& triggerPath = {},
std::function<void(DeviceModule*)> initialisationHandler = nullptr, const std::string& pathInDevice = "/");
/**
* Return the underlying DeviceModule
*/
DeviceModule& getDeviceModule() { return *_dm; }
protected:
void defineConnections() override;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment