7#include <ChimeraTK/Device.h>
8#include <ChimeraTK/ForwardDeclarations.h>
9#include <ChimeraTK/RegisterPath.h>
11#include <boost/thread/latch.hpp>
45 std::function<void(
ChimeraTK::Device&)> initialisationHandler =
nullptr,
const std::string& pathInDevice =
"/");
78 boost::weak_ptr<DeviceManager>
_dm;
Implements access to a ChimeraTK::Device.
DeviceModule & operator=(DeviceModule &&other) noexcept
Move assignment.
const std::string & getTriggerPath() const
boost::weak_ptr< DeviceManager > _dm
The corresponding DeviceManager.
void addInitialisationHandler(std::function< void(ChimeraTK::Device &)> initialisationHandler)
void reportException(std::string errMsg)
Use this function to report an exception.
std::string _pathInDevice
DeviceManager & getDeviceManager()
Return the corresponding DeviceManager.
const std::string & getDeviceAliasOrURI() const
Model::DeviceModuleProxy getModel()
DeviceModule(DeviceModule &&other) noexcept
Move operation with the move constructor.
Model::DeviceModuleProxy _model
Implementation class for the model.
friend class DeviceModule
ModuleGroup()=default
Default constructor to allow late initialisation of module groups.
Helper class to set the DMAP file path.
InvalidityTracer application module.