iMSTK
Interactive Medical Simulation Toolkit
|
General struct for command. Command will call activate when start time is reached, call updateDevice while active, and call complete when duration is over. More...
#include <imstkProgrammableClient.h>
Public Member Functions | |
virtual void | activate (ProgrammableClient &) |
virtual void | updateDevice (ProgrammableClient &)=0 |
virtual void | complete (ProgrammableClient &) |
Public Attributes | |
CommandState | state = CommandState::WAITING |
double | startTime = 0.0 |
double | duration = 0.0 |
General struct for command. Command will call activate when start time is reached, call updateDevice while active, and call complete when duration is over.
Definition at line 54 of file imstkProgrammableClient.h.