|
Inherited by ContextImpl.
List of all members.
Detailed Description
The context manages a script execution environment. Each context represents a thread of execution, allowing multiple scripts to appear to run simultaneously.
Member Function Documentation
| virtual bool Context::asBool |
( |
int |
pos |
) |
[pure virtual] |
|
|
|
Retrieve a boolean value from the call stack. |
| virtual Double Context::asDouble |
( |
int |
pos |
) |
[pure virtual] |
|
|
|
Retrieve a double precision number from the call stack. |
| virtual Float Context::asFloat |
( |
int |
pos |
) |
[pure virtual] |
|
|
|
Retrieve a floating point number from the call stack. |
| virtual int Context::asInt |
( |
int |
pos |
) |
[pure virtual] |
|
|
|
Retrieve an integer number from the call stack. |
| virtual Matrix44& Context::asMatrix |
( |
int |
pos |
) |
[pure virtual] |
|
|
|
Retrieve a Matrix44 from the call stack. |
| virtual void* Context::asPointer |
( |
int |
pos |
) |
[pure virtual] |
|
|
|
Retrieves a C pointer from the call stack. |
| virtual Quaternion& Context::asQuaternion |
( |
int |
pos |
) |
[pure virtual] |
|
|
|
Retrieve a quaternion from the call stack. |
| virtual Service* Context::asService |
( |
int |
pos, |
|
|
const Char * |
expectedType |
|
) |
[pure virtual] |
|
|
|
Retrieve a service instance from the call stack. |
| virtual const Char* Context::asString |
( |
int |
pos |
) |
[pure virtual] |
|
|
|
Retrieve a string value from the call stack. |
| virtual Vector3& Context::asVector |
( |
int |
pos |
) |
[pure virtual] |
|
|
|
Retrieve a Vector3 from the call stack. |
| virtual Service* Context::beginCall |
( |
const Char * |
expectedType, |
|
|
int * |
args |
|
) |
[pure virtual] |
|
|
|
Prepare the context to retrieve function call arguments. Returns the target service object (the "this" pointer). |
| virtual void Context::beginDispatch |
( |
Service * |
s, |
|
|
const Char * |
method |
|
) |
[pure virtual] |
|
|
|
Prepare for a call to a script service method. |
| virtual void Context::dispatch |
( |
|
) |
[pure virtual] |
|
|
|
Make a call to a script service method. |
| virtual void Context::endDispatch |
( |
|
) |
[pure virtual] |
|
|
|
Clean up after a script service method call. |
| virtual void Context::printContents |
( |
|
) |
[pure virtual] |
|
|
|
Dump the contents of the context to the execution log (for debugging). |
| virtual void Context::pushBool |
( |
bool |
b |
) |
[pure virtual] |
|
|
|
Push a boolean value onto the call stack. |
| virtual void Context::pushDouble |
( |
Double |
d |
) |
[pure virtual] |
|
|
|
Push a double precision number onto the call stack. |
| virtual void Context::pushFloat |
( |
Float |
f |
) |
[pure virtual] |
|
|
|
Push a floating point value onto the call stack. |
| virtual void Context::pushInt |
( |
int |
i |
) |
[pure virtual] |
|
|
|
Push an integer onto the call stack. |
| virtual void Context::pushMatrix |
( |
const Matrix44 & |
m |
) |
[pure virtual] |
|
| virtual void Context::pushNull |
( |
|
) |
[pure virtual] |
|
|
|
Push a NULL value onto the call stack. |
| virtual void Context::pushPointer |
( |
void * |
p |
) |
[pure virtual] |
|
|
|
Push a C pointer onto the call stack. |
| virtual void Context::pushQuaternion |
( |
const Quaternion & |
q |
) |
[pure virtual] |
|
|
|
Push a quaternion onto the call stack. |
| virtual void Context::pushService |
( |
Service * |
s |
) |
[pure virtual] |
|
|
|
Push a service instance onto the call stack. |
| virtual void Context::pushString |
( |
const std::string & |
x |
) |
[pure virtual] |
|
|
|
Push the contents of an STL string onto the call stack. |
| virtual void Context::pushString |
( |
const Char * |
s |
) |
[pure virtual] |
|
|
|
Push a C string onto the call stack. |
| virtual void Context::pushVector |
( |
const Vector3 & |
v |
) |
[pure virtual] |
|
|
|
Push a Vector3 onto the call stack. |
The documentation for this struct was generated from the following file:
Flat Four Engine
Copyright (C) 2001 by 379, Inc.
|
This page generated by Doxygen
|
|