SST
11.0.0
StructuralSimulationToolkit
|
Event Handler class with user-data argument. More...
#include <clock.h>
Public Member Functions | |
Handler (classT *const object, PtrMember member, argT data) | |
Constructor. More... | |
bool | operator() (Cycle_t cycle) override |
Calls underlying handler function, passing in the current cycle count and additional metadata supplied by the user. More... | |
Event Handler class with user-data argument.
classT | Type of the Object |
argT | Type of the argument |
|
inline |
Constructor.
object | - Pointer to Object upon which to call the handler |
member | - Member function to call as the handler |
data | - Additional argument to pass to handler |
|
inlineoverridevirtual |
Calls underlying handler function, passing in the current cycle count and additional metadata supplied by the user.
If the hander function returns true, the handler will be removed from the clock list.
Implements SST::Clock::HandlerBase.