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,
typename dataT =
void>
61 [[deprecated(
"Handler has been deprecated. Please use Handler2 instead as it supports checkpointing.")]] =
82 template <
typename classT, auto funcT,
typename dataT =
void>
102 #endif // SST_CORE_ONESHOT_H An Action is a schedulable Activity which is not an Event.
Definition: action.h:26
Base template for the class.
Definition: ssthandler.h:1273
A class to convert between a component's view of time and the core's view of time.
Definition: timeConverter.h:27
void registerHandler(OneShot::HandlerBase *handler)
Add a handler to be called on this OneShot Event.
Definition: oneshot.h:97
Base template for handlers which don't take a class defined argument.
Definition: ssthandler.h:702
Event Handler class with user-data argument.
Definition: ssthandler.h:1201
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
A OneShot Event class.
Definition: oneshot.h:33