SurgSim::Devices::PhantomScaffold::Handle Class Reference

## Public Member Functions

| Handle ()
| Handle (const std::string &deviceName, const std::string &initializationName)
| ~Handle ()
bool | isValid () const
bool | create (const std::string &deviceName, const std::string &initializationName)
bool | destroy ()
HHD | get () const

## Private Member Functions

| Handle (const Handle &)
Handle & | operator= (const Handle &)

## Private Attributes

HHD | m_deviceHandle
| The OpenHaptics device handle (or HD_INVALID_HANDLE if not valid). More...
std::shared_ptr< Framework::Logger > | m_logger
| The logger. More...

## Constructor & Destructor Documentation

## Handle() [1/3]

SurgSim::Devices::PhantomScaffold::Handle::Handle | ( |  | ) |

inline

## Handle() [2/3]

SurgSim::Devices::PhantomScaffold::Handle::Handle | ( | const std::string & | deviceName,
|  | const std::string & | initializationName
| ) |  |

inline

## ~Handle()

SurgSim::Devices::PhantomScaffold::Handle::~Handle | ( |  | ) |

inline

## Handle() [3/3]

SurgSim::Devices::PhantomScaffold::Handle::Handle | ( | const Handle & |  | ) |

private

## Member Function Documentation

## create()

bool SurgSim::Devices::PhantomScaffold::Handle::create | ( | const std::string & | deviceName,
|  | const std::string & | initializationName
| ) |  |

inline

## destroy()

bool SurgSim::Devices::PhantomScaffold::Handle::destroy | ( |  | ) |

inline

## get()

HHD SurgSim::Devices::PhantomScaffold::Handle::get | ( |  | ) | const

inline

## isValid()

bool SurgSim::Devices::PhantomScaffold::Handle::isValid | ( |  | ) | const

inline

## operator=()

Handle& SurgSim::Devices::PhantomScaffold::Handle::operator= | ( | const Handle & |  | ) |

private

## Member Data Documentation

## m_deviceHandle

HHD SurgSim::Devices::PhantomScaffold::Handle::m_deviceHandle

private

The OpenHaptics device handle (or HD_INVALID_HANDLE if not valid).

## m_logger

std::shared_ptr<Framework::Logger> SurgSim::Devices::PhantomScaffold::Handle::m_logger

private

The logger.

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

- SurgSim/Devices/Phantom/PhantomScaffold.cpp