iMSTK
Interactive Medical Simulation Toolkit
Public Member Functions | Public Attributes | List of all members
imstk::ProgrammableClient::Command Struct Referenceabstract

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>

Inheritance diagram for imstk::ProgrammableClient::Command:
Inheritance graph
[legend]

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
 

Detailed Description

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.


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