PPL Logo

SDAG::Closure Struct Reference

#include <sdag.h>

Inheritance diagram for SDAG::Closure:

Inheritance graph
[legend]
Collaboration diagram for SDAG::Closure:

Collaboration graph
[legend]

Public Member Functions

virtual void pup (PUP::er &p)=0
 PUPable_abstract (Closure)
void ref ()
void deref ()
void packClosure (PUP::er &p)
void init ()
virtual ~Closure ()
template<typename T>
void setRefnum (T t)
void setRefnum (char c)
void setRefnum (int i)
void setRefnum (short s)
void setRefnum (long l)
void setRefnum (unsigned char c)
void setRefnum (unsigned int i)
void setRefnum (unsigned short s)
void setRefnum (unsigned long l)
void setRefnum (float f)
void setRefnum (double d)
void unsetRefnum ()

Data Fields

int continuations
bool hasRefnum
CMK_REFNUM_TYPE refnum

Detailed Description

Definition at line 7 of file sdag.h.


Constructor & Destructor Documentation

virtual SDAG::Closure::~Closure (  )  [inline, virtual]

Definition at line 20 of file sdag.h.


Member Function Documentation

virtual void SDAG::Closure::pup ( PUP::er p  )  [pure virtual]

SDAG::Closure::PUPable_abstract ( Closure   ) 

void SDAG::Closure::ref ( void   )  [inline]

Definition at line 14 of file sdag.h.

References continuations.

Referenced by SDAG::Continuation::addClosure(), and SDAG::Buffer::Buffer().

Here is the caller graph for this function:

void SDAG::Closure::deref (  )  [inline]

Definition at line 15 of file sdag.h.

References continuations.

Referenced by SDAG::Buffer::~Buffer().

Here is the caller graph for this function:

void SDAG::Closure::packClosure ( PUP::er p  )  [inline]

Definition at line 18 of file sdag.h.

References continuations, hasRefnum, and refnum.

Referenced by SDAG::CSpeculator::pup(), SDAG::CCounter::pup(), SDAG::MsgClosure::pup(), SDAG::ForallClosure::pup(), and SDAG::TransportableBigSimLog::pup().

Here is the caller graph for this function:

void SDAG::Closure::init ( void   )  [inline]

template<typename T>
void SDAG::Closure::setRefnum ( t  )  [inline]

Definition at line 25 of file sdag.h.

Referenced by SDAG::MsgClosure::MsgClosure().

Here is the caller graph for this function:

void SDAG::Closure::setRefnum ( char  c  )  [inline]

Definition at line 26 of file sdag.h.

References hasRefnum, and refnum.

void SDAG::Closure::setRefnum ( int  i  )  [inline]

Definition at line 27 of file sdag.h.

References hasRefnum, and refnum.

void SDAG::Closure::setRefnum ( short  s  )  [inline]

Definition at line 28 of file sdag.h.

References hasRefnum, and refnum.

void SDAG::Closure::setRefnum ( long  l  )  [inline]

Definition at line 29 of file sdag.h.

References hasRefnum, and refnum.

void SDAG::Closure::setRefnum ( unsigned char  c  )  [inline]

Definition at line 30 of file sdag.h.

References hasRefnum, and refnum.

void SDAG::Closure::setRefnum ( unsigned int  i  )  [inline]

Definition at line 31 of file sdag.h.

References hasRefnum, and refnum.

void SDAG::Closure::setRefnum ( unsigned short  s  )  [inline]

Definition at line 32 of file sdag.h.

References hasRefnum, and refnum.

void SDAG::Closure::setRefnum ( unsigned long  l  )  [inline]

Definition at line 33 of file sdag.h.

References hasRefnum, and refnum.

void SDAG::Closure::setRefnum ( float  f  )  [inline]

Definition at line 34 of file sdag.h.

References hasRefnum, and refnum.

void SDAG::Closure::setRefnum ( double  d  )  [inline]

Definition at line 35 of file sdag.h.

References hasRefnum, and refnum.

void SDAG::Closure::unsetRefnum (  )  [inline]

Definition at line 36 of file sdag.h.

References hasRefnum, and refnum.


Field Documentation

Definition at line 10 of file sdag.h.

Referenced by deref(), init(), SDAG::MsgClosure::MsgClosure(), packClosure(), and ref().

Definition at line 11 of file sdag.h.

Referenced by init(), packClosure(), setRefnum(), and unsetRefnum().

CMK_REFNUM_TYPE SDAG::Closure::refnum

Definition at line 12 of file sdag.h.

Referenced by init(), packClosure(), setRefnum(), and unsetRefnum().


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

Generated on Mon Sep 21 08:34:20 2020 for Charm++ by  doxygen 1.5.5