#include <sdag.h>
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 |
Definition at line 7 of file sdag.h.
virtual void SDAG::Closure::pup | ( | PUP::er & | p | ) | [pure virtual] |
Reimplemented from PUP::able.
Implemented in SDAG::TransportableBigSimLog, SDAG::ForallClosure, SDAG::MsgClosure, SDAG::CCounter, and SDAG::CSpeculator.
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().
void SDAG::Closure::deref | ( | ) | [inline] |
Definition at line 15 of file sdag.h.
References continuations.
Referenced by SDAG::Buffer::~Buffer().
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().
void SDAG::Closure::init | ( | void | ) | [inline] |
Definition at line 19 of file sdag.h.
References continuations, hasRefnum, and refnum.
Referenced by SDAG::CCounter::CCounter(), SDAG::CSpeculator::CSpeculator(), SDAG::ForallClosure::ForallClosure(), SDAG::MsgClosure::MsgClosure(), and SDAG::TransportableBigSimLog::TransportableBigSimLog().
void SDAG::Closure::setRefnum | ( | T | t | ) | [inline] |
Definition at line 25 of file sdag.h.
Referenced by SDAG::MsgClosure::MsgClosure().
void SDAG::Closure::setRefnum | ( | char | c | ) | [inline] |
void SDAG::Closure::setRefnum | ( | int | i | ) | [inline] |
void SDAG::Closure::setRefnum | ( | short | s | ) | [inline] |
void SDAG::Closure::setRefnum | ( | long | l | ) | [inline] |
void SDAG::Closure::setRefnum | ( | unsigned char | c | ) | [inline] |
void SDAG::Closure::setRefnum | ( | unsigned int | i | ) | [inline] |
void SDAG::Closure::setRefnum | ( | unsigned short | s | ) | [inline] |
void SDAG::Closure::setRefnum | ( | unsigned long | l | ) | [inline] |
void SDAG::Closure::setRefnum | ( | float | f | ) | [inline] |
void SDAG::Closure::setRefnum | ( | double | d | ) | [inline] |
void SDAG::Closure::unsetRefnum | ( | ) | [inline] |
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().