|
iMSTK
Interactive Medical Simulation Toolkit
|
Stores everything needed to invoke an event A call may not be present, in which case invoke doesn't do anything. More...
#include <imstkEventObject.h>
Public Member Functions | |
| Command (std::function< void(Event *)> call, std::shared_ptr< Event > event) | |
| void | invoke () |
| Call the underlying function if present then delete the event data. | |
Public Attributes | |
| std::function< void(Event *)> | m_call = nullptr |
| std::shared_ptr< Event > | m_event = nullptr |
Stores everything needed to invoke an event A call may not be present, in which case invoke doesn't do anything.
Definition at line 47 of file imstkEventObject.h.
1.8.13