Stack_frame Class Reference

#include <stackframe.h>

Collaboration diagram for Stack_frame:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Stack_frame (Usecode_function *fun, int event, Game_object *caller, int chain, int depth)
 ~Stack_frame ()

Static Public Member Functions

static int getCallChainID ()

Public Attributes

Usecode_functionfunction
uint8ip
uint8data
uint8externs
uint8code
uint8endp
int line_number
int call_chain
int call_depth
int num_externs
int num_args
int num_vars
Usecode_valuelocals
int eventid
Game_objectcaller_item
Usecode_valuesave_sp

Static Public Attributes

static int LastCallChainID

Detailed Description

Definition at line 31 of file stackframe.h.


Constructor & Destructor Documentation

Stack_frame::Stack_frame ( Usecode_function fun,
int  event,
Game_object caller,
int  chain,
int  depth 
)

Definition at line 37 of file stackframe.cc.

References code, Usecode_function::code, data, endp, Usecode_function::extended, externs, function, ip, Usecode_function::len, locals, num_args, num_externs, num_vars, Read2(), and Read4().

Here is the call graph for this function:

Stack_frame::~Stack_frame (  ) 

Definition at line 75 of file stackframe.cc.

References locals.


Member Function Documentation

static int Stack_frame::getCallChainID (  )  [inline, static]

Definition at line 62 of file stackframe.h.

References LastCallChainID.

Referenced by Usecode_internal::call_function().


Member Data Documentation

Usecode_function* Stack_frame::function

Definition at line 38 of file stackframe.h.

Referenced by Stack_frame().

uint8* Stack_frame::ip

Definition at line 39 of file stackframe.h.

Referenced by Stack_frame(), and Usecode_internal::uc_trace_disasm().

uint8* Stack_frame::data

Definition at line 40 of file stackframe.h.

Referenced by Stack_frame(), and Usecode_internal::uc_trace_disasm().

uint8* Stack_frame::externs

Definition at line 41 of file stackframe.h.

Referenced by Stack_frame(), and Usecode_internal::uc_trace_disasm().

uint8* Stack_frame::code

Definition at line 42 of file stackframe.h.

Referenced by Stack_frame(), and Usecode_internal::uc_trace_disasm().

uint8* Stack_frame::endp

Definition at line 43 of file stackframe.h.

Referenced by Stack_frame().

int Stack_frame::line_number

Definition at line 44 of file stackframe.h.

int Stack_frame::call_chain

Definition at line 48 of file stackframe.h.

Referenced by Usecode_internal::call_function().

int Stack_frame::call_depth

Definition at line 49 of file stackframe.h.

Referenced by Usecode_internal::call_function(), and Usecode_internal::previous_stack_frame().

int Stack_frame::num_externs

Definition at line 51 of file stackframe.h.

Referenced by Stack_frame().

int Stack_frame::num_args

Definition at line 52 of file stackframe.h.

Referenced by Usecode_internal::call_function(), Stack_frame(), and Usecode_internal::uc_trace_disasm().

int Stack_frame::num_vars

Definition at line 53 of file stackframe.h.

Referenced by Stack_frame(), and Usecode_internal::uc_trace_disasm().

Usecode_value* Stack_frame::locals

Definition at line 54 of file stackframe.h.

Referenced by Usecode_internal::call_function(), Stack_frame(), Usecode_internal::uc_trace_disasm(), and ~Stack_frame().

int Stack_frame::eventid

Definition at line 56 of file stackframe.h.

Game_object* Stack_frame::caller_item

Definition at line 57 of file stackframe.h.

Referenced by Usecode_internal::call_function().

Usecode_value* Stack_frame::save_sp

Definition at line 59 of file stackframe.h.

Referenced by Usecode_internal::call_function(), and Usecode_internal::previous_stack_frame().

int Stack_frame::LastCallChainID [static]

Definition at line 61 of file stackframe.h.

Referenced by getCallChainID().


The documentation for this class was generated from the following files:
Generated on Mon Jul 9 15:03:49 2007 for ExultEngine by  doxygen 1.5.1