SST/macro
Public Member Functions | Private Member Functions | Private Attributes | List of all members
sstmac::member_fxn_handler_impl< Cls, Fxn, Args > Class Template Reference

#include <event_callback.h>

Inheritance diagram for sstmac::member_fxn_handler_impl< Cls, Fxn, Args >:
Inheritance graph
Collaboration diagram for sstmac::member_fxn_handler_impl< Cls, Fxn, Args >:
Collaboration graph

Public Member Functions

virtual ~member_fxn_handler_impl ()
 
void handle (event *ev)
 
 member_fxn_handler_impl (event_loc_id id, Cls *obj, Fxn fxn, const Args &...args)
 
- Public Member Functions inherited from sstmac::member_fxn_handler
virtual ~member_fxn_handler ()
 
virtual std::string to_string () const
 
- Public Member Functions inherited from sstmac::event_handler
virtual ~event_handler ()
 
event_loc_id event_location () const
 
virtual bool ipc_handler () const
 Whether an event handler is a "fake" handler that represents logical process boundary. More...
 
int thread_id () const
 
virtual void deadlock_check (event *ev)
 
virtual void deadlock_check ()
 

Private Member Functions

template<int... S>
void dispatch (event *ev, seq< S... >)
 

Private Attributes

std::tuple< Args... > params_
 
Fxn fxn_
 
Cls * obj_
 

Additional Inherited Members

- Static Public Attributes inherited from sstmac::event_handler
static const int null_lpid = -1
 
static const int null_threadid = -1
 
- Protected Member Functions inherited from sstmac::member_fxn_handler
 member_fxn_handler (event_loc_id id)
 
- Protected Member Functions inherited from sstmac::event_handler
 event_handler ()
 
void init_loc_id (event_loc_id id)
 
void init_thread_id (int id)
 

Detailed Description

template<class Cls, typename Fxn, class... Args>
class sstmac::member_fxn_handler_impl< Cls, Fxn, Args >

Definition at line 49 of file event_callback.h.

Constructor & Destructor Documentation

template<class Cls , typename Fxn , class... Args>
virtual sstmac::member_fxn_handler_impl< Cls, Fxn, Args >::~member_fxn_handler_impl ( )
inlinevirtual

Definition at line 54 of file event_callback.h.

template<class Cls , typename Fxn , class... Args>
sstmac::member_fxn_handler_impl< Cls, Fxn, Args >::member_fxn_handler_impl ( event_loc_id  id,
Cls *  obj,
Fxn  fxn,
const Args &...  args 
)
inline

Definition at line 61 of file event_callback.h.

Member Function Documentation

template<class Cls , typename Fxn , class... Args>
template<int... S>
void sstmac::member_fxn_handler_impl< Cls, Fxn, Args >::dispatch ( event ev,
seq< S... >   
)
inlineprivate

Definition at line 72 of file event_callback.h.

template<class Cls , typename Fxn , class... Args>
void sstmac::member_fxn_handler_impl< Cls, Fxn, Args >::handle ( event ev)
inlinevirtual

Implements sstmac::event_handler.

Definition at line 57 of file event_callback.h.

Member Data Documentation

template<class Cls , typename Fxn , class... Args>
Fxn sstmac::member_fxn_handler_impl< Cls, Fxn, Args >::fxn_
private

Definition at line 77 of file event_callback.h.

template<class Cls , typename Fxn , class... Args>
Cls* sstmac::member_fxn_handler_impl< Cls, Fxn, Args >::obj_
private

Definition at line 78 of file event_callback.h.

template<class Cls , typename Fxn , class... Args>
std::tuple<Args...> sstmac::member_fxn_handler_impl< Cls, Fxn, Args >::params_
private

Definition at line 76 of file event_callback.h.


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