16 #ifndef SURGSIM_DEVICES_NIMBLE_NIMBLESCAFFOLD_H 17 #define SURGSIM_DEVICES_NIMBLE_NIMBLESCAFFOLD_H 21 #include "SurgSim/DataStructures/DataGroup.h" 22 #include "SurgSim/Framework/BasicThread.h" 23 #include "SurgSim/Framework/Logger.h" 48 bool doInitialize()
override;
49 bool doStartUp()
override;
58 friend class NimbleThread;
75 void updateDeviceData();
78 void resetDeviceData();
84 std::shared_ptr<SurgSim::Framework::Logger> m_logger;
86 std::unique_ptr<StateData> m_state;
89 std::string m_serverIpAddress;
91 std::string m_serverPort;
93 bool m_serverSocketOpen;
96 static std::array<std::pair<std::string, int>, 15> m_jointPoseNames;
102 #endif // SURGSIM_DEVICES_NIMBLE_NIMBLESCAFFOLD_H Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui n...
Definition: AddRandomSphereBehavior.cpp:36
A class that manages Nimble devices.
Definition: NimbleScaffold.h:36
void doBeforeStop() override
Prepares the thread for its execution to be stopped.
Definition: NimbleScaffold.cpp:427
A class implementing the communication with the Nimble server.
Definition: NimbleDevice.h:57
A collection of NamedData objects.
Definition: DataGroup.h:68
bool doUpdate(double dt) override
Implementation of actual work function for this thread, this has a default implementation to handle d...
Definition: NimbleScaffold.cpp:389
Basic thread implementation, tries to maintain a constant rate, supplies startup an initialization...
Definition: BasicThread.h:48
~NimbleScaffold()
Destructor.
Definition: NimbleScaffold.cpp:288
Definition: NimbleScaffold.cpp:253
static std::shared_ptr< NimbleScaffold > getOrCreateSharedInstance()
Gets or creates the scaffold shared by all NimbleDevice instances.
Definition: NimbleScaffold.cpp:482