OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Interpreter::Interpreter Class Reference

#include <interpreter.hpp>

Collaboration diagram for Interpreter::Interpreter:

Public Member Functions

 Interpreter ()
 
 ~Interpreter ()
 
void installSegment0 (int code, Opcode1 *opcode)
 ownership of opcode is transferred to *this. More...
 
void installSegment1 (int code, Opcode2 *opcode)
 ownership of opcode is transferred to *this. More...
 
void installSegment2 (int code, Opcode1 *opcode)
 ownership of opcode is transferred to *this. More...
 
void installSegment3 (int code, Opcode1 *opcode)
 ownership of opcode is transferred to *this. More...
 
void installSegment4 (int code, Opcode2 *opcode)
 ownership of opcode is transferred to *this. More...
 
void installSegment5 (int code, Opcode0 *opcode)
 ownership of opcode is transferred to *this. More...
 
void run (const Type_Code *code, int codeSize, Context &context)
 

Private Member Functions

 Interpreter (const Interpreter &)
 
Interpreteroperator= (const Interpreter &)
 
void execute (Type_Code code)
 
void abortUnknownCode (int segment, int opcode)
 
void abortUnknownSegment (Type_Code code)
 
void begin ()
 
void end ()
 

Private Attributes

std::stack< RuntimemCallstack
 
bool mRunning
 
Runtime mRuntime
 
std::map< int, Opcode1 * > mSegment0
 
std::map< int, Opcode2 * > mSegment1
 
std::map< int, Opcode1 * > mSegment2
 
std::map< int, Opcode1 * > mSegment3
 
std::map< int, Opcode2 * > mSegment4
 
std::map< int, Opcode0 * > mSegment5
 

Constructor & Destructor Documentation

Interpreter::Interpreter::Interpreter ( const Interpreter )
private
Interpreter::Interpreter::Interpreter ( )
Interpreter::Interpreter::~Interpreter ( )

Member Function Documentation

void Interpreter::Interpreter::abortUnknownCode ( int  segment,
int  opcode 
)
private
void Interpreter::Interpreter::abortUnknownSegment ( Type_Code  code)
private
void Interpreter::Interpreter::begin ( )
private
void Interpreter::Interpreter::end ( )
private
void Interpreter::Interpreter::execute ( Type_Code  code)
private
void Interpreter::Interpreter::installSegment0 ( int  code,
Opcode1 opcode 
)

ownership of opcode is transferred to *this.

void Interpreter::Interpreter::installSegment1 ( int  code,
Opcode2 opcode 
)

ownership of opcode is transferred to *this.

void Interpreter::Interpreter::installSegment2 ( int  code,
Opcode1 opcode 
)

ownership of opcode is transferred to *this.

void Interpreter::Interpreter::installSegment3 ( int  code,
Opcode1 opcode 
)

ownership of opcode is transferred to *this.

Here is the caller graph for this function:

void Interpreter::Interpreter::installSegment4 ( int  code,
Opcode2 opcode 
)

ownership of opcode is transferred to *this.

void Interpreter::Interpreter::installSegment5 ( int  code,
Opcode0 opcode 
)

ownership of opcode is transferred to *this.

Here is the caller graph for this function:

Interpreter& Interpreter::Interpreter::operator= ( const Interpreter )
private
void Interpreter::Interpreter::run ( const Type_Code code,
int  codeSize,
Context context 
)

Here is the caller graph for this function:

Member Data Documentation

std::stack<Runtime> Interpreter::Interpreter::mCallstack
private
bool Interpreter::Interpreter::mRunning
private
Runtime Interpreter::Interpreter::mRuntime
private
std::map<int, Opcode1 *> Interpreter::Interpreter::mSegment0
private
std::map<int, Opcode2 *> Interpreter::Interpreter::mSegment1
private
std::map<int, Opcode1 *> Interpreter::Interpreter::mSegment2
private
std::map<int, Opcode1 *> Interpreter::Interpreter::mSegment3
private
std::map<int, Opcode2 *> Interpreter::Interpreter::mSegment4
private
std::map<int, Opcode0 *> Interpreter::Interpreter::mSegment5
private

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