Go to the documentation of this file.
16 #ifndef SURGSIM_DEVICES_OPENNI_OPENNISCAFFOLD_H
17 #define SURGSIM_DEVICES_OPENNI_OPENNISCAFFOLD_H
97 std::shared_ptr<SurgSim::Framework::Logger>
m_logger;
103 #endif // SURGSIM_DEVICES_OPENNI_OPENNISCAFFOLD_H
OpenNIScaffold()
Constructor.
Definition: OpenNIScaffold.cpp:61
bool doStartUp() override
Definition: OpenNIScaffold.cpp:210
Definition: OpenNIScaffold.cpp:52
bool unregisterDevice(const OpenNIDevice *device)
Unregisters the specified device object.
Definition: OpenNIScaffold.cpp:158
bool doUnregisterDevice(DeviceData *info)
Do the OpenNI specific unregistration.
Definition: OpenNIScaffold.cpp:194
static SurgSim::DataStructures::DataGroup buildDeviceInputData()
Builds the data layout for the application input (i.e. device output).
Definition: OpenNIScaffold.cpp:286
Definition: CompoundShapeToGraphics.cpp:29
bool doRegisterDevice(DeviceData *info)
Do the OpenNI specific registration.
Definition: OpenNIScaffold.cpp:117
A collection of NamedData objects.
Definition: DataGroup.h:68
A class that manages OpenNI devices.
Definition: OpenNIScaffold.h:40
std::shared_ptr< SurgSim::Framework::Logger > m_logger
Logger used by the scaffold.
Definition: OpenNIScaffold.h:97
Basic thread implementation, tries to maintain a constant rate, supplies startup an initialization,...
Definition: BasicThread.h:48
virtual ~OpenNIScaffold()
Destructor.
Definition: OpenNIScaffold.cpp:69
Definition: OpenNIScaffold.cpp:35
A class implementing the communication with one OpenNI compatible depth camera.
Definition: OpenNIDevice.h:41
bool doUpdate(double dt) override
Implementation of actual work function for this thread, this has a default implementation to handle d...
Definition: OpenNIScaffold.cpp:215
bool registerDevice(OpenNIDevice *device)
Registers the specified device object.
Definition: OpenNIScaffold.cpp:74
static std::shared_ptr< OpenNIScaffold > getOrCreateSharedInstance()
Gets or creates the scaffold shared by all OpenNIDevice instances.
Definition: OpenNIScaffold.cpp:276
bool doInitialize() override
Definition: OpenNIScaffold.cpp:202
std::unique_ptr< StateData > m_state
Internal scaffold state.
Definition: OpenNIScaffold.h:94