|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLAISCRIPT::CCodeContext Class ReferenceClass CCodeContext.
More...
#include <codage.h>
Inheritance diagram for NLAISCRIPT::CCodeContext:
List of all members.
Public Methods |
| CCodeContext (tStackRef &stackMem, tStackRef &heapMem, tCodeRef *codeMem, const NLAIAGENT::IObjectIA *thisClass, NLAIC::IIO *io) |
void | init () |
| For reinit the context after using. More...
|
void | setIO (NLAIC::IIO *io) |
| set the input output class. More...
|
| ~CCodeContext () |
|
const NLAIC::CIdentType & | getType (void) const |
| getType return a unique string how represente the class, it can be the name of the class. More...
|
const NLAIC::IBasicType * | clone (void) const |
| This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne. More...
|
const NLAIC::IBasicType * | newInstance (void) const |
| This function allow a new instance, that mean that the class is a class factory. More...
|
void | getDebugString (std::string &t) const |
| This is a Debug function, text is an character pointer to receive the debug text output, the debug text containe all think sensible to interset user. More...
|
void | save (NLMISC::IStream &f) |
| Save the class in a stream. More...
|
void | load (NLMISC::IStream &f) |
| Load the class from a stream. More...
|
|
bool | isEqual (const class NLAIAGENT::IBasicObjectIA &) const |
|
const NLAIAGENT::IObjectIA::CProcessResult & | run (void) |
| Some where Run method define the process of the agen. More...
|
Public Attributes |
tStackRef & | Stack |
| Stack is the stack for computing operation same as '+', '/' ... More...
|
tStackRef & | Heap |
| Heap is the stack for storage local variable. More...
|
tCodeRef * | Code |
| Code is the code in run. More...
|
const NLAIAGENT::IObjectIA * | Self |
| Self define the this of the interpreter class objects. More...
|
NLAIC::IIO * | InputOutput |
| InputOutput for the out put and in put request. More...
|
std::list< NLAIAGENT::IObjectIA * > | Param |
| Param shared the function attribut. More...
|
CContextDebug | ContextDebug |
| If the debugger is in run ContextDebug define its context. More...
|
Static Public Attributes |
const NLAIC::CIdentType | IdCodeContext |
| Referance of the object in the class factory. More...
|
Detailed Description
Class CCodeContext.
Define the contexte of the interpreter.
-
Author:
-
Chafik sameh , Robert gabriel , Nevrax France
-
Date:
-
2000
Definition at line 330 of file codage.h.
Constructor & Destructor Documentation
NLAISCRIPT::CCodeContext::~CCodeContext |
( |
|
) |
[inline] |
|
Member Function Documentation
const NLAIC::IBasicType* NLAISCRIPT::CCodeContext::clone |
( |
void |
|
) |
const [inline, virtual] |
|
|
This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne.
Implements NLAIC::IBasicType.
Definition at line 384 of file codage.h.
References x. |
void NLAISCRIPT::CCodeContext::getDebugString |
( |
std::string & |
t |
) |
const [inline, virtual] |
|
|
This is a Debug function, text is an character pointer to receive the debug text output, the debug text containe all think sensible to interset user.
Implements NLAIC::IBasicType.
Definition at line 393 of file codage.h.
References NLAIC::stringGetBuild, and t. |
const NLAIC::CIdentType& NLAISCRIPT::CCodeContext::getType |
( |
void |
|
) |
const [inline, virtual] |
|
|
getType return a unique string how represente the class, it can be the name of the class.
This function is used for the sytem regstry class (see the definition of the template class Gen::CRegistry).
Implements NLAIC::IBasicType.
Definition at line 380 of file codage.h. |
void NLAISCRIPT::CCodeContext::init |
( |
|
) |
[inline] |
|
|
For reinit the context after using.
Definition at line 366 of file codage.h. |
void NLAISCRIPT::CCodeContext::load |
( |
NLMISC::IStream & |
f |
) |
[inline, virtual] |
|
const NLAIC::IBasicType* NLAISCRIPT::CCodeContext::newInstance |
( |
void |
|
) |
const [inline, virtual] |
|
|
This function allow a new instance, that mean that the class is a class factory.
Implements NLAIC::IBasicType.
Definition at line 389 of file codage.h. |
void NLAISCRIPT::CCodeContext::save |
( |
NLMISC::IStream & |
f |
) |
[inline, virtual] |
|
void NLAISCRIPT::CCodeContext::setIO |
( |
NLAIC::IIO * |
io |
) |
[inline] |
|
Member Data Documentation
tCodeRef* NLAISCRIPT::CCodeContext::Code
|
|
|
Heap is the stack for storage local variable.
Definition at line 337 of file codage.h. |
|
Self define the this of the interpreter class objects.
Definition at line 341 of file codage.h.
Referenced by NLAIAGENT::CAgentScript::callConstructor, NLAIAGENT::CAgentScript::callFunction, NLAIAGENT::COperatorScript::checkPreconditions, NLAIAGENT::COperatorScript::execOnActivate, NLAIAGENT::CActorScript::failure, NLAIAGENT::COperatorScript::getDebugString, NLAIAGENT::CAgentScript::getDebugString, NLAISCRIPT::CAgentClass::initStatics, NLAIAGENT::CActorScript::pause, NLAIAGENT::CAgentScript::processMessages, NLAIAGENT::CActorScript::restart, NLAIAGENT::CActorScript::run, NLAIAGENT::CAgentScript::runActivity, NLAIAGENT::CMainAgentScript::runExec, NLAIAGENT::CActorScript::success, and NLAIAGENT::CActorScript::unActivate. |
The documentation for this class was generated from the following files:
|
|