SurgSim::Devices::NovintScaffold::Callback Class Reference

## Public Member Functions

| Callback (NovintScaffold *scaffold)
| ~Callback ()
bool | isValid () const

## Private Member Functions

| Callback (const Callback &)
Callback & | operator= (const Callback &)

## Static Private Member Functions

static HDLServoOpExitCode | run (void *data)
| The callback wrapper passed to HDAL. More...

## Private Attributes

HDLOpHandle | m_callbackHandle
| The haptic loop callback handle (or HDL_INVALID_HANDLE if not valid). More...

## Constructor & Destructor Documentation

## Callback() [1/2]

SurgSim::Devices::NovintScaffold::Callback::Callback | ( | NovintScaffold * | scaffold | ) |

inline explicit

## ~Callback()

SurgSim::Devices::NovintScaffold::Callback::~Callback | ( |  | ) |

inline

## Callback() [2/2]

SurgSim::Devices::NovintScaffold::Callback::Callback | ( | const Callback & |  | ) |

private

## Member Function Documentation

## isValid()

bool SurgSim::Devices::NovintScaffold::Callback::isValid | ( |  | ) | const

inline

## operator=()

Callback& SurgSim::Devices::NovintScaffold::Callback::operator= | ( | const Callback & |  | ) |

private

## run()

HDLServoOpExitCode SurgSim::Devices::NovintScaffold::Callback::run | ( | void * | data | ) |

static private

The callback wrapper passed to HDAL.

Parameters

  [in,out] | data | The user data (in our case, the scaffold pointer).

Returns
  HD_CALLBACK_CONTINUE to wait for the next frame, or HD_CALLBACK_DONE to terminate further calls.

## Member Data Documentation

## m_callbackHandle

HDLOpHandle SurgSim::Devices::NovintScaffold::Callback::m_callbackHandle

private

The haptic loop callback handle (or HDL_INVALID_HANDLE if not valid).

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

- SurgSim/Devices/Novint/NovintScaffold.cpp