opensurgsim
Classes | Public Member Functions | Protected Member Functions | Friends | List of all members
SurgSim::Devices::OculusScaffold Class Reference

A class that manages Oculus Rift DK2 devices. More...

#include <OculusScaffold.h>

Inheritance diagram for SurgSim::Devices::OculusScaffold:
SurgSim::Framework::BasicThread

Classes

struct  DeviceData
 
struct  StateData
 

Public Member Functions

 ~OculusScaffold ()
 Destructor.
 

Protected Member Functions

bool doInitialize () override
 
bool doStartUp () override
 
bool doUpdate (double dt) override
 Implementation of actual work function for this thread, this has a default implementation to handle destruction better, as it could be called while the thread is under destruction, if left unimplemented this would trigger a call to a pure virtual function. More...
 

Friends

class OculusDevice
 

Detailed Description

A class that manages Oculus Rift DK2 devices.

See also
SurgSim::Devices::OculusDevice

Member Function Documentation

§ doUpdate()

bool SurgSim::Devices::OculusScaffold::doUpdate ( double  dt)
overrideprotectedvirtual

Implementation of actual work function for this thread, this has a default implementation to handle destruction better, as it could be called while the thread is under destruction, if left unimplemented this would trigger a call to a pure virtual function.

Returns
false when the thread is done, this will stop execution

Reimplemented from SurgSim::Framework::BasicThread.


The documentation for this class was generated from the following files: