# Python stubs generated by omniidl from .././../idl/SALOME_ContainerManager.idl

import omniORB, _omnipy
from omniORB import CORBA, PortableServer
_0_CORBA = CORBA

_omnipy.checkVersion(3,0, __file__)

# #include "SALOME_Exception.idl"
import SALOME_Exception_idl
_0_SALOME = omniORB.openModule("SALOME")
_0_SALOME__POA = omniORB.openModule("SALOME__POA")
# #include "SALOME_GenericObj.idl"
import SALOME_GenericObj_idl
_0_SALOME = omniORB.openModule("SALOME")
_0_SALOME__POA = omniORB.openModule("SALOME__POA")
# #include "SALOMEDS.idl"
import SALOMEDS_idl
_0_SALOMEDS = omniORB.openModule("SALOMEDS")
_0_SALOMEDS__POA = omniORB.openModule("SALOMEDS__POA")
# #include "SALOME_PyNode.idl"
import SALOME_PyNode_idl
_0_Engines = omniORB.openModule("Engines")
_0_Engines__POA = omniORB.openModule("Engines__POA")
# #include "SALOME_Component.idl"
import SALOME_Component_idl
_0_Engines = omniORB.openModule("Engines")
_0_Engines__POA = omniORB.openModule("Engines__POA")

#
# Start of module "Engines"
#
__name__ = "Engines"
_0_Engines = omniORB.openModule("Engines", r".././../idl/SALOME_ContainerManager.idl")
_0_Engines__POA = omniORB.openModule("Engines__POA", r".././../idl/SALOME_ContainerManager.idl")


# typedef ... ResourceList
class ResourceList:
    _NP_RepositoryId = "IDL:Engines/ResourceList:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_Engines.ResourceList = ResourceList
_0_Engines._d_ResourceList  = (omniORB.tcInternal.tv_sequence, (omniORB.tcInternal.tv_string,0), 0)
_0_Engines._ad_ResourceList = (omniORB.tcInternal.tv_alias, ResourceList._NP_RepositoryId, "ResourceList", (omniORB.tcInternal.tv_sequence, (omniORB.tcInternal.tv_string,0), 0))
_0_Engines._tc_ResourceList = omniORB.tcInternal.createTypeCode(_0_Engines._ad_ResourceList)
omniORB.registerType(ResourceList._NP_RepositoryId, _0_Engines._ad_ResourceList, _0_Engines._tc_ResourceList)
del ResourceList

# typedef ... CompoList
class CompoList:
    _NP_RepositoryId = "IDL:Engines/CompoList:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_Engines.CompoList = CompoList
_0_Engines._d_CompoList  = (omniORB.tcInternal.tv_sequence, (omniORB.tcInternal.tv_string,0), 0)
_0_Engines._ad_CompoList = (omniORB.tcInternal.tv_alias, CompoList._NP_RepositoryId, "CompoList", (omniORB.tcInternal.tv_sequence, (omniORB.tcInternal.tv_string,0), 0))
_0_Engines._tc_CompoList = omniORB.tcInternal.createTypeCode(_0_Engines._ad_CompoList)
omniORB.registerType(CompoList._NP_RepositoryId, _0_Engines._ad_CompoList, _0_Engines._tc_CompoList)
del CompoList

# typedef ... FilesList
class FilesList:
    _NP_RepositoryId = "IDL:Engines/FilesList:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_Engines.FilesList = FilesList
_0_Engines._d_FilesList  = (omniORB.tcInternal.tv_sequence, (omniORB.tcInternal.tv_string,0), 0)
_0_Engines._ad_FilesList = (omniORB.tcInternal.tv_alias, FilesList._NP_RepositoryId, "FilesList", (omniORB.tcInternal.tv_sequence, (omniORB.tcInternal.tv_string,0), 0))
_0_Engines._tc_FilesList = omniORB.tcInternal.createTypeCode(_0_Engines._ad_FilesList)
omniORB.registerType(FilesList._NP_RepositoryId, _0_Engines._ad_FilesList, _0_Engines._tc_FilesList)
del FilesList

# typedef ... ModulesList
class ModulesList:
    _NP_RepositoryId = "IDL:Engines/ModulesList:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_Engines.ModulesList = ModulesList
_0_Engines._d_ModulesList  = (omniORB.tcInternal.tv_sequence, (omniORB.tcInternal.tv_string,0), 0)
_0_Engines._ad_ModulesList = (omniORB.tcInternal.tv_alias, ModulesList._NP_RepositoryId, "ModulesList", (omniORB.tcInternal.tv_sequence, (omniORB.tcInternal.tv_string,0), 0))
_0_Engines._tc_ModulesList = omniORB.tcInternal.createTypeCode(_0_Engines._ad_ModulesList)
omniORB.registerType(ModulesList._NP_RepositoryId, _0_Engines._ad_ModulesList, _0_Engines._tc_ModulesList)
del ModulesList

# struct Parameter
_0_Engines.Parameter = omniORB.newEmptyClass()
class Parameter (omniORB.StructBase):
    _NP_RepositoryId = "IDL:Engines/Parameter:1.0"

    def __init__(self, name, value):
        self.name = name
        self.value = value

_0_Engines.Parameter = Parameter
_0_Engines._d_Parameter  = (omniORB.tcInternal.tv_struct, Parameter, Parameter._NP_RepositoryId, "Parameter", "name", (omniORB.tcInternal.tv_string,0), "value", (omniORB.tcInternal.tv_string,0))
_0_Engines._tc_Parameter = omniORB.tcInternal.createTypeCode(_0_Engines._d_Parameter)
omniORB.registerType(Parameter._NP_RepositoryId, _0_Engines._d_Parameter, _0_Engines._tc_Parameter)
del Parameter

# typedef ... ParameterList
class ParameterList:
    _NP_RepositoryId = "IDL:Engines/ParameterList:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_Engines.ParameterList = ParameterList
