Back to index

salome-kernel  6.5.0
libSALOME_LifeCycleCORBA.py
Go to the documentation of this file.
00001 # This file was automatically generated by SWIG (http://www.swig.org).
00002 # Version 1.3.40
00003 #
00004 # Do not make changes to this file unless you know what you are doing--modify
00005 # the SWIG interface file instead.
00006 # This file is compatible with both classic and new-style classes.
00007 
00008 from sys import version_info
00009 if version_info >= (2,6,0):
00010     def swig_import_helper():
00011         from os.path import dirname
00012         import imp
00013         fp = None
00014         try:
00015             fp, pathname, description = imp.find_module('_libSALOME_LifeCycleCORBA', [dirname(__file__)])
00016         except ImportError:
00017             import _libSALOME_LifeCycleCORBA
00018             return _libSALOME_LifeCycleCORBA
00019         if fp is not None:
00020             try:
00021                 _mod = imp.load_module('_libSALOME_LifeCycleCORBA', fp, pathname, description)
00022             finally:
00023                 fp.close()
00024             return _mod
00025     _libSALOME_LifeCycleCORBA = swig_import_helper()
00026     del swig_import_helper
00027 else:
00028     import _libSALOME_LifeCycleCORBA
00029 del version_info
00030 try:
00031     _swig_property = property
00032 except NameError:
00033     pass # Python < 2.2 doesn't have 'property'.
00034 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
00035     if (name == "thisown"): return self.this.own(value)
00036     if (name == "this"):
00037         if type(value).__name__ == 'SwigPyObject':
00038             self.__dict__[name] = value
00039             return
00040     method = class_type.__swig_setmethods__.get(name,None)
00041     if method: return method(self,value)
00042     if (not static) or hasattr(self,name):
00043         self.__dict__[name] = value
00044     else:
00045         raise AttributeError("You cannot add attributes to %s" % self)
00046 
00047 def _swig_setattr(self,class_type,name,value):
00048     return _swig_setattr_nondynamic(self,class_type,name,value,0)
00049 
00050 def _swig_getattr(self,class_type,name):
00051     if (name == "thisown"): return self.this.own()
00052     method = class_type.__swig_getmethods__.get(name,None)
00053     if method: return method(self)
00054     raise AttributeError(name)
00055 
00056 def _swig_repr(self):
00057     try: strthis = "proxy of " + self.this.__repr__()
00058     except: strthis = ""
00059     return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
00060 
00061 try:
00062     _object = object
00063     _newclass = 1
00064 except AttributeError:
00065     class _object : pass
00066     _newclass = 0
00067 
00068 
00069 
00070 def makeText(*args):
00071   """makeText(char text, char fileName, unsigned int lineNumber) -> char"""
00072   return _libSALOME_LifeCycleCORBA.makeText(*args)
00073 class SALOME_Exception(_object):
00074     """Proxy of C++ SALOME_Exception class"""
00075     __swig_setmethods__ = {}
00076     __setattr__ = lambda self, name, value: _swig_setattr(self, SALOME_Exception, name, value)
00077     __swig_getmethods__ = {}
00078     __getattr__ = lambda self, name: _swig_getattr(self, SALOME_Exception, name)
00079     __repr__ = _swig_repr
00080     def __init__(self, *args): 
00081         """
00082         __init__(self, char text, char fileName = None, unsigned int lineNumber = 0) -> SALOME_Exception
00083         __init__(self, char text, char fileName = None) -> SALOME_Exception
00084         __init__(self, char text) -> SALOME_Exception
00085         __init__(self, SALOME_Exception ex) -> SALOME_Exception
00086         """
00087         this = _libSALOME_LifeCycleCORBA.new_SALOME_Exception(*args)
00088         try: self.this.append(this)
00089         except: self.this = this
00090     __swig_destroy__ = _libSALOME_LifeCycleCORBA.delete_SALOME_Exception
00091     __del__ = lambda self : None;
00092     def what(self):
00093         """what(self) -> char"""
00094         return _libSALOME_LifeCycleCORBA.SALOME_Exception_what(self)
00095 
00096 SALOME_Exception_swigregister = _libSALOME_LifeCycleCORBA.SALOME_Exception_swigregister
00097 SALOME_Exception_swigregister(SALOME_Exception)
00098 
00099 class IncompatibleComponent(SALOME_Exception):
00100     """Proxy of C++ IncompatibleComponent class"""
00101     __swig_setmethods__ = {}
00102     for _s in [SALOME_Exception]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
00103     __setattr__ = lambda self, name, value: _swig_setattr(self, IncompatibleComponent, name, value)
00104     __swig_getmethods__ = {}
00105     for _s in [SALOME_Exception]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
00106     __getattr__ = lambda self, name: _swig_getattr(self, IncompatibleComponent, name)
00107     __repr__ = _swig_repr
00108     def __init__(self, *args): 
00109         """
00110         __init__(self) -> IncompatibleComponent
00111         __init__(self, IncompatibleComponent ex) -> IncompatibleComponent
00112         """
00113         this = _libSALOME_LifeCycleCORBA.new_IncompatibleComponent(*args)
00114         try: self.this.append(this)
00115         except: self.this = this
00116     __swig_destroy__ = _libSALOME_LifeCycleCORBA.delete_IncompatibleComponent
00117     __del__ = lambda self : None;
00118 IncompatibleComponent_swigregister = _libSALOME_LifeCycleCORBA.IncompatibleComponent_swigregister
00119 IncompatibleComponent_swigregister(IncompatibleComponent)
00120 
00121 class SALOME_LifeCycleCORBA(_object):
00122     """Proxy of C++ SALOME_LifeCycleCORBA class"""
00123     __swig_setmethods__ = {}
00124     __setattr__ = lambda self, name, value: _swig_setattr(self, SALOME_LifeCycleCORBA, name, value)
00125     __swig_getmethods__ = {}
00126     __getattr__ = lambda self, name: _swig_getattr(self, SALOME_LifeCycleCORBA, name)
00127     __repr__ = _swig_repr
00128     def __init__(self, ns = None): 
00129         """
00130         __init__(self, SALOME_NamingService ns = None) -> SALOME_LifeCycleCORBA
00131         __init__(self) -> SALOME_LifeCycleCORBA
00132         """
00133         this = _libSALOME_LifeCycleCORBA.new_SALOME_LifeCycleCORBA(ns)
00134         try: self.this.append(this)
00135         except: self.this = this
00136     __swig_destroy__ = _libSALOME_LifeCycleCORBA.delete_SALOME_LifeCycleCORBA
00137     __del__ = lambda self : None;
00138     def FindComponent(self, *args):
00139         """
00140         FindComponent(self, Engines::MachineParameters params, char componentName, 
00141             int studyId = 0) -> Engines::EngineComponent_ptr
00142         FindComponent(self, Engines::MachineParameters params, char componentName) -> Engines::EngineComponent_ptr
00143         """
00144         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_FindComponent(self, *args)
00145 
00146     def LoadComponent(self, *args):
00147         """
00148         LoadComponent(self, Engines::MachineParameters params, char componentName, 
00149             int studyId = 0) -> Engines::EngineComponent_ptr
00150         LoadComponent(self, Engines::MachineParameters params, char componentName) -> Engines::EngineComponent_ptr
00151         """
00152         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_LoadComponent(self, *args)
00153 
00154     def FindOrLoad_Component(self, *args):
00155         """
00156         FindOrLoad_Component(self, Engines::MachineParameters params, char componentName, 
00157             int studyId = 0) -> Engines::EngineComponent_ptr
00158         FindOrLoad_Component(self, Engines::MachineParameters params, char componentName) -> Engines::EngineComponent_ptr
00159         FindOrLoad_Component(self, Engines::ContainerParameters params, char componentName, 
00160             int studyId = 0) -> Engines::EngineComponent_ptr
00161         FindOrLoad_Component(self, Engines::ContainerParameters params, char componentName) -> Engines::EngineComponent_ptr
00162         FindOrLoad_Component(self, char containerName, char componentName) -> Engines::EngineComponent_ptr
00163         """
00164         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_FindOrLoad_Component(self, *args)
00165 
00166     def Load_ParallelComponent(self, *args):
00167         """
00168         Load_ParallelComponent(self, Engines::ContainerParameters params, char componentName, 
00169             int studyId) -> Engines::EngineComponent_ptr
00170         """
00171         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_Load_ParallelComponent(self, *args)
00172 
00173     def isKnownComponentClass(self, *args):
00174         """isKnownComponentClass(self, char componentName) -> bool"""
00175         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_isKnownComponentClass(self, *args)
00176 
00177     def isMpiContainer(self, *args):
00178         """isMpiContainer(self, Engines::ContainerParameters params) -> bool"""
00179         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_isMpiContainer(self, *args)
00180 
00181     def NbProc(self, *args):
00182         """NbProc(self, Engines::ContainerParameters params) -> int"""
00183         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_NbProc(self, *args)
00184 
00185     def preSet(*args):
00186         """
00187         preSet(Engines::MachineParameters outparams)
00188         preSet(Engines::ResourceParameters outparams)
00189         preSet(Engines::ContainerParameters outparams)
00190         """
00191         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_preSet(*args)
00192 
00193     if _newclass:preSet = staticmethod(preSet)
00194     __swig_getmethods__["preSet"] = lambda x: preSet
00195     def getContainerManager(self):
00196         """getContainerManager(self) -> Engines::ContainerManager_ptr"""
00197         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_getContainerManager(self)
00198 
00199     def getResourcesManager(self):
00200         """getResourcesManager(self) -> Engines::ResourcesManager_ptr"""
00201         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_getResourcesManager(self)
00202 
00203     def namingService(self):
00204         """namingService(self) -> SALOME_NamingService"""
00205         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_namingService(self)
00206 
00207     def orb(self):
00208         """orb(self) -> CORBA::ORB_ptr"""
00209         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_orb(self)
00210 
00211     def copyFile(self, *args):
00212         """copyFile(self, char hostSrc, char fileSrc, char hostDest, char fileDest)"""
00213         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_copyFile(self, *args)
00214 
00215     def shutdownServers(self):
00216         """shutdownServers(self)"""
00217         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_shutdownServers(self)
00218 
00219     def killOmniNames():
00220         """killOmniNames()"""
00221         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_killOmniNames()
00222 
00223     if _newclass:killOmniNames = staticmethod(killOmniNames)
00224     __swig_getmethods__["killOmniNames"] = lambda x: killOmniNames
00225     def convert(self, *args):
00226         """convert(self, Engines::MachineParameters params_in, Engines::ContainerParameters params_out)"""
00227         return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_convert(self, *args)
00228 
00229 SALOME_LifeCycleCORBA_swigregister = _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_swigregister
00230 SALOME_LifeCycleCORBA_swigregister(SALOME_LifeCycleCORBA)
00231 
00232 def SALOME_LifeCycleCORBA_preSet(*args):
00233   """
00234     preSet(Engines::MachineParameters outparams)
00235     preSet(Engines::ResourceParameters outparams)
00236     SALOME_LifeCycleCORBA_preSet(Engines::ContainerParameters outparams)
00237     """
00238   return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_preSet(*args)
00239 
00240 def SALOME_LifeCycleCORBA_killOmniNames():
00241   """SALOME_LifeCycleCORBA_killOmniNames()"""
00242   return _libSALOME_LifeCycleCORBA.SALOME_LifeCycleCORBA_killOmniNames()
00243 
00244 class SALOME_FileTransferCORBA(_object):
00245     """Proxy of C++ SALOME_FileTransferCORBA class"""
00246     __swig_setmethods__ = {}
00247     __setattr__ = lambda self, name, value: _swig_setattr(self, SALOME_FileTransferCORBA, name, value)
00248     __swig_getmethods__ = {}
00249     __getattr__ = lambda self, name: _swig_getattr(self, SALOME_FileTransferCORBA, name)
00250     __repr__ = _swig_repr
00251     def __init__(self, *args): 
00252         """
00253         __init__(self) -> SALOME_FileTransferCORBA
00254         __init__(self, Engines::fileRef_ptr aFileRef) -> SALOME_FileTransferCORBA
00255         __init__(self, string refMachine, string origFileName, string containerName = "") -> SALOME_FileTransferCORBA
00256         __init__(self, string refMachine, string origFileName) -> SALOME_FileTransferCORBA
00257         """
00258         this = _libSALOME_LifeCycleCORBA.new_SALOME_FileTransferCORBA(*args)
00259         try: self.this.append(this)
00260         except: self.this = this
00261     __swig_destroy__ = _libSALOME_LifeCycleCORBA.delete_SALOME_FileTransferCORBA
00262     __del__ = lambda self : None;
00263     def getLocalFile(self, localFile = ""):
00264         """
00265         getLocalFile(self, string localFile = "") -> string
00266         getLocalFile(self) -> string
00267         """
00268         return _libSALOME_LifeCycleCORBA.SALOME_FileTransferCORBA_getLocalFile(self, localFile)
00269 
00270 SALOME_FileTransferCORBA_swigregister = _libSALOME_LifeCycleCORBA.SALOME_FileTransferCORBA_swigregister
00271 SALOME_FileTransferCORBA_swigregister(SALOME_FileTransferCORBA)
00272 
00273 
00274