All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SurgSim::Device::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 &)
 
Handleoperator= (const Handle &)
 

Private Attributes

HHD m_deviceHandle
 The OpenHaptics device handle (or HD_INVALID_HANDLE if not valid). More...
 
std::shared_ptr< PhantomScaffoldm_scaffold
 The scaffold. More...
 

Constructor & Destructor Documentation

SurgSim::Device::PhantomScaffold::Handle::Handle ( )
inline
SurgSim::Device::PhantomScaffold::Handle::Handle ( const std::string &  deviceName,
const std::string &  initializationName 
)
inline
SurgSim::Device::PhantomScaffold::Handle::~Handle ( )
inline
SurgSim::Device::PhantomScaffold::Handle::Handle ( const Handle )
private

Member Function Documentation

bool SurgSim::Device::PhantomScaffold::Handle::create ( const std::string &  deviceName,
const std::string &  initializationName 
)
inline
bool SurgSim::Device::PhantomScaffold::Handle::destroy ( )
inline
HHD SurgSim::Device::PhantomScaffold::Handle::get ( ) const
inline
bool SurgSim::Device::PhantomScaffold::Handle::isValid ( ) const
inline
Handle& SurgSim::Device::PhantomScaffold::Handle::operator= ( const Handle )
private

Member Data Documentation

HHD SurgSim::Device::PhantomScaffold::Handle::m_deviceHandle
private

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

std::shared_ptr<PhantomScaffold> SurgSim::Device::PhantomScaffold::Handle::m_scaffold
private

The scaffold.


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