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

A class that implements the behavior of RawMultiAxisDevice objects. More...

#include <RawMultiAxisScaffold.h>

Classes

struct  DeviceData
 
struct  StateData
 

Public Member Functions

 RawMultiAxisScaffold ()
 Constructor.
 
 ~RawMultiAxisScaffold ()
 Destructor.
 

Static Public Member Functions

static std::shared_ptr< RawMultiAxisScaffoldgetOrCreateSharedInstance ()
 Gets or creates the scaffold shared by all RawMultiAxisDevice instances. More...
 

Friends

class RawMultiAxisDevice
 
class RawMultiAxisThread
 
struct StateData
 

Detailed Description

A class that implements the behavior of RawMultiAxisDevice objects.

See also
SurgSim::Devices::RawMultiAxisDevice

Member Function Documentation

§ getOrCreateSharedInstance()

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

Gets or creates the scaffold shared by all RawMultiAxisDevice 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: