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.
void operator() ()
 Operator to callback OneShot Handler; called by the OneShot object to execute the users callback.

Detailed Description

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

Event Handler class with user-data argument.

Template Parameters:
classT Type of the Object
argT Type 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() (  )  [inline, virtual]

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:

Generated on 14 Sep 2015 for SST by  doxygen 1.6.1