16 #ifndef SURGSIM_DEVICES_NIMBLE_NIMBLEDEVICE_H 17 #define SURGSIM_DEVICES_NIMBLE_NIMBLEDEVICE_H 30 SURGSIM_STATIC_REGISTRATION(NimbleDevice);
95 #endif // SURGSIM_DEVICES_NIMBLE_NIMBLEDEVICE_H bool finalize() override
Finalize (de-initialize) the device.
Definition: NimbleDevice.cpp:67
Definition: CompoundShapeToGraphics.cpp:29
A class that manages Nimble devices.
Definition: NimbleScaffold.h:36
A class implementing the communication with the Nimble server.
Definition: NimbleDevice.h:57
bool initialize() override
Fully initialize the device.
Definition: NimbleDevice.cpp:52
void setupToTrackRightHand()
Set the right hand to be tracked.
Definition: NimbleDevice.cpp:47
void setupToTrackLeftHand()
Set the left hand to be tracked.
Definition: NimbleDevice.cpp:42
std::shared_ptr< NimbleScaffold > m_scaffold
The shared pointer to the NimbleScaffold.
Definition: NimbleDevice.h:86
size_t m_trackedHandDataIndex
Indicate whether the hand tracked is left (0) or right (1).
Definition: NimbleDevice.h:89
NimbleDevice(const std::string &uniqueName)
Constructor.
Definition: NimbleDevice.cpp:29
bool isInitialized() const override
Definition: NimbleDevice.cpp:75
virtual ~NimbleDevice()
Destructor.
Definition: NimbleDevice.cpp:34
SURGSIM_CLASSNAME(SurgSim::Devices::NimbleDevice)