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 Definition: CompoundShapeToGraphics.cpp:29
virtual ~MouseDevice()
Destructor.
Definition: MouseDevice.cpp:33
SURGSIM_CLASSNAME(SurgSim::Devices::MouseDevice)
std::shared_ptr< MouseScaffold > m_scaffold
Communication with hardware is handled by scaffold.
Definition: MouseDevice.h:79
bool finalize() override
Finalize (de-initialize) the device.
Definition: MouseDevice.cpp:55
MouseDevice(const std::string &deviceName)
Constructor.
Definition: MouseDevice.cpp:28
Definition: OsgMouseHandler.h:30
bool initialize() override
Fully initialize the device.
Definition: MouseDevice.cpp:41
A class implementing the communication with a mouse.
Definition: MouseDevice.h:52
friend class MouseDeviceTest
Definition: MouseDevice.h:55
OsgMouseHandler * getMouseHandler() const
Get mouse handler.
Definition: MouseDevice.cpp:68
A class that implements the behavior of MouseDevice objects.
Definition: MouseScaffold.h:38
bool isInitialized() const override
Definition: MouseDevice.cpp:63