Event Handler class with user-data argument. More...
#include <oneshot.h>
Public Member Functions | |
Handler (classT *const object, PtrMember member, argT data) | |
Constructor. | |
void | operator() () |
Operator to callback OneShot Handler; called by the OneShot object to execute the users callback. |
Event Handler class with user-data argument.
classT | Type of the Object | |
argT | Type of the argument |
SST::OneShot::Handler< classT, argT >::Handler | ( | classT *const | object, | |
PtrMember | member, | |||
argT | data | |||
) | [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 |
void SST::OneShot::Handler< classT, argT >::operator() | ( | ) | [inline, virtual] |
Operator to callback OneShot Handler; called by the OneShot object to execute the users callback.
data | - The data passed in when the handler was created |
Implements SST::OneShot::HandlerBase.