12#ifndef SST_CORE_ONESHOT_H
13#define SST_CORE_ONESHOT_H
15#ifndef COMPILING_ONESHOT_CC
17 "OneShot was not intended to be part of the public element API and has known bugs that will not be fixed. It is being removed from the public API and oneshot.h will be removed in SST 16"
20#include "sst/core/action.h"
21#include "sst/core/sst_types.h"
22#include "sst/core/ssthandler.h"
59 template <
typename classT, auto funcT,
typename dataT =
void>
80 template <
typename classT, auto funcT,
typename dataT =
void>
81 using Handler2 [[deprecated(
82 "The name Handler2 has been deprecated and will be removed in SST 17. Please rename Handler2 to Handler.")]]
A OneShot Event class.
Definition oneshot.h:34
SSTHandlerBase< void, void > HandlerBase
Base handler for OneShot callbacks.
Definition oneshot.h:39
OneShot(TimeConverter *timeDelay, int priority=ONESHOTPRIORITY)
Create a new One Shot for a specified time that will callback the handler function.
Definition oneshot.h:93
SSTHandler< void, void, classT, dataT, funcT > Handler
Used to create checkpointable handlers for OneShot.
Definition oneshot.h:60
void registerHandler(OneShot::HandlerBase *handler)
Add a handler to be called on this OneShot Event.
Definition oneshot.h:97
Base template for handlers which take a class defined argument.
Definition ssthandler.h:79
Base template for the class.
Definition ssthandler.h:1102
A class to convert between a component's view of time and the core's view of time.
Definition timeConverter.h:31