#include <When.h>
Public Member Functions | |
WhenConstruct (EntryList *el, SdagConstruct *body) | |
void | generateCode (XStr &decls, XStr &defs, Entry *entry) |
void | generateEntryList (std::list< CEntry * > &CEntrylist, WhenConstruct *thisWhen) |
void | propagateState (std::list< EncapState * >, std::list< CStateVar * > &, std::list< CStateVar * > &, int) |
void | generateEntryName (XStr &defs, Entry *e, int curEntry) |
void | generateWhenCode (XStr &op, int indent) |
void | numberNodes () |
Data Fields | |
CStateVar * | speculativeState |
Definition at line 9 of file When.h.
xi::WhenConstruct::WhenConstruct | ( | EntryList * | el, | |
SdagConstruct * | body | |||
) |
Generate the ending of this 'when' clause, which calls the next in the sequence and handling deallocation of messages
Reimplemented from xi::SdagConstruct.
Definition at line 146 of file When.C.
References xi::SdagConstruct::buildTypes(), xi::XStr::charstar(), xi::CParsedFile::className, xi::SdagConstruct::constructs, xi::SdagConstruct::elist, xi::SdagConstruct::encapState, xi::SdagConstruct::encapStateChild, xi::endMethod(), xi::CEntry::entryNum, xi::Entry::entryPtr, xi::SdagConstruct::generateBeginTime(), xi::SdagConstruct::generateCall(), xi::SdagConstruct::generateChildrenCode(), xi::generateClosureSignature(), xi::SdagConstruct::generateEventBracket(), xi::XStr::get_string_const(), xi::indentBy(), xi::Entry::intExpr, xi::EncapState::isBgParentLog, xi::EncapState::isMessage, xi::SdagConstruct::label, xi::CStateVar::name, xi::EncapState::name, xi::SdagConstruct::nameStr, xi::SdagConstruct::next, xi::EntryList::next, xi::SdagConstruct::nextBeginOrEnd, xi::SdagConstruct::nodeNum, speculativeState, xi::SWHEN, xi::SWHEN_END, xi::SdagConstruct::unravelClosuresBegin(), and xi::SdagConstruct::unravelClosuresEnd().
void xi::WhenConstruct::generateEntryList | ( | std::list< CEntry * > & | CEntrylist, | |
WhenConstruct * | thisWhen | |||
) | [virtual] |
Reimplemented from xi::SdagConstruct.
void xi::WhenConstruct::propagateState | ( | std::list< EncapState * > | , | |
std::list< CStateVar * > & | , | |||
std::list< CStateVar * > & | , | |||
int | ||||
) | [virtual] |
Reimplemented from xi::BlockConstruct.
Definition at line 133 of file When.C.
References xi::Entry::getEntryName(), xi::ParamList::isVoid(), xi::CStateVar::name, xi::Entry::param, xi::Entry::paramIsMarshalled(), and xi::Entry::stateVars.
Definition at line 79 of file When.C.
References xi::SdagConstruct::buildTypes(), xi::SdagConstruct::elist, xi::SdagConstruct::encapState, xi::SdagConstruct::encapStateChild, xi::SdagConstruct::generateBeginExec(), xi::SdagConstruct::generateTlineEndCall(), xi::indentBy(), xi::EncapState::isBgParentLog, xi::EncapState::isMessage, xi::SdagConstruct::label, xi::EntryList::next, and xi::EncapState::type.
void xi::WhenConstruct::numberNodes | ( | void | ) | [virtual] |
Reimplemented from xi::SdagConstruct.
Definition at line 398 of file When.C.
References xi::SdagConstruct::nodeNum, xi::SdagConstruct::numberNodes(), and xi::numWhens.