iMSTK
Interactive Medical Simulation Toolkit
Public Member Functions | Static Public Member Functions | List of all members
imstk::OpenHapticDeviceManager::OpenHapticDeviceManagerImpl Class Reference

Public Member Functions

std::shared_ptr< imstk::OpenHapticDeviceClientmakeDeviceClient (std::string name)
 
bool init ()
 
void update ()
 
void uninit ()
 

Static Public Member Functions

static bool isFatalError (const char *message)
 
static HDCallbackCode HDCALLBACK hapticCallback (void *pData)
 

Detailed Description

Definition at line 31 of file imstkOpenHapticDeviceManager.cpp.

Member Function Documentation

◆ isFatalError()

static bool imstk::OpenHapticDeviceManager::OpenHapticDeviceManagerImpl::isFatalError ( const char *  message)
inlinestatic

Check for OpenHaptics HDAPI errors, display them, and signal fatal errors.

Parameters
messageAn additional descriptive message.
Returns
true if there was a fatal error; false if everything is OK.

Definition at line 38 of file imstkOpenHapticDeviceManager.cpp.

Here is the call graph for this function:

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