Version: 9.12.0
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::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::~SALOME_PYQT_PyInterp ( )

Member Function Documentation

◆ initContext()

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

◆ initPython()

void SALOME_PYQT_PyInterp::initPython ( )
protectedvirtual

◆ run()

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

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