PPL Logo

RTH_Runtime Class Reference

Describes everything associated with a flow of control-- execution stack, objects, and other housekeeping. More...

Collaboration diagram for RTH_Runtime:

Collaboration graph
[legend]

Public Member Functions

RTH_StackFrametos (void)
void push (const RTH_StackFrame &f)
bool pop (void)
 RTH_Runtime (void *obj_, const RTH_StackFrame &start)
 ~RTH_Runtime ()
void pup (PUP::er &p)

Data Fields

void * obj
int terminated

Private Types

enum  { maxStack = 16 }

Private Attributes

int stackptr
RTH_StackFrame stack [maxStack]

Detailed Description

Describes everything associated with a flow of control-- execution stack, objects, and other housekeeping.

Definition at line 65 of file RTH.C.


Member Enumeration Documentation

anonymous enum [private]

Enumerator:
maxStack 

Definition at line 69 of file RTH.C.


Constructor & Destructor Documentation

RTH_Runtime::RTH_Runtime ( void *  obj_,
const RTH_StackFrame start 
)

Definition at line 108 of file RTH.C.

References obj, push(), stackptr, and terminated.

RTH_Runtime::~RTH_Runtime (  ) 

Definition at line 114 of file RTH.C.

References pop(), and terminated.


Member Function Documentation

RTH_StackFrame& RTH_Runtime::tos ( void   )  [inline]

Definition at line 74 of file RTH.C.

Referenced by RTH_Runtime_call(), RTH_Runtime_done(), RTH_Runtime_resume(), and RTH_Runtime_suspend().

void RTH_Runtime::push ( const RTH_StackFrame f  )  [inline]

Definition at line 76 of file RTH.C.

References allocLocals(), RTH_StackFrame::locals, and RTH_StackFrame::localsSize.

Referenced by RTH_Runtime(), and RTH_Runtime_call().

bool RTH_Runtime::pop ( void   )  [inline]

Definition at line 82 of file RTH.C.

References freeLocals(), and RTH_StackFrame::locals.

Referenced by RTH_Runtime_done(), and ~RTH_Runtime().

void RTH_Runtime::pup ( PUP::er p  )  [inline]

Definition at line 99 of file RTH.C.

References s.

Referenced by RTH_Runtime_pup().


Field Documentation

Definition at line 68 of file RTH.C.

Referenced by RTH_Runtime().

RTH_StackFrame RTH_Runtime::stack[maxStack] [private]

Definition at line 70 of file RTH.C.

Definition at line 93 of file RTH.C.

Referenced by RTH_StackFrame::invoke(), and RTH_Runtime().

Definition at line 94 of file RTH.C.

Referenced by RTH_Runtime(), RTH_Runtime_resume(), and ~RTH_Runtime().


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

Generated on Fri May 25 08:05:16 2012 for Charm++ by  doxygen 1.5.5