#include <RuntimeSALOME.hxx>
Public Types | |
enum | { IsPyExt = 1, UsePython = 2, UseCorba = 4, UseXml = 8, UseCpp = 16, UseSalome = 32 } |
Public Member Functions | |
virtual std::string | getVersion () const |
virtual void | init (long flags, int argc, char *argv[]) |
CORBA and Python initialization. More... | |
virtual void | fini () |
virtual InputPort * | createInputPort (const std::string &name, const std::string &impl, Node *node, TypeCode *type) |
virtual OutputPort * | createOutputPort (const std::string &name, const std::string &impl, Node *node, TypeCode *type) |
virtual InputDataStreamPort * | createInputDataStreamPort (const std::string &name, Node *node, TypeCode *type) |
virtual OutputDataStreamPort * | createOutputDataStreamPort (const std::string &name, Node *node, TypeCode *type) |
virtual DataNode * | createInDataNode (const std::string &kind, const std::string &name) |
virtual DataNode * | createOutDataNode (const std::string &kind, const std::string &name) |
virtual InlineFuncNode * | createFuncNode (const std::string &kind, const std::string &name) |
virtual InlineNode * | createScriptNode (const std::string &kind, const std::string &name) |
virtual ServiceNode * | createRefNode (const std::string &kind, const std::string &name) |
virtual ServiceNode * | createCompoNode (const std::string &kind, const std::string &name) |
virtual ServiceInlineNode * | createSInlineNode (const std::string &kind, const std::string &name) |
virtual ComponentInstance * | createComponentInstance (const std::string &name, const std::string &kind="") |
virtual Container * | createContainer (const std::string &kind="") |
virtual WhileLoop * | createWhileLoop (const std::string &name) |
virtual ForLoop * | createForLoop (const std::string &name) |
virtual OptimizerLoop * | createOptimizerLoop (const std::string &name, const std::string &algLib, const std::string &factoryName, bool algInitOnFile, const std::string &kind="", Proc *procForTypes=NULL) |
virtual Bloc * | createBloc (const std::string &name) |
virtual Proc * | createProc (const std::string &name) |
virtual TypeCode * | createInterfaceTc (const std::string &id, const std::string &name, std::list< TypeCodeObjref * > ltc) |
virtual TypeCode * | createSequenceTc (const std::string &id, const std::string &name, TypeCode *content) |
virtual TypeCodeStruct * | createStructTc (const std::string &id, const std::string &name) |
virtual InputPort * | adapt (InputPort *source, const std::string &impl, TypeCode *type, bool init=false) throw (ConversionException) |
Main adapter function : adapt an InputPort to be able to connect it to an OutputPort with a possible different implementation. More... | |
virtual InputPort * | adapt (InPropertyPort *source, const std::string &impl, TypeCode *type, bool init=false) throw (ConversionException) |
Adapter function for InPropertyPort. More... | |
virtual InputPort * | adaptNeutral (InputPort *source, const std::string &impl, TypeCode *type, bool init) throw (ConversionException) |
Adapt a Neutral input port to connect it to an output port with a given implementation. More... | |
virtual InputPort * | adapt (InputCorbaPort *source, const std::string &impl, TypeCode *type, bool init) throw (ConversionException) |
Adapt a CORBA input port to an output which implementation and type are given by impl and type. More... | |
virtual InputPort * | adaptCorbaToCorba (InputCorbaPort *source, TypeCode *type) throw (ConversionException) |
Adapt a CORBA input port to a CORBA output port. More... | |
virtual InputPort * | adaptCorbaToNeutral (InputCorbaPort *source, TypeCode *type) throw (ConversionException) |
Adapt a CORBA input port to a neutral data. More... | |
virtual InputPort * | adaptCorbaToPython (InputCorbaPort *source, TypeCode *type) throw (ConversionException) |
Adapt a CORBA input port to a Python output port. More... | |
virtual InputPort * | adaptCorbaToCpp (InputCorbaPort *source, TypeCode *type) throw (ConversionException) |
Adapt a CORBA input port to a C++ output port. More... | |
virtual InputPort * | adaptCorbaToXml (InputCorbaPort *source, TypeCode *type) throw (ConversionException) |
Adapt a CORBA input port to connect it to a XML output port. More... | |
virtual InputPort * | adapt (InputPyPort *source, const std::string &impl, TypeCode *type, bool init) throw (ConversionException) |
Adapt a Python input port to an output port with a given implementation. More... | |
virtual InputPort * | adaptPythonToCorba (InputPyPort *source, TypeCode *type) throw (ConversionException) |
Adapt a Python input port to a Corba output port. More... | |
virtual InputPort * | adaptPythonToNeutral (InputPyPort *source, TypeCode *type) throw (ConversionException) |
Adapt a Python input port to a Neutral data port. More... | |
virtual InputPort * | adaptPythonToPython (InputPyPort *source, TypeCode *type, bool init) throw (ConversionException) |
Adapt a Python input port to a Python output port. More... | |
virtual InputPort * | adaptPythonToXml (InputPyPort *source, TypeCode *type) throw (ConversionException) |
Adapt a Python input port to a Xml output port. More... | |
virtual InputPort * | adaptPythonToCpp (InputPyPort *source, TypeCode *type) throw (ConversionException) |
Adapt a Python input port to a C++ output port. More... | |
virtual InputPort * | adapt (InputCppPort *source, const std::string &impl, TypeCode *type, bool init) throw (ConversionException) |
Adapt a C++ input port to connect it to an output port with a given implementation. More... | |
virtual InputPort * | adaptCppToCorba (InputCppPort *source, TypeCode *type) throw (ConversionException) |
Adapt a C++ input port to connect it to a CORBA output port. More... | |
virtual InputPort * | adaptCppToNeutral (InputCppPort *source, TypeCode *type) throw (ConversionException) |
Adapt a C++ input port to a Neutral output port. More... | |
virtual InputPort * | adaptCppToPython (InputCppPort *source, TypeCode *type) throw (ConversionException) |
Adapt a C++ input port to a Python output port. More... | |
virtual InputPort * | adaptCppToXml (InputCppPort *source, TypeCode *type) throw (ConversionException) |
virtual InputPort * | adaptCppToCpp (InputCppPort *source, TypeCode *type) throw (ConversionException) |
Adapt a C++ input port to a C++ output port. More... | |
virtual InputPort * | adapt (InputXmlPort *source, const std::string &impl, TypeCode *type, bool init) throw (ConversionException) |
Adapt an Xml input port to an output port which implementation is given by impl. More... | |
virtual InputPort * | adaptXmlToCorba (InputXmlPort *source, TypeCode *type) throw (ConversionException) |
Adapt a XML input port to connect it to a CORBA output port. More... | |
virtual InputPort * | adaptXmlToPython (InputXmlPort *inport, TypeCode *type) throw (ConversionException) |
Adapt a XML input port to a Python output port. More... | |
virtual InputPort * | adaptXmlToCpp (InputXmlPort *inport, TypeCode *type) throw (ConversionException) |
Adapt a XML input port to a C++ output port. More... | |
virtual InputPort * | adaptXmlToNeutral (InputXmlPort *inport, TypeCode *type) throw (ConversionException) |
Adapt a XML input port to a Neutral output port. More... | |
virtual InputPort * | adaptXmlToXml (InputXmlPort *inport, TypeCode *type, bool init) throw (ConversionException) |
Adapt a XML input port to a Xml output port. More... | |
virtual InputPort * | adaptNeutralToXml (InputPort *inport, TypeCode *type) throw (ConversionException) |
Adapt a Neutral input port to a Xml output port. More... | |
virtual InputPort * | adaptNeutralToPython (InputPort *inport, TypeCode *type) throw (ConversionException) |
Adapt a Neutral input port to a Python output port. More... | |
virtual InputPort * | adaptNeutralToCorba (InputPort *inport, TypeCode *type) throw (ConversionException) |
Adapt a Neutral input port to a Corba output port. More... | |
virtual InputPort * | adaptNeutralToCpp (InputPort *inport, TypeCode *type) throw (ConversionException) |
Adapt a Neutral input port to a C++ output port. More... | |
virtual void * | convertNeutral (TypeCode *type, Any *data) |
Convert a YACS::ENGINE::Any object to an external object with type type. More... | |
virtual std::string | convertNeutralAsString (TypeCode *type, Any *data) |
Convert a YACS::ENGINE::Any object to a string to be used in GUI for example. More... | |
virtual std::string | convertPyObjectToString (PyObject *ob) |
virtual PyObject * | convertStringToPyObject (const std::string &s) |
virtual | ~RuntimeSALOME () |
CORBA::ORB_ptr | getOrb () |
PyObject * | getPyOrb () |
PyObject * | getBuiltins () |
DynamicAny::DynAnyFactory_ptr | getDynFactory () |
omniORBpyAPI * | getApi () |
PyObject * | get_omnipy () |
Public Member Functions inherited from YACS::ENGINE::Runtime | |
virtual void | init () |
virtual Catalog * | loadCatalog (const std::string &sourceKind, const std::string &path) |
Load a catalog of calculation to use as factory. More... | |
virtual ForEachLoop * | createForEachLoop (const std::string &name, TypeCode *type) |
virtual Switch * | createSwitch (const std::string &name) |
virtual void | removeRuntime () |
virtual | ~Runtime () |
virtual void | setCatalogLoaderFactory (const std::string &name, CatalogLoader *factory) |
Add a catalog loader factory to the map _catalogLoaderFactoryMap under the name name. More... | |
Catalog * | getBuiltinCatalog () |
Get the catalog of base nodes (elementary and composed) More... | |
virtual void | addCatalog (Catalog *catalog) |
Add a catalog of types and nodes to the runtime. More... | |
virtual TypeCode * | getTypeCode (const std::string &name) |
Get a typecode by its name from runtime catalogs. More... | |
Static Public Member Functions | |
static void | setRuntime (long flags=UsePython+UseCorba+UseXml+UseCpp+UseSalome, int argc=0, char *argv[]=NULL) |
Public Attributes | |
enum YACS::ENGINE::RuntimeSALOME:: { ... } | FLAGS |
Public Attributes inherited from YACS::ENGINE::Runtime | |
std::map< std::string, CatalogLoader * > | _catalogLoaderFactoryMap |
Protected Member Functions | |
RuntimeSALOME () | |
RuntimeSALOME (long flags, int argc, char *argv[]) | |
void | initBuiltins () |
Protected Member Functions inherited from YACS::ENGINE::Runtime | |
Runtime () | |
Protected Attributes | |
CORBA::ORB_var | _orb |
PyObject * | _pyorb |
PyObject * | _bltins |
DynamicAny::DynAnyFactory_var | _dynFactory |
omniORBpyAPI * | _api |
PyObject * | _omnipy |
long | _flags |
bool | _usePython |
bool | _useCorba |
bool | _useCpp |
bool | _useXml |
Protected Attributes inherited from YACS::ENGINE::Runtime | |
std::set< std::string > | _setOfImplementation |
Catalog * | _builtinCatalog |
std::vector< Catalog * > | _catalogs |
Static Private Member Functions | |
static Runtime * | getSingleton () |
Friends | |
RuntimeSALOME * | getSALOMERuntime () |
Additional Inherited Members | |
Static Public Attributes inherited from YACS::ENGINE::Runtime | |
static const char | RUNTIME_ENGINE_INTERACTION_IMPL_NAME [] ="Neutral" |
static YACS::ENGINE::TypeCode * | _tc_double = 0 |
static YACS::ENGINE::TypeCode * | _tc_int = 0 |
static YACS::ENGINE::TypeCode * | _tc_bool = 0 |
static YACS::ENGINE::TypeCode * | _tc_string = 0 |
static YACS::ENGINE::TypeCode * | _tc_file = 0 |
static YACS::ENGINE::TypeCode * | _tc_stringpair = 0 |
static YACS::ENGINE::TypeCode * | _tc_propvec = 0 |
Static Protected Attributes inherited from YACS::ENGINE::Runtime | |
static Runtime * | _singleton = 0 |
Definition at line 75 of file RuntimeSALOME.hxx.
anonymous enum |
|
virtual |
|
protected |
Singleton creation, initialize converter map
Definition at line 150 of file RuntimeSALOME.cxx.
References YASSERT.
|
protected |
Definition at line 199 of file RuntimeSALOME.cxx.
|
virtual |
Main adapter function : adapt an InputPort to be able to connect it to an OutputPort with a possible different implementation.
source | : InputPort to be adapted |
impl | : new implementation (C++, python, CORBA, XML, Neutral) |
type | : data type provided by the InputPort |
init | : indicates if the adapted InputPort will be used for initialization (value true) or not (value false) |
Implements YACS::ENGINE::Runtime.
Definition at line 719 of file RuntimeSALOME.cxx.
References gui.adapt::adapt().
|
virtual |
Adapter function for InPropertyPort.
source | : InPropertyPort to be adapted |
impl | : new implementation (C++, python, CORBA, XML, Neutral) |
type | : data type provided by the InPropertyPort |
init | : indicates if the adapted InPropertyPort will be used for initialization (value true) or not (value false) |
Implements YACS::ENGINE::Runtime.
Definition at line 762 of file RuntimeSALOME.cxx.
|
virtual |
Adapt a CORBA input port to an output which implementation and type are given by impl and type.
source | : input port to adapt to implementation impl and type type |
impl | : output port implementation (C++, Python or Corba) |
type | : outport data type |
init | : if init is true the proxy port will be used in initialization of input port (needs value check) |
Definition at line 1307 of file RuntimeSALOME.cxx.
|
virtual |
Adapt a Python input port to an output port with a given implementation.
source | : input port to adapt to implementation impl and type type |
impl | : output port implementation (C++, Python or Corba) |
type | : output port type |
init | : if init is true the proxy port will be used in initialization of input port (needs value check) |
Definition at line 1573 of file RuntimeSALOME.cxx.
|
virtual |
Adapt a C++ input port to connect it to an output port with a given implementation.
source | : input port to adapt to implementation impl and type type |
impl | : output port implementation (C++, Python or Corba) |
type | : output port supported type |
init | : if init is true the proxy port will be used in initialization of input port (needs value check) |
Definition at line 1738 of file RuntimeSALOME.cxx.
References DEBTRACE.
|
virtual |
Adapt an Xml input port to an output port which implementation is given by impl.
source | : input port to adapt to implementation impl and type type |
impl | : output port implementation (C++, Python or Corba) |
type | : output port supported type |
init | : if init is true the proxy port will be used in initialization of input port (needs value check) |
Definition at line 1045 of file RuntimeSALOME.cxx.
|
virtual |
Adapt a CORBA input port to a CORBA output port.
inport | : input port to adapt to CORBA outport data type |
type | : outport data type |
Definition at line 1085 of file RuntimeSALOME.cxx.
References YACS::ENGINE::isAdaptableCorbaCorba().
|
virtual |
Adapt a CORBA input port to a C++ output port.
inport | : input port to adapt to C++ type type |
type | : outport data type |
Definition at line 1222 of file RuntimeSALOME.cxx.
References DEBTRACE, and YACS::ENGINE::isAdaptableCorbaCpp().
|
virtual |
Adapt a CORBA input port to a neutral data.
inport | : InputPort to adapt to Neutral type type |
type | : outport data type |
Definition at line 1248 of file RuntimeSALOME.cxx.
References YACS::ENGINE::Bool, YACS::ENGINE::Double, YACS::ENGINE::Int, YACS::ENGINE::isAdaptableCorbaNeutral(), YACS::ENGINE::Objref, YACS::ENGINE::Sequence, YACS::ENGINE::String, and YACS::ENGINE::Struct.
|
virtual |
Adapt a CORBA input port to a Python output port.
inport | : input port to adapt to Python type type |
type | : outport data type |
Definition at line 1117 of file RuntimeSALOME.cxx.
References YACS::ENGINE::Bool, YACS::ENGINE::Double, YACS::ENGINE::Int, YACS::ENGINE::isAdaptableCorbaPyObject(), YACS::ENGINE::Objref, YACS::ENGINE::Sequence, YACS::ENGINE::String, and YACS::ENGINE::Struct.
|
virtual |
Adapt a CORBA input port to connect it to a XML output port.
inport | : input port to adapt to Xml type type |
type | : type supported by output port |
Definition at line 1196 of file RuntimeSALOME.cxx.
|
virtual |
Adapt a C++ input port to connect it to a CORBA output port.
inport | : input port to adapt to CORBA type type |
type | : type supported by output port |
Definition at line 1614 of file RuntimeSALOME.cxx.
References DEBTRACE, and YACS::ENGINE::isAdaptableCppCorba().
|
virtual |
Adapt a C++ input port to a C++ output port.
inport | : input port to adapt to C++ type type |
type | : output port type |
Definition at line 1664 of file RuntimeSALOME.cxx.
References DEBTRACE.
|
virtual |
Adapt a C++ input port to a Neutral output port.
inport | : input port to adapt to C++ type type |
type | : output port type |
Definition at line 1690 of file RuntimeSALOME.cxx.
References DEBTRACE.
|
virtual |
Adapt a C++ input port to a Python output port.
inport | : input port to adapt to Python type type |
type | : output port type |
Definition at line 1639 of file RuntimeSALOME.cxx.
References DEBTRACE, and YACS::ENGINE::isAdaptableCppPyObject().
|
virtual |
Definition at line 1710 of file RuntimeSALOME.cxx.
References DEBTRACE, and YACS::ENGINE::isAdaptableCppXml().
|
virtual |
Adapt a Neutral input port to connect it to an output port with a given implementation.
source | : Neutral input port to adapt to implementation impl and type type |
impl | : output port implementation (C++, Python, Corba, Xml or Neutral) |
type | : output port supported type |
init | : if init is true the proxy port will be used in initialization of input port (needs value check) |
Definition at line 882 of file RuntimeSALOME.cxx.
|
virtual |
Adapt a Neutral input port to a Corba output port.
inport | : Neutral input port to adapt to Corba type type |
type | : output port type |
Definition at line 775 of file RuntimeSALOME.cxx.
|
virtual |
Adapt a Neutral input port to a C++ output port.
inport | : input port to adapt to C++ type type |
type | : output port type |
Definition at line 855 of file RuntimeSALOME.cxx.
References DEBTRACE, and YACS::ENGINE::isAdaptableNeutralCpp().
|
virtual |
Adapt a Neutral input port to a Python output port.
inport | : input port to adapt to Python type type |
type | : output port type |
Definition at line 800 of file RuntimeSALOME.cxx.
References YACS::ENGINE::Objref, and YACS::ENGINE::Sequence.
|
virtual |
Adapt a Neutral input port to a Xml output port.
inport | : input port to adapt to Xml type type |
type | : output port type |
Definition at line 830 of file RuntimeSALOME.cxx.
|
virtual |
Adapt a Python input port to a Corba output port.
Always convert the data
inport | : InputPort to adapt to Corba type type |
type | : outport data type |
Definition at line 1467 of file RuntimeSALOME.cxx.
References YACS::ENGINE::Bool, YACS::ENGINE::Double, YACS::ENGINE::Int, YACS::ENGINE::isAdaptablePyObjectCorba(), YACS::ENGINE::Objref, YACS::ENGINE::Sequence, YACS::ENGINE::String, and YACS::ENGINE::Struct.
|
virtual |
Adapt a Python input port to a C++ output port.
inport | : InputPort to adapt to C++ type type |
type | : outport data type |
Definition at line 1383 of file RuntimeSALOME.cxx.
References DEBTRACE, and YACS::ENGINE::isAdaptablePyObjectCpp().
|
virtual |
Adapt a Python input port to a Neutral data port.
inport | : InputPort to adapt to Neutral type type |
type | : outport data type |
Definition at line 1409 of file RuntimeSALOME.cxx.
References YACS::ENGINE::Bool, YACS::ENGINE::Double, YACS::ENGINE::Int, YACS::ENGINE::isAdaptablePyObjectNeutral(), YACS::ENGINE::Objref, YACS::ENGINE::Sequence, YACS::ENGINE::String, and YACS::ENGINE::Struct.
|
virtual |
Adapt a Python input port to a Python output port.
No need to make conversion or cast. Only check, it's possible.
inport | : InputPort to adapt to Python type type |
type | : outport data type |
init | : if init is true the proxy port will be used in initialization of input port (needs value check) |
Definition at line 1353 of file RuntimeSALOME.cxx.
References YACS::ENGINE::isAdaptablePyObjectPyObject().
|
virtual |
Adapt a Python input port to a Xml output port.
inport | : input port to adapt to Xml type type |
type | : output port type |
Definition at line 1545 of file RuntimeSALOME.cxx.
|
virtual |
Adapt a XML input port to connect it to a CORBA output port.
inport | : input port to adapt to CORBA type type |
type | : type supported by output port |
Definition at line 922 of file RuntimeSALOME.cxx.
References YACS::ENGINE::isAdaptableXmlCorba().
|
virtual |
Adapt a XML input port to a C++ output port.
inport | : input port to adapt to C++ type type |
type | : output port type |
Definition at line 970 of file RuntimeSALOME.cxx.
References DEBTRACE.
|
virtual |
Adapt a XML input port to a Neutral output port.
inport | : input port to adapt to Neutral type type |
type | : output port type |
Definition at line 996 of file RuntimeSALOME.cxx.
|
virtual |
Adapt a XML input port to a Python output port.
inport | : input port to adapt to Python type type |
type | : output port type |
Definition at line 946 of file RuntimeSALOME.cxx.
|
virtual |
Adapt a XML input port to a Xml output port.
inport | : input port to adapt to Xml type type |
type | : output port type |
init | : if init is true the proxy port will be used in initialization of input port (needs value check) |
Definition at line 1018 of file RuntimeSALOME.cxx.
References YACS::ENGINE::DataPort::getName().
Convert a YACS::ENGINE::Any object to an external object with type type.
This method is used to convert Neutral objects to script languages. For example Python language. The runtime has one external script language. The object is returned as a void * because engine knows nothing about external script language.
type,: | the type of the converted object if the conversion is possible |
data,: | the object to convert |
Reimplemented from YACS::ENGINE::Runtime.
Definition at line 1809 of file RuntimeSALOME.cxx.
References YACS::ENGINE::convertNeutralPyObject().
Convert a YACS::ENGINE::Any object to a string to be used in GUI for example.
engine package does not provide a conversion to string. It has to be implemented in the runtime package.
type,: | the type of the object to convert |
data,: | the object to convert |
Reimplemented from YACS::ENGINE::Runtime.
Definition at line 1820 of file RuntimeSALOME.cxx.
References YACS::ENGINE::convertNeutralPyObject(), and YACS::ENGINE::convertPyObjectToString().
|
virtual |
Definition at line 1848 of file RuntimeSALOME.cxx.
References YACS::ENGINE::convertPyObjectToString().
|
virtual |
Definition at line 1853 of file RuntimeSALOME.cxx.
References YACS::ENGINE::newPyStdOut().
Referenced by YACS::HMI::CommandSetInPortValue::localExecute(), YACS::HMI::CommandSetOutPortValue::localExecute(), YACS::HMI::CommandSetInPortValue::localReverse(), and YACS::HMI::CommandSetOutPortValue::localReverse().
|
virtual |
Reimplemented from YACS::ENGINE::Runtime.
Definition at line 469 of file RuntimeSALOME.cxx.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Reimplemented from YACS::ENGINE::Runtime.
Definition at line 479 of file RuntimeSALOME.cxx.
|
virtual |
|
virtual |
|
virtual |
Reimplemented from YACS::ENGINE::Runtime.
Definition at line 682 of file RuntimeSALOME.cxx.
References DEBTRACE, YACS::ENGINE::TypeCode::kind(), YACS::ENGINE::Objref, and YACS::ENGINE::TypeCode::shortName().
|
virtual |
|
virtual |
|
virtual |
Reimplemented from YACS::ENGINE::Runtime.
Definition at line 484 of file RuntimeSALOME.cxx.
References YACS::ENGINE::DynParaLoop::edGetNbOfBranchesPort(), and YACS::ENGINE::InputPort::edInit().
|
virtual |
|
virtual |
Reimplemented from YACS::ENGINE::Runtime.
Definition at line 696 of file RuntimeSALOME.cxx.
References DEBTRACE, YACS::ENGINE::TypeCode::kind(), YACS::ENGINE::Objref, and YACS::ENGINE::TypeCode::shortName().
|
virtual |
|
virtual |
Reimplemented from YACS::ENGINE::Runtime.
Definition at line 440 of file RuntimeSALOME.cxx.
Referenced by YACS::HMI::Invocator::Invocator(), and YACS::HMI::GenericGui::onNewSchema().
|
virtual |
|
virtual |
|
virtual |
Reimplemented from YACS::ENGINE::Runtime.
Definition at line 454 of file RuntimeSALOME.cxx.
|
virtual |
|
virtual |
|
virtual |
Reimplemented from YACS::ENGINE::Runtime.
Definition at line 474 of file RuntimeSALOME.cxx.
|
virtual |
Reimplemented from YACS::ENGINE::Runtime.
Definition at line 384 of file RuntimeSALOME.cxx.
References DEBTRACE.
PyObject * RuntimeSALOME::get_omnipy | ( | ) |
Definition at line 1799 of file RuntimeSALOME.cxx.
omniORBpyAPI * RuntimeSALOME::getApi | ( | ) |
Definition at line 1804 of file RuntimeSALOME.cxx.
Referenced by YACS::ENGINE::convertFromYacsObjref< PYTHONImpl, PyObject * >::convert().
PyObject * RuntimeSALOME::getBuiltins | ( | ) |
Definition at line 1789 of file RuntimeSALOME.cxx.
DynamicAny::DynAnyFactory_ptr RuntimeSALOME::getDynFactory | ( | ) |
Definition at line 1794 of file RuntimeSALOME.cxx.
Referenced by YACS::ENGINE::convertToYacsSequence< CORBAImpl, CORBA::Any *, void *, IMPLOUT, TOUT >::convert(), YACS::ENGINE::convertToYacsStruct< CORBAImpl, CORBA::Any *, void *, IMPLOUT, TOUT >::convert(), YACS::ENGINE::convertFromYacsSequence< CORBAImpl, CORBA::Any * >::convert(), YACS::ENGINE::convertFromYacsStruct< CORBAImpl, CORBA::Any * >::convert(), and YACS::ENGINE::CorbaPySequence::CorbaPySequence().
CORBA::ORB_ptr RuntimeSALOME::getOrb | ( | ) |
Definition at line 1779 of file RuntimeSALOME.cxx.
Referenced by YACS::ENGINE::convertFromYacsObjref< PYTHONImpl, PyObject * >::convert(), YACS::ENGINE::convertFromYacsObjref< NEUTRALImpl, YACS::ENGINE::Any * >::convert(), YACS::ENGINE::convertToYacsObjref< CORBAImpl, CORBA::Any *, void *, IMPLOUT, TOUT >::convert(), YACS::ENGINE::convertFromYacsObjref< CORBAImpl, CORBA::Any * >::convert(), YACS::ENGINE::convertFromYacsSequence< CORBAImpl, CORBA::Any * >::convert(), YACS::ENGINE::convertFromYacsStruct< CORBAImpl, CORBA::Any * >::convert(), YACS::HMI::GenericGui::GenericGui(), YACS::ENGINE::getCorbaTCObjref(), YACS::ENGINE::getCorbaTCSequence(), YACS::ENGINE::getCorbaTCStruct(), YACS::HMI::GenericGui::getMachineList(), YACS::ENGINE::SalomeContainerTools::getResourceProperties(), YACS::HMI::BatchJobsListDialog::getSalomeLauncher(), YACS::ENGINE::InputCorbaPort::InputCorbaPort(), YACS::ENGINE::CORBAComponent::load(), YACS::ENGINE::SessionCataLoader::loadCata(), main(), YACS::ENGINE::OutputCorbaPort::OutputCorbaPort(), YACS::ENGINE::InputStudyPort::putDataInStudy(), YACS::ENGINE::PyCorbaObjref::PyCorbaObjref(), and YACS::HMI::GuiExecutor::startResumeDataflow().
PyObject * RuntimeSALOME::getPyOrb | ( | ) |
Definition at line 1784 of file RuntimeSALOME.cxx.
Referenced by YACS::ENGINE::PyCorbaObjref::PyCorbaObjref().
|
inlinestaticprivate |
|
virtual |
Definition at line 431 of file RuntimeSALOME.cxx.
|
virtual |
CORBA and Python initialization.
flags | contains several bits bit0 (ispyext) true when method is called from Python (Python initialization must not be done!) bit1 (UsePython) true if python nodes are needed bit1 (UseCorba) true if CORBA nodes are needed bit1 (UseXml) true if python nodes are needed bit1 (UseCpp) true if C++ nodes are needed bit1 (UseSalome) true if Salome nodes are needed |
argc | number of command line arguments (used to initialize the Python interpreter) |
argv | command line arguments (used to initialize the Python interpreter) |
Definition at line 255 of file RuntimeSALOME.cxx.
References DEBTRACE.
|
protected |
Definition at line 155 of file RuntimeSALOME.cxx.
References YACS::ENGINE::TypeCodeStruct::addMember(), and gui.Appli::t.
Referenced by setRuntime().
|
static |
Definition at line 129 of file RuntimeSALOME.cxx.
References DEBTRACE, and initBuiltins().
Referenced by driverTest(), YACS::HMI::GenericGui::GenericGui(), and main().
|
friend |
|
protected |
Definition at line 263 of file RuntimeSALOME.hxx.
|
protected |
Definition at line 261 of file RuntimeSALOME.hxx.
|
protected |
Definition at line 262 of file RuntimeSALOME.hxx.
|
protected |
Definition at line 265 of file RuntimeSALOME.hxx.
|
protected |
Definition at line 264 of file RuntimeSALOME.hxx.
|
protected |
Definition at line 259 of file RuntimeSALOME.hxx.
|
protected |
Definition at line 260 of file RuntimeSALOME.hxx.
|
protected |
Definition at line 266 of file RuntimeSALOME.hxx.
|
protected |
Definition at line 266 of file RuntimeSALOME.hxx.
|
protected |
Definition at line 266 of file RuntimeSALOME.hxx.
|
protected |
Definition at line 266 of file RuntimeSALOME.hxx.
enum { ... } YACS::ENGINE::RuntimeSALOME::FLAGS |