_0_Engines._d_ParameterList  = (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:Engines/Parameter:1.0"], 0)
_0_Engines._ad_ParameterList = (omniORB.tcInternal.tv_alias, ParameterList._NP_RepositoryId, "ParameterList", (omniORB.tcInternal.tv_sequence, omniORB.typeMapping["IDL:Engines/Parameter:1.0"], 0))
_0_Engines._tc_ParameterList = omniORB.tcInternal.createTypeCode(_0_Engines._ad_ParameterList)
omniORB.registerType(ParameterList._NP_RepositoryId, _0_Engines._ad_ParameterList, _0_Engines._tc_ParameterList)
del ParameterList

# struct ResourceParameters
_0_Engines.ResourceParameters = omniORB.newEmptyClass()
class ResourceParameters (omniORB.StructBase):
    _NP_RepositoryId = "IDL:Engines/ResourceParameters:1.0"

    def __init__(self, name, hostname, OS, componentList, nb_proc, mem_mb, cpu_clock, nb_node, nb_proc_per_node, policy, resList):
        self.name = name
        self.hostname = hostname
        self.OS = OS
        self.componentList = componentList
        self.nb_proc = nb_proc
        self.mem_mb = mem_mb
        self.cpu_clock = cpu_clock
        self.nb_node = nb_node
        self.nb_proc_per_node = nb_proc_per_node
        self.policy = policy
        self.resList = resList

_0_Engines.ResourceParameters = ResourceParameters
_0_Engines._d_ResourceParameters  = (omniORB.tcInternal.tv_struct, ResourceParameters, ResourceParameters._NP_RepositoryId, "ResourceParameters", "name", (omniORB.tcInternal.tv_string,0), "hostname", (omniORB.tcInternal.tv_string,0), "OS", (omniORB.tcInternal.tv_string,0), "componentList", omniORB.typeMapping["IDL:Engines/CompoList:1.0"], "nb_proc", omniORB.tcInternal.tv_long, "mem_mb", omniORB.tcInternal.tv_long, "cpu_clock", omniORB.tcInternal.tv_long, "nb_node", omniORB.tcInternal.tv_long, "nb_proc_per_node", omniORB.tcInternal.tv_long, "policy", (omniORB.tcInternal.tv_string,0), "resList", omniORB.typeMapping["IDL:Engines/ResourceList:1.0"])
_0_Engines._tc_ResourceParameters = omniORB.tcInternal.createTypeCode(_0_Engines._d_ResourceParameters)
omniORB.registerType(ResourceParameters._NP_RepositoryId, _0_Engines._d_ResourceParameters, _0_Engines._tc_ResourceParameters)
del ResourceParameters

# struct ContainerParameters
_0_Engines.ContainerParameters = omniORB.newEmptyClass()
class ContainerParameters (omniORB.StructBase):
    _NP_RepositoryId = "IDL:Engines/ContainerParameters:1.0"

    def __init__(self, container_name, mode, workingdir, nb_proc, isMPI, parallelLib, resource_params):
        self.container_name = container_name
        self.mode = mode
        self.workingdir = workingdir
        self.nb_proc = nb_proc
        self.isMPI = isMPI
        self.parallelLib = parallelLib
        self.resource_params = resource_params

_0_Engines.ContainerParameters = ContainerParameters
_0_Engines._d_ContainerParameters  = (omniORB.tcInternal.tv_struct, ContainerParameters, ContainerParameters._NP_RepositoryId, "ContainerParameters", "container_name", (omniORB.tcInternal.tv_string,0), "mode", (omniORB.tcInternal.tv_string,0), "workingdir", (omniORB.tcInternal.tv_string,0), "nb_proc", omniORB.tcInternal.tv_long, "isMPI", omniORB.tcInternal.tv_boolean, "parallelLib", (omniORB.tcInternal.tv_string,0), "resource_params", omniORB.typeMapping["IDL:Engines/ResourceParameters:1.0"])
_0_Engines._tc_ContainerParameters = omniORB.tcInternal.createTypeCode(_0_Engines._d_ContainerParameters)
omniORB.registerType(ContainerParameters._NP_RepositoryId, _0_Engines._d_ContainerParameters, _0_Engines._tc_ContainerParameters)
del ContainerParameters

# struct ResourceDefinition
_0_Engines.ResourceDefinition = omniORB.newEmptyClass()
class ResourceDefinition (omniORB.StructBase):
    _NP_RepositoryId = "IDL:Engines/ResourceDefinition:1.0"

    def __init__(self, name, hostname, protocol, username, applipath, componentList, mode, OS, mem_mb, cpu_clock, nb_node, nb_proc_per_node, batch, mpiImpl, iprotocol):
        self.name = name
        self.hostname = hostname
        self.protocol = protocol
        self.username = username
        self.applipath = applipath
        self.componentList = componentList
        self.mode = mode
        self.OS = OS
        self.mem_mb = mem_mb
        self.cpu_clock = cpu_clock
        self.nb_node = nb_node
        self.nb_proc_per_node = nb_proc_per_node
        self.batch = batch
        self.mpiImpl = mpiImpl
        self.iprotocol = iprotocol

_0_Engines.ResourceDefinition = ResourceDefinition
_0_Engines._d_ResourceDefinition  = (omniORB.tcInternal.tv_struct, ResourceDefinition, ResourceDefinition._NP_RepositoryId, "ResourceDefinition", "name", (omniORB.tcInternal.tv_string,0), "hostname", (omniORB.tcInternal.tv_string,0), "protocol", (omniORB.tcInternal.tv_string,0), "username", (omniORB.tcInternal.tv_string,0), "applipath", (omniORB.tcInternal.tv_string,0), "componentList", omniORB.typeMapping["IDL:Engines/CompoList:1.0"], "mode", (omniORB.tcInternal.tv_string,0), "OS", (omniORB.tcInternal.tv_string,0), "mem_mb", omniORB.tcInternal.tv_long, "cpu_clock", omniORB.tcInternal.tv_long, "nb_node", omniORB.tcInternal.tv_long, "nb_proc_per_node", omniORB.tcInternal.tv_long, "batch", (omniORB.tcInternal.tv_string,0), "mpiImpl", (omniORB.tcInternal.tv_string,0), "iprotocol", (omniORB.tcInternal.tv_string,0))
_0_Engines._tc_ResourceDefinition = omniORB.tcInternal.createTypeCode(_0_Engines._d_ResourceDefinition)
omniORB.registerType(ResourceDefinition._NP_RepositoryId, _0_Engines._d_ResourceDefinition, _0_Engines._tc_ResourceDefinition)
del ResourceDefinition

# exception NotFound
_0_Engines.NotFound = omniORB.newEmptyClass()
class NotFound (CORBA.UserException):
    _NP_RepositoryId = "IDL:Engines/NotFound:1.0"

    def __init__(self):
        CORBA.UserException.__init__(self)

_0_Engines.NotFound = NotFound
_0_Engines._d_NotFound  = (omniORB.tcInternal.tv_except, NotFound, NotFound._NP_RepositoryId, "NotFound")
_0_Engines._tc_NotFound = omniORB.tcInternal.createTypeCode(_0_Engines._d_NotFound)
omniORB.registerType(NotFound._NP_RepositoryId, _0_Engines._d_NotFound, _0_Engines._tc_NotFound)
del NotFound

# struct JobParameters
_0_Engines.JobParameters = omniORB.newEmptyClass()
class JobParameters (omniORB.StructBase):
    _NP_RepositoryId = "IDL:Engines/JobParameters:1.0"

    def __init__(self, job_type, job_file, env_file, in_files, out_files, work_directory, local_directory, result_directory, maximum_duration, resource_required, queue, specific_parameters):
        self.job_type = job_type
        self.job_file = job_file
        self.env_file = env_file
        self.in_files = in_files
        self.out_files = out_files
        self.work_directory = work_directory
        self.local_directory = local_directory
        self.result_directory = result_directory
        self.maximum_duration = maximum_duration
        self.resource_required = resource_required
        self.queue = queue
        self.specific_parameters = specific_parameters

_0_Engines.JobParameters = JobParameters
_0_Engines._d_JobParameters  = (omniORB.tcInternal.tv_struct, JobParameters, JobParameters._NP_RepositoryId, "JobParameters", "job_type", (omniORB.tcInternal.tv_string,0), "job_file", (omniORB.tcInternal.tv_string,0), "env_file", (omniORB.tcInternal.tv_string,0), "in_files", omniORB.typeMapping["IDL:Engines/FilesList:1.0"], "out_files", omniORB.typeMapping["IDL:Engines/FilesList:1.0"], "work_directory", (omniORB.tcInternal.tv_string,0), "local_directory", (omniORB.tcInternal.tv_string,0), "result_directory", (omniORB.tcInternal.tv_string,0), "maximum_duration", (omniORB.tcInternal.tv_string,0), "resource_required", omniORB.typeMapping["IDL:Engines/ResourceParameters:1.0"], "queue", (omniORB.tcInternal.tv_string,0), "specific_parameters", omniORB.typeMapping["IDL:Engines/ParameterList:1.0"])
_0_Engines._tc_JobParameters = omniORB.tcInternal.createTypeCode(_0_Engines._d_JobParameters)
omniORB.registerType(JobParameters._NP_RepositoryId, _0_Engines._d_JobParameters, _0_Engines._tc_JobParameters)
del JobParameters

# interface SalomeLauncher
_0_Engines._d_SalomeLauncher = (omniORB.tcInternal.tv_objref, "IDL:Engines/SalomeLauncher:1.0", "SalomeLauncher")
omniORB.typeMapping["IDL:Engines/SalomeLauncher:1.0"] = _0_Engines._d_SalomeLauncher
_0_Engines.SalomeLauncher = omniORB.newEmptyClass()
class SalomeLauncher :
    _NP_RepositoryId = _0_Engines._d_SalomeLauncher[1]

    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")

    _nil = CORBA.Object._nil


_0_Engines.SalomeLauncher = SalomeLauncher
_0_Engines._tc_SalomeLauncher = omniORB.tcInternal.createTypeCode(_0_Engines._d_SalomeLauncher)
omniORB.registerType(SalomeLauncher._NP_RepositoryId, _0_Engines._d_SalomeLauncher, _0_Engines._tc_SalomeLauncher)

# SalomeLauncher operations and attributes
SalomeLauncher._d_createJob = ((omniORB.typeMapping["IDL:Engines/JobParameters:1.0"], ), (omniORB.tcInternal.tv_long, ), {_0_SALOME.SALOME_Exception._NP_RepositoryId: _0_SALOME._d_SALOME_Exception})
SalomeLauncher._d_launchJob = ((omniORB.tcInternal.tv_long, ), (), {_0_SALOME.SALOME_Exception._NP_RepositoryId: _0_SALOME._d_SALOME_Exception})
SalomeLauncher._d_getJobState = ((omniORB.tcInternal.tv_long, ), ((omniORB.tcInternal.tv_string,0), ), {_0_SALOME.SALOME_Exception._NP_RepositoryId: _0_SALOME._d_SALOME_Exception})
SalomeLauncher._d_getJobResults = ((omniORB.tcInternal.tv_long, (omniORB.tcInternal.tv_string,0)), (), {_0_SALOME.SALOME_Exception._NP_RepositoryId: _0_SALOME._d_SALOME_Exception})
SalomeLauncher._d_removeJob = ((omniORB.tcInternal.tv_long, ), (), {_0_SALOME.SALOME_Exception._NP_RepositoryId: _0_SALOME._d_SALOME_Exception})
SalomeLauncher._d_createJobWithFile = (((omniORB.tcInternal.tv_string,0), (omniORB.tcInternal.tv_string,0)), (omniORB.tcInternal.tv_long, ), {_0_SALOME.SALOME_Exception._NP_RepositoryId: _0_SALOME._d_SALOME_Exception})
SalomeLauncher._d_testBatch = ((omniORB.typeMapping["IDL:Engines/ResourceParameters:1.0"], ), (omniORB.tcInternal.tv_boolean, ), {_0_SALOME.SALOME_Exception._NP_RepositoryId: _0_SALOME._d_SALOME_Exception})
SalomeLauncher._d_Shutdown = ((), (), None)
SalomeLauncher._d_getPID = ((), (omniORB.tcInternal.tv_long, ), None)

# SalomeLauncher object reference
class _objref_SalomeLauncher (CORBA.Object):
    _NP_RepositoryId = SalomeLauncher._NP_RepositoryId

    def __init__(self):
        CORBA.Object.__init__(self)

    def createJob(self, *args):
        return _omnipy.invoke(self, "createJob", _0_Engines.SalomeLauncher._d_createJob, args)

    def launchJob(self, *args):
        return _omnipy.invoke(self, "launchJob", _0_Engines.SalomeLauncher._d_launchJob, args)

    def getJobState(self, *args):
        return _omnipy.invoke(self, "getJobState", _0_Engines.SalomeLauncher._d_getJobState, args)

    def getJobResults(self, *args):
        return _omnipy.invoke(self, "getJobResults", _0_Engines.SalomeLauncher._d_getJobResults, args)

    def removeJob(self, *args):
        return _omnipy.invoke(self, "removeJob", _0_Engines.SalomeLauncher._d_removeJob, args)

    def createJobWithFile(self, *args):
        return _omnipy.invoke(self, "createJobWithFile", _0_Engines.SalomeLauncher._d_createJobWithFile, args)

    def testBatch(self, *args):
        return _omnipy.invoke(self, "testBatch", _0_Engines.SalomeLauncher._d_testBatch, args)

    def Shutdown(self, *args):
        return _omnipy.invoke(self, "Shutdown", _0_Engines.SalomeLauncher._d_Shutdown, args)

    def getPID(self, *args):
        return _omnipy.invoke(self, "getPID", _0_Engines.SalomeLauncher._d_getPID, args)

    __methods__ = ["createJob", "launchJob", "getJobState", "getJobResults", "removeJob", "createJobWithFile", "testBatch", "Shutdown", "getPID"] + CORBA.Object.__methods__

omniORB.registerObjref(SalomeLauncher._NP_RepositoryId, _objref_SalomeLauncher)
_0_Engines._objref_SalomeLauncher = _objref_SalomeLauncher
del SalomeLauncher, _objref_SalomeLauncher

# SalomeLauncher skeleton
__name__ = "Engines__POA"
class SalomeLauncher (PortableServer.Servant):
    _NP_RepositoryId = _0_Engines.SalomeLauncher._NP_RepositoryId


    _omni_op_d = {"createJob": _0_Engines.SalomeLauncher._d_createJob, "launchJob": _0_Engines.SalomeLauncher._d_launchJob, "getJobState": _0_Engines.SalomeLauncher._d_getJobState, "getJobResults": _0_Engines.SalomeLauncher._d_getJobResults, "removeJob": _0_Engines.SalomeLauncher._d_removeJob, "createJobWithFile": _0_Engines.SalomeLauncher._d_createJobWithFile, "testBatch": _0_Engines.SalomeLauncher._d_testBatch, "Shutdown": _0_Engines.SalomeLauncher._d_Shutdown, "getPID": _0_Engines.SalomeLauncher._d_getPID}

SalomeLauncher._omni_skeleton = SalomeLauncher
_0_Engines__POA.SalomeLauncher = SalomeLauncher
omniORB.registerSkeleton(SalomeLauncher._NP_RepositoryId, SalomeLauncher)
del SalomeLauncher
__name__ = "Engines"

# interface ContainerManager
_0_Engines._d_ContainerManager = (omniORB.tcInternal.tv_objref, "IDL:Engines/ContainerManager:1.0", "ContainerManager")
omniORB.typeMapping["IDL:Engines/ContainerManager:1.0"] = _0_Engines._d_ContainerManager
_0_Engines.ContainerManager = omniORB.newEmptyClass()
class ContainerManager :
    _NP_RepositoryId = _0_Engines._d_ContainerManager[1]

    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")

    _nil = CORBA.Object._nil


_0_Engines.ContainerManager = ContainerManager
_0_Engines._tc_ContainerManager = omniORB.tcInternal.createTypeCode(_0_Engines._d_ContainerManager)
omniORB.registerType(ContainerManager._NP_RepositoryId, _0_Engines._d_ContainerManager, _0_Engines._tc_ContainerManager)

# ContainerManager operations and attributes
ContainerManager._d_GiveContainer = ((omniORB.typeMapping["IDL:Engines/ContainerParameters:1.0"], ), (omniORB.typeMapping["IDL:Engines/Container:1.0"], ), None)
ContainerManager._d_ShutdownContainers = ((), (), None)

# ContainerManager object reference
class _objref_ContainerManager (CORBA.Object):
    _NP_RepositoryId = ContainerManager._NP_RepositoryId

    def __init__(self):
        CORBA.Object.__init__(self)

    def GiveContainer(self, *args):
        return _omnipy.invoke(self, "GiveContainer", _0_Engines.ContainerManager._d_GiveContainer, args)

    def ShutdownContainers(self, *args):
        return _omnipy.invoke(self, "ShutdownContainers", _0_Engines.ContainerManager._d_ShutdownContainers, args)

    __methods__ = ["GiveContainer", "ShutdownContainers"] + CORBA.Object.__methods__

omniORB.registerObjref(ContainerManager._NP_RepositoryId, _objref_ContainerManager)
_0_Engines._objref_ContainerManager = _objref_ContainerManager
del ContainerManager, _objref_ContainerManager

# ContainerManager skeleton
__name__ = "Engines__POA"
class ContainerManager (PortableServer.Servant):
    _NP_RepositoryId = _0_Engines.ContainerManager._NP_RepositoryId


    _omni_op_d = {"GiveContainer": _0_Engines.ContainerManager._d_GiveContainer, "ShutdownContainers": _0_Engines.ContainerManager._d_ShutdownContainers}

ContainerManager._omni_skeleton = ContainerManager
_0_Engines__POA.ContainerManager = ContainerManager
omniORB.registerSkeleton(ContainerManager._NP_RepositoryId, ContainerManager)
del ContainerManager
__name__ = "Engines"

# interface ResourcesManager
_0_Engines._d_ResourcesManager = (omniORB.tcInternal.tv_objref, "IDL:Engines/ResourcesManager:1.0", "ResourcesManager")
omniORB.typeMapping["IDL:Engines/ResourcesManager:1.0"] = _0_Engines._d_ResourcesManager
_0_Engines.ResourcesManager = omniORB.newEmptyClass()
class ResourcesManager :
    _NP_RepositoryId = _0_Engines._d_ResourcesManager[1]

    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")

    _nil = CORBA.Object._nil


_0_Engines.ResourcesManager = ResourcesManager
_0_Engines._tc_ResourcesManager = omniORB.tcInternal.createTypeCode(_0_Engines._d_ResourcesManager)
omniORB.registerType(ResourcesManager._NP_RepositoryId, _0_Engines._d_ResourcesManager, _0_Engines._tc_ResourcesManager)

# ResourcesManager operations and attributes
ResourcesManager._d_FindFirst = ((omniORB.typeMapping["IDL:Engines/ResourceList:1.0"], ), ((omniORB.tcInternal.tv_string,0), ), None)
ResourcesManager._d_Find = (((omniORB.tcInternal.tv_string,0), omniORB.typeMapping["IDL:Engines/ResourceList:1.0"]), ((omniORB.tcInternal.tv_string,0), ), None)
ResourcesManager._d_GetFittingResources = ((omniORB.typeMapping["IDL:Engines/ResourceParameters:1.0"], ), (omniORB.typeMapping["IDL:Engines/ResourceList:1.0"], ), {_0_SALOME.SALOME_Exception._NP_RepositoryId: _0_SALOME._d_SALOME_Exception})
ResourcesManager._d_GetResourceDefinition = (((omniORB.tcInternal.tv_string,0), ), (omniORB.typeMapping["IDL:Engines/ResourceDefinition:1.0"], ), None)
ResourcesManager._d_AddResource = ((omniORB.typeMapping["IDL:Engines/ResourceDefinition:1.0"], omniORB.tcInternal.tv_boolean, (omniORB.tcInternal.tv_string,0)), (), {_0_SALOME.SALOME_Exception._NP_RepositoryId: _0_SALOME._d_SALOME_Exception})
ResourcesManager._d_RemoveResource = (((omniORB.tcInternal.tv_string,0), omniORB.tcInternal.tv_boolean, (omniORB.tcInternal.tv_string,0)), (), {_0_SALOME.SALOME_Exception._NP_RepositoryId: _0_SALOME._d_SALOME_Exception})

# ResourcesManager object reference
class _objref_ResourcesManager (CORBA.Object):
    _NP_RepositoryId = ResourcesManager._NP_RepositoryId

    def __init__(self):
        CORBA.Object.__init__(self)

    def FindFirst(self, *args):
        return _omnipy.invoke(self, "FindFirst", _0_Engines.ResourcesManager._d_FindFirst, args)

    def Find(self, *args):
        return _omnipy.invoke(self, "Find", _0_Engines.ResourcesManager._d_Find, args)

    def GetFittingResources(self, *args):
        return _omnipy.invoke(self, "GetFittingResources", _0_Engines.ResourcesManager._d_GetFittingResources, args)

    def GetResourceDefinition(self, *args):
        return _omnipy.invoke(self, "GetResourceDefinition", _0_Engines.ResourcesManager._d_GetResourceDefinition, args)

    def AddResource(self, *args):
        return _omnipy.invoke(self, "AddResource", _0_Engines.ResourcesManager._d_AddResource, args)

    def RemoveResource(self, *args):
        return _omnipy.invoke(self, "RemoveResource", _0_Engines.ResourcesManager._d_RemoveResource, args)

    __methods__ = ["FindFirst", "Find", "GetFittingResources", "GetResourceDefinition", "AddResource", "RemoveResource"] + CORBA.Object.__methods__

omniORB.registerObjref(ResourcesManager._NP_RepositoryId, _objref_ResourcesManager)
_0_Engines._objref_ResourcesManager = _objref_ResourcesManager
del ResourcesManager, _objref_ResourcesManager

# ResourcesManager skeleton
__name__ = "Engines__POA"
class ResourcesManager (PortableServer.Servant):
    _NP_RepositoryId = _0_Engines.ResourcesManager._NP_RepositoryId


    _omni_op_d = {"FindFirst": _0_Engines.ResourcesManager._d_FindFirst, "Find": _0_Engines.ResourcesManager._d_Find, "GetFittingResources": _0_Engines.ResourcesManager._d_GetFittingResources, "GetResourceDefinition": _0_Engines.ResourcesManager._d_GetResourceDefinition, "AddResource": _0_Engines.ResourcesManager._d_AddResource, "RemoveResource": _0_Engines.ResourcesManager._d_RemoveResource}

ResourcesManager._omni_skeleton = ResourcesManager
_0_Engines__POA.ResourcesManager = ResourcesManager
omniORB.registerSkeleton(ResourcesManager._NP_RepositoryId, ResourcesManager)
del ResourcesManager
__name__ = "Engines"

# typedef ... MachineList
class MachineList:
    _NP_RepositoryId = "IDL:Engines/MachineList:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_Engines.MachineList = MachineList
_0_Engines._d_MachineList  = (omniORB.tcInternal.tv_sequence, (omniORB.tcInternal.tv_string,0), 0)
_0_Engines._ad_MachineList = (omniORB.tcInternal.tv_alias, MachineList._NP_RepositoryId, "MachineList", (omniORB.tcInternal.tv_sequence, (omniORB.tcInternal.tv_string,0), 0))
_0_Engines._tc_MachineList = omniORB.tcInternal.createTypeCode(_0_Engines._ad_MachineList)
omniORB.registerType(MachineList._NP_RepositoryId, _0_Engines._ad_MachineList, _0_Engines._tc_MachineList)
del MachineList

# struct MachineParameters
_0_Engines.MachineParameters = omniORB.newEmptyClass()
class MachineParameters (omniORB.StructBase):
    _NP_RepositoryId = "IDL:Engines/MachineParameters:1.0"

    def __init__(self, container_name, hostname, componentList, computerList, OS, mem_mb, cpu_clock, nb_proc_per_node, nb_node, isMPI, workingdir, mode, policy, parallelLib, nb_component_nodes):
        self.container_name = container_name
        self.hostname = hostname
        self.componentList = componentList
        self.computerList = computerList
        self.OS = OS
        self.mem_mb = mem_mb
        self.cpu_clock = cpu_clock
        self.nb_proc_per_node = nb_proc_per_node
        self.nb_node = nb_node
        self.isMPI = isMPI
        self.workingdir = workingdir
        self.mode = mode
        self.policy = policy
        self.parallelLib = parallelLib
        self.nb_component_nodes = nb_component_nodes

_0_Engines.MachineParameters = MachineParameters
_0_Engines._d_MachineParameters  = (omniORB.tcInternal.tv_struct, MachineParameters, MachineParameters._NP_RepositoryId, "MachineParameters", "container_name", (omniORB.tcInternal.tv_string,0), "hostname", (omniORB.tcInternal.tv_string,0), "componentList", omniORB.typeMapping["IDL:Engines/CompoList:1.0"], "computerList", omniORB.typeMapping["IDL:Engines/MachineList:1.0"], "OS", (omniORB.tcInternal.tv_string,0), "mem_mb", omniORB.tcInternal.tv_long, "cpu_clock", omniORB.tcInternal.tv_long, "nb_proc_per_node", omniORB.tcInternal.tv_long, "nb_node", omniORB.tcInternal.tv_long, "isMPI", omniORB.tcInternal.tv_boolean, "workingdir", (omniORB.tcInternal.tv_string,0), "mode", (omniORB.tcInternal.tv_string,0), "policy", (omniORB.tcInternal.tv_string,0), "parallelLib", (omniORB.tcInternal.tv_string,0), "nb_component_nodes", omniORB.tcInternal.tv_long)
_0_Engines._tc_MachineParameters = omniORB.tcInternal.createTypeCode(_0_Engines._d_MachineParameters)
omniORB.registerType(MachineParameters._NP_RepositoryId, _0_Engines._d_MachineParameters, _0_Engines._tc_MachineParameters)
del MachineParameters

#
# End of module "Engines"
#
__name__ = "SALOME_ContainerManager_idl"

_exported_modules = ( "Engines", )

# The end.
