16 #ifndef SURGSIM_DEVICES_KEYBOARD_KEYBOARDSCAFFOLD_H 17 #define SURGSIM_DEVICES_KEYBOARD_KEYBOARDSCAFFOLD_H 26 namespace DataStructures
34 class OsgKeyboardHandler;
41 friend class KeyboardDeviceTest;
53 static std::shared_ptr<KeyboardScaffold> getOrCreateSharedInstance();
68 bool unregisterDevice();
74 bool updateDevice(
int key,
int modifierMask);
84 std::shared_ptr<SurgSim::Framework::Logger>
m_logger;
92 #endif // SURGSIM_DEVICES_KEYBOARD_KEYBOARDSCAFFOLD_H Definition: CompoundShapeToGraphics.cpp:29
std::shared_ptr< SurgSim::Framework::Logger > m_logger
Logger used by the scaffold and all devices.
Definition: KeyboardScaffold.h:84
A class implementing the communication with a keyboard.
Definition: KeyboardDevice.h:46
A class that implements the behavior of KeyboardDevice objects.
Definition: KeyboardScaffold.h:38
A collection of NamedData objects.
Definition: DataGroup.h:68
Definition: OsgKeyboardHandler.h:30
std::unique_ptr< DeviceData > m_device
The keyboard device managed by this scaffold.
Definition: KeyboardScaffold.h:86
Struct to hold a KeyboardDevice object, a KeyboardHandler object, and a mutex for data passing...
Definition: KeyboardScaffold.cpp:31