Go to the documentation of this file.
16 #ifndef SURGSIM_DEVICES_MOUSE_MOUSEDEVICE_H
17 #define SURGSIM_DEVICES_MOUSE_MOUSEDEVICE_H
29 class OsgMouseHandler;
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:53
Definition: CompoundShapeToGraphics.cpp:30
Definition: OsgMouseHandler.h:31
OsgMouseHandler * getMouseHandler() const
Get mouse handler.
Definition: MouseDevice.cpp:68
A class that implements the behavior of MouseDevice objects.
Definition: MouseScaffold.h:39
virtual ~MouseDevice()
Destructor.
Definition: MouseDevice.cpp:33
SURGSIM_CLASSNAME(SurgSim::Devices::MouseDevice)
bool finalize() override
Finalize (de-initialize) the device.
Definition: MouseDevice.cpp:55
MouseDevice
Definition: CMakeLists.txt:35
string(TOUPPER ${DEVICE} DEVICE_UPPER_CASE) option(BUILD_DEVICE_$
Definition: CMakeLists.txt:38
bool initialize() override
Fully initialize the device.
Definition: MouseDevice.cpp:41