Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SALOME_PYQT_PyInterp Class Reference

#include <SALOME_PYQT_PyInterp.h>

Inheritance diagram for SALOME_PYQT_PyInterp:
Inheritance graph

Public Member Functions

 SALOME_PYQT_PyInterp ()
 
 ~SALOME_PYQT_PyInterp ()
 
virtual int run (const char *command)
 

Protected Member Functions

virtual void initPython ()
 
virtual bool initContext ()
 

Constructor & Destructor Documentation

SALOME_PYQT_PyInterp::SALOME_PYQT_PyInterp ( )

constructor : the main SALOME Python interpreter is used for PyQt GUI. calls initialize method defined in base class, which calls virtual methods initstate & initcontext redefined here

SALOME_PYQT_PyInterp::~SALOME_PYQT_PyInterp ( )

Member Function Documentation

bool SALOME_PYQT_PyInterp::initContext ( )
protectedvirtual

Override. Create a distinct context from the SALOME Python console. Especially the global context is not connected to main as in PyInterp_Interp

void SALOME_PYQT_PyInterp::initPython ( )
protectedvirtual
int SALOME_PYQT_PyInterp::run ( const char *  command)
virtual

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