SST/macro
Public Member Functions | Public Attributes | List of all members
sstmac::sw::funcptr Union Reference

Pack a function pointer of the form void(*)(void*) as a pair of integers. More...

#include <context_util.h>

Collaboration diagram for sstmac::sw::funcptr:
Collaboration graph

Public Member Functions

 funcptr ()
 
 funcptr (void(*ptr)(void *))
 
 funcptr (int a, int b)
 
void call (const voidptr &arg)
 

Public Attributes

intpair fpair
 
void(* fpointer )(void *)
 

Detailed Description

Pack a function pointer of the form void(*)(void*) as a pair of integers.

Definition at line 56 of file context_util.h.

Constructor & Destructor Documentation

sstmac::sw::funcptr::funcptr ( )
inline

Definition at line 59 of file context_util.h.

References sstmac::sw::intpair::a, and sstmac::sw::intpair::b.

sstmac::sw::funcptr::funcptr ( void(*)(void *)  ptr)
inline

Definition at line 64 of file context_util.h.

References sstmac::sw::intpair::a, and sstmac::sw::intpair::b.

sstmac::sw::funcptr::funcptr ( int  a,
int  b 
)
inline

Definition at line 70 of file context_util.h.

References sstmac::sw::intpair::a, and sstmac::sw::intpair::b.

Member Function Documentation

void sstmac::sw::funcptr::call ( const voidptr arg)
inline

Definition at line 75 of file context_util.h.

References sstmac::sw::context_springboard(), spkt_throw, and sstmac::sw::voidptr::vpointer.

Here is the call graph for this function:

Member Data Documentation

intpair sstmac::sw::funcptr::fpair

Definition at line 57 of file context_util.h.

void(* sstmac::sw::funcptr::fpointer) (void *)

Definition at line 58 of file context_util.h.


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