|
SST 16.0.0
Structural Simulation Toolkit
|
Manages the OneShot actions for the core. More...
#include <oneshotManager.h>
Public Member Functions | |
| OneShotManager (Simulation *sim) | |
| Create a new One Shot for a specified time that will callback the handler function. | |
| template<class classT, auto funcT, typename dataT> | |
| void | registerRelativeHandler (SimTime_t trigger_time, int priority, classT *obj, dataT metadata) |
| Add a handler to be called on this OneShot Event. | |
| template<class classT, auto funcT> | |
| void | registerRelativeHandler (SimTime_t trigger_time, int priority, classT *obj) |
| Add a handler to be called on this OneShot Event. | |
| template<class classT, auto funcT, typename dataT> | |
| void | registerAbsoluteHandler (SimTime_t trigger_time, int priority, classT *obj, dataT metadata) |
| Add a handler to be called on this OneShot Event. | |
| template<class classT, auto funcT> | |
| void | registerAbsoluteHandler (SimTime_t trigger_time, int priority, classT *obj) |
| Add a handler to be called on this OneShot Event. | |
Friends | |
| class | OneShot |
Manages the OneShot actions for the core.
This allows handlers to be registered with the core that will be called at a specific time and priority.
| SST::Core::OneShotManager::OneShotManager | ( | Simulation * | sim | ) |
Create a new One Shot for a specified time that will callback the handler function.
Note: OneShot cannot be canceled, and will always callback after the timedelay.