Kross::Python::PythonInterpreter Class Reference

#include <pythoninterpreter.h>

Inheritance diagram for Kross::Python::PythonInterpreter:
Kross::Api::Interpreter

Public Member Functions

 PythonInterpreter (Kross::Api::InterpreterInfo *info)
 
virtual ~PythonInterpreter ()
 
virtual Kross::Api::Script * createScript (Kross::Api::ScriptContainer *scriptcontainer)
 
PythonModule * mainModule ()
 
PythonSecurity * securityModule ()
 
- Public Member Functions inherited from Kross::Api::Interpreter
 Interpreter (InterpreterInfo *info)
 
virtual ~Interpreter ()
 

Additional Inherited Members

- Protected Attributes inherited from Kross::Api::Interpreter
InterpreterInfo * m_interpreterinfo
 

Detailed Description

Python interpreter bridge.

Implements an Kross::Api::Interpreter for the python interpreter.

Definition at line 45 of file pythoninterpreter.h.

Constructor & Destructor Documentation

◆ PythonInterpreter()

PythonInterpreter::PythonInterpreter ( Kross::Api::InterpreterInfo *  info)

Constructor.

Parameters
infoThe Kross::Api::InterpreterInfo instance which describes the PythonInterpreter for applications using Kross.

Definition at line 77 of file pythoninterpreter.cpp.

◆ ~PythonInterpreter()

PythonInterpreter::~PythonInterpreter ( )
virtual

Destructor.

Definition at line 190 of file pythoninterpreter.cpp.

Member Function Documentation

◆ createScript()

Kross::Api::Script * PythonInterpreter::createScript ( Kross::Api::ScriptContainer *  scriptcontainer)
virtual
Returns
a PythonScript instance.

Implements Kross::Api::Interpreter.

Definition at line 241 of file pythoninterpreter.cpp.

◆ mainModule()

PythonModule * PythonInterpreter::mainModule ( )
Returns
the MainModule instance.

Definition at line 246 of file pythoninterpreter.cpp.

◆ securityModule()

PythonSecurity * PythonInterpreter::securityModule ( )
Returns
the PythonSecurity instance.

Definition at line 251 of file pythoninterpreter.cpp.


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