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

A class that manages Novint Falcon devices. More...

#include <NovintScaffold.h>

Classes

class  Callback
 
struct  DeviceData
 
class  Handle
 
struct  StateData
 

Public Member Functions

 NovintScaffold ()
 Constructor.
 
 ~NovintScaffold ()
 Destructor.
 

Static Public Member Functions

static std::shared_ptr< NovintScaffoldgetOrCreateSharedInstance ()
 Gets or creates the scaffold shared by all NovintDevice and Novint7DofDevice instances. More...
 

Friends

class NovintDevice
 

Detailed Description

A class that manages Novint Falcon devices.

This should support any device that can communicate using the Novint HDAL SDK toolkit, such as the off-the-shelf Novint Falcon gaming controller and the Novint Falcon with the Open Surgery Grip.

See also
SurgSim::Devices::NovintDevice

Member Function Documentation

§ getOrCreateSharedInstance()

std::shared_ptr< NovintScaffold > SurgSim::Devices::NovintScaffold::getOrCreateSharedInstance ( )
static

Gets or creates the scaffold shared by all NovintDevice and Novint7DofDevice instances.

The scaffold is managed using a SharedInstance object, so it will be destroyed when all devices are released.

Returns
the scaffold object.

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