Go to the documentation of this file.
16 #ifndef SURGSIM_DEVICES_MOUSE_MOUSEDEVICE_H
17 #define SURGSIM_DEVICES_MOUSE_MOUSEDEVICE_H
29 class OsgMouseHandler;
31 SURGSIM_STATIC_REGISTRATION(MouseDevice);
60 explicit MouseDevice(
const std::string& deviceName);
85 #endif //SURGSIM_DEVICES_MOUSE_MOUSEDEVICE_H
std::shared_ptr< MouseScaffold > m_scaffold
Communication with hardware is handled by scaffold.
Definition: MouseDevice.h:79
bool isInitialized() const override
Definition: MouseDevice.cpp:63
friend class MouseDeviceTest
Definition: MouseDevice.h:55
MouseDevice(const std::string &deviceName)
Constructor.
Definition: MouseDevice.cpp:28
A class implementing the communication with a mouse.
Definition: MouseDevice.h:52
Definition: CompoundShapeToGraphics.cpp:29
Definition: OsgMouseHandler.h:30
OsgMouseHandler * getMouseHandler() const
Get mouse handler.
Definition: MouseDevice.cpp:68
A class that implements the behavior of MouseDevice objects.
Definition: MouseScaffold.h:38
virtual ~MouseDevice()
Destructor.
Definition: MouseDevice.cpp:33
SURGSIM_CLASSNAME(SurgSim::Devices::MouseDevice)
bool finalize() override
Finalize (de-initialize) the device.
Definition: MouseDevice.cpp:55
bool initialize() override
Fully initialize the device.
Definition: MouseDevice.cpp:41