OpenMW
Public Member Functions | Private Member Functions | Private Attributes
Interpreter::Interpreter Class Reference

#include <interpreter.hpp>

List of all members.

Public Member Functions

 Interpreter ()
 ~Interpreter ()
void installSegment0 (int code, Opcode1 *opcode)
 ownership of opcode is transferred to *this.
void installSegment1 (int code, Opcode2 *opcode)
 ownership of opcode is transferred to *this.
void installSegment2 (int code, Opcode1 *opcode)
 ownership of opcode is transferred to *this.
void installSegment3 (int code, Opcode1 *opcode)
 ownership of opcode is transferred to *this.
void installSegment4 (int code, Opcode2 *opcode)
 ownership of opcode is transferred to *this.
void installSegment5 (int code, Opcode0 *opcode)
 ownership of opcode is transferred to *this.
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)

Private Attributes

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


Member Function Documentation

void Interpreter::Interpreter::abortUnknownCode ( int  segment,
int  opcode 
) [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.

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.

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

Member Data Documentation

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: