lib
Kross::Api::Manager Class Reference
#include <manager.h>
Inheritance diagram for Kross::Api::Manager:

Detailed Description
The Manager class is the main entry point to work with Kross.It spends an abstraction layer between what is under the hood of Kross and the functionality you need to access. Use Interpreter to just work with some implementated interpreter like python. While Script spends a more flexible container.
Definition at line 55 of file manager.h.
Public Member Functions | |
~Manager () | |
QMap< QString, InterpreterInfo * > | getInterpreterInfos () |
bool | hasInterpreterInfo (const QString &interpretername) const |
InterpreterInfo * | getInterpreterInfo (const QString &interpretername) |
const QString & | getInterpreternameForFile (const QString &file) |
KSharedPtr< ScriptContainer > | getScriptContainer (const QString &scriptname) |
Interpreter * | getInterpreter (const QString &interpretername) |
const QStringList | getInterpreters () |
bool | addModule (Module::Ptr module) |
Module::Ptr | loadModule (const QString &modulename) |
Static Public Member Functions | |
static Manager * | scriptManager () |
Protected Member Functions | |
Manager () |
Constructor & Destructor Documentation
|
Constructor. Use scriptManager() to access the Manager singleton instance. Definition at line 87 of file manager.cpp. |
|
Destructor.
Definition at line 129 of file manager.cpp. |
Member Function Documentation
|
Add the an external module to the global shared list of loaded modules.
Definition at line 201 of file manager.cpp. |
|
Return the Interpreter instance defined by the interpretername.
Definition at line 176 of file manager.cpp. |
|
Definition at line 146 of file manager.cpp. |
|
Definition at line 136 of file manager.cpp. |
|
Definition at line 151 of file manager.cpp. |
|
Definition at line 188 of file manager.cpp. |
|
Return the existing ScriptContainer with scriptname or create a new ScriptContainer instance and associate the passed scriptname with it.
Definition at line 163 of file manager.cpp. |
|
Definition at line 141 of file manager.cpp. |
|
Load an external module and return it.
Definition at line 209 of file manager.cpp. |
|
Return the Manager instance. Always use this function to access the Manager singleton. Definition at line 74 of file manager.cpp. |
The documentation for this class was generated from the following files: