NLAISCRIPT::IMethodContext Class Reference

#include <opcode_call_method.h>

Inheritance diagram for NLAISCRIPT::IMethodContext:

NLAISCRIPT::CMethodContext NLAISCRIPT::CMethodContextDebug

Detailed Description

Abstract class that allow to manage context on method call.

Definition at line 33 of file opcode_call_method.h.

Public Member Functions

virtual const IMethodContextclone () const=0
virtual void loadContext (CCodeContext &context)=0
virtual void saveContext (CCodeContext &context)=0


Member Function Documentation

virtual const IMethodContext* NLAISCRIPT::IMethodContext::clone  )  const [pure virtual]
 

Server method need this, in particular on the copy constructor where it is easy to clone param to init attribut.

Implemented in NLAISCRIPT::CMethodContext, and NLAISCRIPT::CMethodContextDebug.

virtual void NLAISCRIPT::IMethodContext::loadContext CCodeContext context  )  [pure virtual]
 

Allow to reload old context before the return of method.

Implemented in NLAISCRIPT::CMethodContext, and NLAISCRIPT::CMethodContextDebug.

Referenced by NLAISCRIPT::ICallMethod::loadContext().

virtual void NLAISCRIPT::IMethodContext::saveContext CCodeContext context  )  [pure virtual]
 

Allow to save the register, ip pointer .... before method call.

Implemented in NLAISCRIPT::CMethodContext, and NLAISCRIPT::CMethodContextDebug.

Referenced by NLAISCRIPT::ICallMethod::saveContext().


The documentation for this class was generated from the following file:
Generated on Tue Mar 16 12:36:41 2004 for NeL by doxygen 1.3.6