#include <PythonNode.hxx>
Static Public Attributes | |
static const char | SCRIPT_FOR_SIMPLE_SERIALIZATION [] |
Protected Member Functions | |
PythonEntry () | |
~PythonEntry () | |
virtual void | assignRemotePyInterpretor (Engines::PyNodeBase_var remoteInterp)=0 |
virtual Engines::PyNodeBase_var | retrieveDftRemotePyInterpretorIfAny (Engines::Container_ptr objContainer) const =0 |
returns (if any) an object, you have to deal with (UnRegister) More... | |
virtual void | createRemoteAdaptedPyInterpretor (Engines::Container_ptr objContainer)=0 |
returns an object, you have to deal with (UnRegister) More... | |
virtual Engines::PyNodeBase_var | getRemoteInterpreterHandle ()=0 |
virtual const char * | getSerializationScript () const =0 |
void | commonRemoteLoad (InlineNode *reqNode) |
void | commonRemoteLoadPart1 (InlineNode *reqNode) |
Engines::Container_var | commonRemoteLoadPart2 (InlineNode *reqNode, bool &isInitializeRequested) |
void | commonRemoteLoadPart3 (InlineNode *reqNode, Engines::Container_ptr objContainer, bool isInitializeRequested) |
Static Protected Member Functions | |
static std::string | GetContainerLog (const std::string &mode, Container *container, const Task *askingTask) |
Protected Attributes | |
PyObject * | _context |
PyObject * | _pyfuncSer |
PyObject * | _pyfuncUnser |
PyObject * | _pyfuncSimpleSer |
Definition at line 35 of file PythonNode.hxx.
|
protected |
Definition at line 80 of file PythonNode.cxx.
|
protected |
Definition at line 84 of file PythonNode.cxx.
|
protectedpure virtual |
Implemented in YACS::ENGINE::PyFuncNode, and YACS::ENGINE::PythonNode.
Referenced by commonRemoteLoadPart2().
|
protected |
Definition at line 289 of file PythonNode.cxx.
References commonRemoteLoadPart1(), commonRemoteLoadPart2(), and commonRemoteLoadPart3().
Referenced by YACS::ENGINE::PythonNode::loadRemote(), and YACS::ENGINE::PyFuncNode::loadRemote().
|
protected |
Definition at line 93 of file PythonNode.cxx.
References DEBTRACE, YACS::ENGINE::InlineNode::getContainer(), YACS::ENGINE::Node::getName(), YACS::ENGINE::Node::setErrorDetails(), and YACS::Exception::what().
Referenced by commonRemoteLoad().
|
protected |
Definition at line 123 of file PythonNode.cxx.
References assignRemotePyInterpretor(), YACS::ENGINE::SalomeContainerTmpForHP::BuildFrom(), createRemoteAdaptedPyInterpretor(), YACS::ENGINE::InlineNode::getContainer(), YACS::ENGINE::SalomeContainer::getContainerPtr(), getRemoteInterpreterHandle(), retrieveDftRemotePyInterpretorIfAny(), and YACS::ENGINE::Node::setErrorDetails().
Referenced by commonRemoteLoad(), YACS::ENGINE::PythonNode::executeRemote(), and YACS::ENGINE::PyFuncNode::executeRemote().
|
protected |
Definition at line 175 of file PythonNode.cxx.
References _context, _pyfuncSer, _pyfuncSimpleSer, _pyfuncUnser, DEBTRACE, YACS::ENGINE::InlineNode::getContainer(), getRemoteInterpreterHandle(), getSerializationScript(), YACS::ENGINE::HomogeneousPoolContainer::INITIALIZE_SCRIPT_KEY, YACS::ENGINE::newPyStdOut(), SCRIPT_FOR_SIMPLE_SERIALIZATION, and YACS::ENGINE::Node::setErrorDetails().
Referenced by commonRemoteLoad().
|
protectedpure virtual |
returns an object, you have to deal with (UnRegister)
Implemented in YACS::ENGINE::PyFuncNode, and YACS::ENGINE::PythonNode.
Referenced by commonRemoteLoadPart2().
|
staticprotected |
Definition at line 254 of file PythonNode.cxx.
References DEBTRACE, and YACS::ENGINE::SalomeContainer::getContainerPtr().
Referenced by YACS::ENGINE::PythonNode::getContainerLog(), and YACS::ENGINE::PyFuncNode::getContainerLog().
|
protectedpure virtual |
Implemented in YACS::ENGINE::PyFuncNode, and YACS::ENGINE::PythonNode.
Referenced by commonRemoteLoadPart2(), and commonRemoteLoadPart3().
|
protectedpure virtual |
Implemented in YACS::ENGINE::PyFuncNode, and YACS::ENGINE::PythonNode.
Referenced by commonRemoteLoadPart3().
|
protectedpure virtual |
returns (if any) an object, you have to deal with (UnRegister)
Implemented in YACS::ENGINE::PyFuncNode, and YACS::ENGINE::PythonNode.
Referenced by commonRemoteLoadPart2().
|
protected |
Definition at line 54 of file PythonNode.hxx.
Referenced by YACS::ENGINE::PythonNode::applyDPLScope(), commonRemoteLoadPart3(), YACS::ENGINE::PythonNode::executeLocal(), YACS::ENGINE::PyFuncNode::loadLocal(), YACS::ENGINE::PyFuncNode::PyFuncNode(), YACS::ENGINE::PythonNode::PythonNode(), and ~PythonEntry().
|
protected |
Definition at line 55 of file PythonNode.hxx.
Referenced by commonRemoteLoadPart3(), YACS::ENGINE::PythonNode::executeRemote(), and YACS::ENGINE::PyFuncNode::executeRemote().
|
protected |
Definition at line 57 of file PythonNode.hxx.
Referenced by YACS::ENGINE::PythonNode::applyDPLScope(), and commonRemoteLoadPart3().
|
protected |
Definition at line 56 of file PythonNode.hxx.
Referenced by commonRemoteLoadPart3(), YACS::ENGINE::PythonNode::executeRemote(), and YACS::ENGINE::PyFuncNode::executeRemote().
|
static |
Definition at line 59 of file PythonNode.hxx.
Referenced by commonRemoteLoadPart3().