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

#include <event_callback.h>

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

Public Member Functions

virtual ~member_fxn_callback ()
 
void execute ()
 
virtual std::string to_string () const
 
 member_fxn_callback (event_loc_id id, Cls *obj, Fxn fxn, const Args &...args)
 

Private Member Functions

template<int... S>
void dispatch (seq< S... >)
 

Private Attributes

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

Additional Inherited Members

- Protected Member Functions inherited from sstmac::callback
 callback (event_loc_id local)
 
- Protected Attributes inherited from sstmac::event_queue_entry
timestamp time_
 
event_loc_id dst_loc_
 
event_loc_id src_loc_
 
uint32_t seqnum_
 A unique sequence number from the source. More...
 

Detailed Description

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

Definition at line 118 of file event_callback.h.

Constructor & Destructor Documentation

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

Definition at line 123 of file event_callback.h.

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

Definition at line 135 of file event_callback.h.

Member Function Documentation

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

Definition at line 146 of file event_callback.h.

template<class Cls , typename Fxn , class... Args>
void sstmac::member_fxn_callback< Cls, Fxn, Args >::execute ( )
inlinevirtual

Implements sstmac::event_queue_entry.

Definition at line 126 of file event_callback.h.

template<class Cls , typename Fxn , class... Args>
virtual std::string sstmac::member_fxn_callback< Cls, Fxn, Args >::to_string ( ) const
inlinevirtual

Implements sstmac::event_queue_entry.

Definition at line 131 of file event_callback.h.

Member Data Documentation

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

Definition at line 151 of file event_callback.h.

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

Definition at line 152 of file event_callback.h.

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

Definition at line 150 of file event_callback.h.


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