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

Interface for script manager (implemented in MWScript) More...

#include <scriptmanager.hpp>

Inheritance diagram for MWBase::ScriptManager:
Collaboration diagram for MWBase::ScriptManager:

Public Member Functions

 ScriptManager ()
 
virtual ~ScriptManager ()
 
virtual void run (const std::string &name, Interpreter::Context &interpreterContext)=0
 Run the script with the given name (compile first, if not compiled yet) More...
 
virtual bool compile (const std::string &name)=0
 
virtual std::pair< int, intcompileAll ()=0
 
virtual const Compiler::LocalsgetLocals (const std::string &name)=0
 Return locals for script name. More...
 
virtual MWScript::GlobalScriptsgetGlobalScripts ()=0
 

Private Member Functions

 ScriptManager (const ScriptManager &)
 not implemented More...
 
ScriptManageroperator= (const ScriptManager &)
 not implemented More...
 

Detailed Description

Interface for script manager (implemented in MWScript)

Constructor & Destructor Documentation

MWBase::ScriptManager::ScriptManager ( const ScriptManager )
private

not implemented

MWBase::ScriptManager::ScriptManager ( )
inline
virtual MWBase::ScriptManager::~ScriptManager ( )
inlinevirtual

Member Function Documentation

virtual bool MWBase::ScriptManager::compile ( const std::string &  name)
pure virtual

Compile script with the given namen

Returns
Success?

Implemented in MWScript::ScriptManager.

virtual std::pair<int, int> MWBase::ScriptManager::compileAll ( )
pure virtual

Compile all scripts

Returns
count, success

Implemented in MWScript::ScriptManager.

virtual MWScript::GlobalScripts& MWBase::ScriptManager::getGlobalScripts ( )
pure virtual

Implemented in MWScript::ScriptManager.

Here is the caller graph for this function:

virtual const Compiler::Locals& MWBase::ScriptManager::getLocals ( const std::string &  name)
pure virtual

Return locals for script name.

Implemented in MWScript::ScriptManager.

Here is the caller graph for this function:

ScriptManager& MWBase::ScriptManager::operator= ( const ScriptManager )
private

not implemented

virtual void MWBase::ScriptManager::run ( const std::string &  name,
Interpreter::Context interpreterContext 
)
pure virtual

Run the script with the given name (compile first, if not compiled yet)

Implemented in MWScript::ScriptManager.

Here is the caller graph for this function:


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