SST  6.0.0
StructuralSimulationToolkit
SST::OneShot::Handler< classT, argT > Class Template Reference

Event Handler class with user-data argument. More...

#include <oneshot.h>

Inheritance diagram for SST::OneShot::Handler< classT, argT >:
SST::OneShot::HandlerBase

Public Member Functions

 Handler (classT *const object, PtrMember member, argT data)
 Constructor. More...
 
void operator() ()
 Operator to callback OneShot Handler; called by the OneShot object to execute the users callback. More...
 

Detailed Description

template<typename classT, typename argT = void>
class SST::OneShot::Handler< classT, argT >

Event Handler class with user-data argument.

Template Parameters
classTType of the Object
argTType of the argument

Constructor & Destructor Documentation

template<typename classT , typename argT = void>
SST::OneShot::Handler< classT, argT >::Handler ( classT *const  object,
PtrMember  member,
argT  data 
)
inline

Constructor.

Parameters
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

Member Function Documentation

template<typename classT , typename argT = void>
void SST::OneShot::Handler< classT, argT >::operator() ( )
inlinevirtual

Operator to callback OneShot Handler; called by the OneShot object to execute the users callback.

Parameters
data- The data passed in when the handler was created

Implements SST::OneShot::HandlerBase.


The documentation for this class was generated from the following file: