# Python stubs generated by omniidl from .././../idl/yacsgui.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 "YACS_ORB"
#
__name__ = "YACS_ORB"
_0_YACS_ORB = omniORB.openModule("YACS_ORB", r".././../idl/yacsgui.idl")
_0_YACS_ORB__POA = omniORB.openModule("YACS_ORB__POA", r".././../idl/yacsgui.idl")


# enum executionMode
_0_YACS_ORB.CONTINUE = omniORB.EnumItem("CONTINUE", 0)
_0_YACS_ORB.STEPBYSTEP = omniORB.EnumItem("STEPBYSTEP", 1)
_0_YACS_ORB.STOPBEFORENODES = omniORB.EnumItem("STOPBEFORENODES", 2)
_0_YACS_ORB.executionMode = omniORB.Enum("IDL:YACS_ORB/executionMode:1.0", (_0_YACS_ORB.CONTINUE, _0_YACS_ORB.STEPBYSTEP, _0_YACS_ORB.STOPBEFORENODES,))

_0_YACS_ORB._d_executionMode  = (omniORB.tcInternal.tv_enum, _0_YACS_ORB.executionMode._NP_RepositoryId, "executionMode", _0_YACS_ORB.executionMode._items)
_0_YACS_ORB._tc_executionMode = omniORB.tcInternal.createTypeCode(_0_YACS_ORB._d_executionMode)
omniORB.registerType(_0_YACS_ORB.executionMode._NP_RepositoryId, _0_YACS_ORB._d_executionMode, _0_YACS_ORB._tc_executionMode)

# typedef ... stringArray
class stringArray:
    _NP_RepositoryId = "IDL:YACS_ORB/stringArray:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_YACS_ORB.stringArray = stringArray
_0_YACS_ORB._d_stringArray  = (omniORB.tcInternal.tv_sequence, (omniORB.tcInternal.tv_string,0), 0)
_0_YACS_ORB._ad_stringArray = (omniORB.tcInternal.tv_alias, stringArray._NP_RepositoryId, "stringArray", (omniORB.tcInternal.tv_sequence, (omniORB.tcInternal.tv_string,0), 0))
_0_YACS_ORB._tc_stringArray = omniORB.tcInternal.createTypeCode(_0_YACS_ORB._ad_stringArray)
omniORB.registerType(stringArray._NP_RepositoryId, _0_YACS_ORB._ad_stringArray, _0_YACS_ORB._tc_stringArray)
del stringArray

# typedef ... longArray
class longArray:
    _NP_RepositoryId = "IDL:YACS_ORB/longArray:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
_0_YACS_ORB.longArray = longArray
_0_YACS_ORB._d_longArray  = (omniORB.tcInternal.tv_sequence, omniORB.tcInternal.tv_long, 0)
_0_YACS_ORB._ad_longArray = (omniORB.tcInternal.tv_alias, longArray._NP_RepositoryId, "longArray", (omniORB.tcInternal.tv_sequence, omniORB.tcInternal.tv_long, 0))
_0_YACS_ORB._tc_longArray = omniORB.tcInternal.createTypeCode(_0_YACS_ORB._ad_longArray)
omniORB.registerType(longArray._NP_RepositoryId, _0_YACS_ORB._ad_longArray, _0_YACS_ORB._tc_longArray)
del longArray

# interface Observer
_0_YACS_ORB._d_Observer = (omniORB.tcInternal.tv_objref, "IDL:YACS_ORB/Observer:1.0", "Observer")
omniORB.typeMapping["IDL:YACS_ORB/Observer:1.0"] = _0_YACS_ORB._d_Observer
_0_YACS_ORB.Observer = omniORB.newEmptyClass()
class Observer :
    _NP_RepositoryId = _0_YACS_ORB._d_Observer[1]

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

    _nil = CORBA.Object._nil


_0_YACS_ORB.Observer = Observer
_0_YACS_ORB._tc_Observer = omniORB.tcInternal.createTypeCode(_0_YACS_ORB._d_Observer)
omniORB.registerType(Observer._NP_RepositoryId, _0_YACS_ORB._d_Observer, _0_YACS_ORB._tc_Observer)

# Observer operations and attributes
Observer._d_notifyObserver = ((omniORB.tcInternal.tv_long, (omniORB.tcInternal.tv_string,0)), (), None)

# Observer object reference
class _objref_Observer (CORBA.Object):
    _NP_RepositoryId = Observer._NP_RepositoryId

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

    def notifyObserver(self, *args):
        return _omnipy.invoke(self, "notifyObserver", _0_YACS_ORB.Observer._d_notifyObserver, args)

    __methods__ = ["notifyObserver"] + CORBA.Object.__methods__

omniORB.registerObjref(Observer._NP_RepositoryId, _objref_Observer)
_0_YACS_ORB._objref_Observer = _objref_Observer
del Observer, _objref_Observer

# Observer skeleton
__name__ = "YACS_ORB__POA"
class Observer (PortableServer.Servant):
    _NP_RepositoryId = _0_YACS_ORB.Observer._NP_RepositoryId


    _omni_op_d = {"notifyObserver": _0_YACS_ORB.Observer._d_notifyObserver}

Observer._omni_skeleton = Observer
_0_YACS_ORB__POA.Observer = Observer
omniORB.registerSkeleton(Observer._NP_RepositoryId, Observer)
del Observer
__name__ = "YACS_ORB"

# interface ProcExec
_0_YACS_ORB._d_ProcExec = (omniORB.tcInternal.tv_objref, "IDL:YACS_ORB/ProcExec:1.0", "ProcExec")
omniORB.typeMapping["IDL:YACS_ORB/ProcExec:1.0"] = _0_YACS_ORB._d_ProcExec
_0_YACS_ORB.ProcExec = omniORB.newEmptyClass()
class ProcExec :
    _NP_RepositoryId = _0_YACS_ORB._d_ProcExec[1]

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

    _nil = CORBA.Object._nil


_0_YACS_ORB.ProcExec = ProcExec
_0_YACS_ORB._tc_ProcExec = omniORB.tcInternal.createTypeCode(_0_YACS_ORB._d_ProcExec)
omniORB.registerType(ProcExec._NP_RepositoryId, _0_YACS_ORB._d_ProcExec, _0_YACS_ORB._tc_ProcExec)

# ProcExec operations and attributes
ProcExec._d_getNodeState = ((omniORB.tcInternal.tv_long, ), (omniORB.tcInternal.tv_long, ), None)
ProcExec._d_getXMLState = ((omniORB.tcInternal.tv_long, ), ((omniORB.tcInternal.tv_string,0), ), None)
ProcExec._d_getInPortValue = ((omniORB.tcInternal.tv_long, (omniORB.tcInternal.tv_string,0)), ((omniORB.tcInternal.tv_string,0), ), None)
ProcExec._d_setInPortValue = (((omniORB.tcInternal.tv_string,0), (omniORB.tcInternal.tv_string,0), (omniORB.tcInternal.tv_string,0)), ((omniORB.tcInternal.tv_string,0), ), None)
ProcExec._d_getOutPortValue = ((omniORB.tcInternal.tv_long, (omniORB.tcInternal.tv_string,0)), ((omniORB.tcInternal.tv_string,0), ), None)
ProcExec._d_getErrorDetails = ((omniORB.tcInternal.tv_long, ), ((omniORB.tcInternal.tv_string,0), ), None)
ProcExec._d_getErrorReport = ((omniORB.tcInternal.tv_long, ), ((omniORB.tcInternal.tv_string,0), ), None)
ProcExec._d_getContainerLog = ((omniORB.tcInternal.tv_long, ), ((omniORB.tcInternal.tv_string,0), ), None)
ProcExec._d_getExecutorState = ((), (omniORB.tcInternal.tv_long, ), None)
ProcExec._d_getIds = ((), (omniORB.typeMapping["IDL:YACS_ORB/longArray:1.0"], omniORB.typeMapping["IDL:YACS_ORB/stringArray:1.0"]), None)
ProcExec._d_getNumIds = ((), (omniORB.typeMapping["IDL:YACS_ORB/longArray:1.0"], ), None)
ProcExec._d_getNames = ((), (omniORB.typeMapping["IDL:YACS_ORB/stringArray:1.0"], ), None)
ProcExec._d_Run = ((), (), None)
ProcExec._d_RunFromState = (((omniORB.tcInternal.tv_string,0), ), (), None)
ProcExec._d_addObserver = ((omniORB.typeMapping["IDL:YACS_ORB/Observer:1.0"], omniORB.tcInternal.tv_long, (omniORB.tcInternal.tv_string,0)), (), None)
ProcExec._d_setExecMode = ((omniORB.typeMapping["IDL:YACS_ORB/executionMode:1.0"], ), (), None)
ProcExec._d_setListOfBreakPoints = ((omniORB.typeMapping["IDL:YACS_ORB/stringArray:1.0"], ), (), None)
ProcExec._d_getTasksToLoad = ((), (omniORB.typeMapping["IDL:YACS_ORB/stringArray:1.0"], ), None)
ProcExec._d_setStepsToExecute = ((omniORB.typeMapping["IDL:YACS_ORB/stringArray:1.0"], ), (omniORB.tcInternal.tv_boolean, ), None)
ProcExec._d_resumeCurrentBreakPoint = ((), (omniORB.tcInternal.tv_boolean, ), None)
ProcExec._d_isNotFinished = ((), (omniORB.tcInternal.tv_boolean, ), None)
ProcExec._d_stopExecution = ((), (), None)
ProcExec._d_saveState = (((omniORB.tcInternal.tv_string,0), ), (omniORB.tcInternal.tv_boolean, ), None)
ProcExec._d_setStopOnError = ((omniORB.tcInternal.tv_boolean, (omniORB.tcInternal.tv_string,0)), (), None)
ProcExec._d_unsetStopOnError = ((), (), None)

# ProcExec object reference
class _objref_ProcExec (CORBA.Object):
    _NP_RepositoryId = ProcExec._NP_RepositoryId

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

    def getNodeState(self, *args):
        return _omnipy.invoke(self, "getNodeState", _0_YACS_ORB.ProcExec._d_getNodeState, args)

    def getXMLState(self, *args):
        return _omnipy.invoke(self, "getXMLState", _0_YACS_ORB.ProcExec._d_getXMLState, args)

    def getInPortValue(self, *args):
        return _omnipy.invoke(self, "getInPortValue", _0_YACS_ORB.ProcExec._d_getInPortValue, args)

    def setInPortValue(self, *args):
        return _omnipy.invoke(self, "setInPortValue", _0_YACS_ORB.ProcExec._d_setInPortValue, args)

    def getOutPortValue(self, *args):
        return _omnipy.invoke(self, "getOutPortValue", _0_YACS_ORB.ProcExec._d_getOutPortValue, args)

    def getErrorDetails(self, *args):
        return _omnipy.invoke(self, "getErrorDetails", _0_YACS_ORB.ProcExec._d_getErrorDetails, args)

    def getErrorReport(self, *args):
        return _omnipy.invoke(self, "getErrorReport", _0_YACS_ORB.ProcExec._d_getErrorReport, args)

    def getContainerLog(self, *args):
        return _omnipy.invoke(self, "getContainerLog", _0_YACS_ORB.ProcExec._d_getContainerLog, args)

    def getExecutorState(self, *args):
        return _omnipy.invoke(self, "getExecutorState", _0_YACS_ORB.ProcExec._d_getExecutorState, args)

    def getIds(self, *args):
        return _omnipy.invoke(self, "getIds", _0_YACS_ORB.ProcExec._d_getIds, args)

    def getNumIds(self, *args):
        return _omnipy.invoke(self, "getNumIds", _0_YACS_ORB.ProcExec._d_getNumIds, args)

    def getNames(self, *args):
        return _omnipy.invoke(self, "getNames", _0_YACS_ORB.ProcExec._d_getNames, args)

    def Run(self, *args):
        return _omnipy.invoke(self, "Run", _0_YACS_ORB.ProcExec._d_Run, args)

    def RunFromState(self, *args):
        return _omnipy.invoke(self, "RunFromState", _0_YACS_ORB.ProcExec._d_RunFromState, args)

    def addObserver(self, *args):
        return _omnipy.invoke(self, "addObserver", _0_YACS_ORB.ProcExec._d_addObserver, args)

    def setExecMode(self, *args):
        return _omnipy.invoke(self, "setExecMode", _0_YACS_ORB.ProcExec._d_setExecMode, args)

    def setListOfBreakPoints(self, *args):
        return _omnipy.invoke(self, "setListOfBreakPoints", _0_YACS_ORB.ProcExec._d_setListOfBreakPoints, args)

    def getTasksToLoad(self, *args):
        return _omnipy.invoke(self, "getTasksToLoad", _0_YACS_ORB.ProcExec._d_getTasksToLoad, args)

    def setStepsToExecute(self, *args):
        return _omnipy.invoke(self, "setStepsToExecute", _0_YACS_ORB.ProcExec._d_setStepsToExecute, args)

    def resumeCurrentBreakPoint(self, *args):
        return _omnipy.invoke(self, "resumeCurrentBreakPoint", _0_YACS_ORB.ProcExec._d_resumeCurrentBreakPoint, args)

    def isNotFinished(self, *args):
        return _omnipy.invoke(self, "isNotFinished", _0_YACS_ORB.ProcExec._d_isNotFinished, args)

    def stopExecution(self, *args):
        return _omnipy.invoke(self, "stopExecution", _0_YACS_ORB.ProcExec._d_stopExecution, args)

    def saveState(self, *args):
        return _omnipy.invoke(self, "saveState", _0_YACS_ORB.ProcExec._d_saveState, args)

    def setStopOnError(self, *args):
        return _omnipy.invoke(self, "setStopOnError", _0_YACS_ORB.ProcExec._d_setStopOnError, args)

    def unsetStopOnError(self, *args):
        return _omnipy.invoke(self, "unsetStopOnError", _0_YACS_ORB.ProcExec._d_unsetStopOnError, args)

    __methods__ = ["getNodeState", "getXMLState", "getInPortValue", "setInPortValue", "getOutPortValue", "getErrorDetails", "getErrorReport", "getContainerLog", "getExecutorState", "getIds", "getNumIds", "getNames", "Run", "RunFromState", "addObserver", "setExecMode", "setListOfBreakPoints", "getTasksToLoad", "setStepsToExecute", "resumeCurrentBreakPoint", "isNotFinished", "stopExecution", "saveState", "setStopOnError", "unsetStopOnError"] + CORBA.Object.__methods__

omniORB.registerObjref(ProcExec._NP_RepositoryId, _objref_ProcExec)
_0_YACS_ORB._objref_ProcExec = _objref_ProcExec
del ProcExec, _objref_ProcExec

# ProcExec skeleton
__name__ = "YACS_ORB__POA"
class ProcExec (PortableServer.Servant):
    _NP_RepositoryId = _0_YACS_ORB.ProcExec._NP_RepositoryId


    _omni_op_d = {"getNodeState": _0_YACS_ORB.ProcExec._d_getNodeState, "getXMLState": _0_YACS_ORB.ProcExec._d_getXMLState, "getInPortValue": _0_YACS_ORB.ProcExec._d_getInPortValue, "setInPortValue": _0_YACS_ORB.ProcExec._d_setInPortValue, "getOutPortValue": _0_YACS_ORB.ProcExec._d_getOutPortValue, "getErrorDetails": _0_YACS_ORB.ProcExec._d_getErrorDetails, "getErrorReport": _0_YACS_ORB.ProcExec._d_getErrorReport, "getContainerLog": _0_YACS_ORB.ProcExec._d_getContainerLog, "getExecutorState": _0_YACS_ORB.ProcExec._d_getExecutorState, "getIds": _0_YACS_ORB.ProcExec._d_getIds, "getNumIds": _0_YACS_ORB.ProcExec._d_getNumIds, "getNames": _0_YACS_ORB.ProcExec._d_getNames, "Run": _0_YACS_ORB.ProcExec._d_Run, "RunFromState": _0_YACS_ORB.ProcExec._d_RunFromState, "addObserver": _0_YACS_ORB.ProcExec._d_addObserver, "setExecMode": _0_YACS_ORB.ProcExec._d_setExecMode, "setListOfBreakPoints": _0_YACS_ORB.ProcExec._d_setListOfBreakPoints, "getTasksToLoad": _0_YACS_ORB.ProcExec._d_getTasksToLoad, "setStepsToExecute": _0_YACS_ORB.ProcExec._d_setStepsToExecute, "resumeCurrentBreakPoint": _0_YACS_ORB.ProcExec._d_resumeCurrentBreakPoint, "isNotFinished": _0_YACS_ORB.ProcExec._d_isNotFinished, "stopExecution": _0_YACS_ORB.ProcExec._d_stopExecution, "saveState": _0_YACS_ORB.ProcExec._d_saveState, "setStopOnError": _0_YACS_ORB.ProcExec._d_setStopOnError, "unsetStopOnError": _0_YACS_ORB.ProcExec._d_unsetStopOnError}

ProcExec._omni_skeleton = ProcExec
_0_YACS_ORB__POA.ProcExec = ProcExec
omniORB.registerSkeleton(ProcExec._NP_RepositoryId, ProcExec)
del ProcExec
__name__ = "YACS_ORB"

# interface YACS_Gen
_0_YACS_ORB._d_YACS_Gen = (omniORB.tcInternal.tv_objref, "IDL:YACS_ORB/YACS_Gen:1.0", "YACS_Gen")
omniORB.typeMapping["IDL:YACS_ORB/YACS_Gen:1.0"] = _0_YACS_ORB._d_YACS_Gen
_0_YACS_ORB.YACS_Gen = omniORB.newEmptyClass()
class YACS_Gen (_0_Engines.Component, _0_SALOMEDS.Driver):
    _NP_RepositoryId = _0_YACS_ORB._d_YACS_Gen[1]

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

    _nil = CORBA.Object._nil


_0_YACS_ORB.YACS_Gen = YACS_Gen
_0_YACS_ORB._tc_YACS_Gen = omniORB.tcInternal.createTypeCode(_0_YACS_ORB._d_YACS_Gen)
omniORB.registerType(YACS_Gen._NP_RepositoryId, _0_YACS_ORB._d_YACS_Gen, _0_YACS_ORB._tc_YACS_Gen)

# YACS_Gen operations and attributes
YACS_Gen._d_LoadProc = (((omniORB.tcInternal.tv_string,0), ), (omniORB.typeMapping["IDL:YACS_ORB/ProcExec:1.0"], ), None)
YACS_Gen._d_convertSupervFile = (((omniORB.tcInternal.tv_string,0), ), ((omniORB.tcInternal.tv_string,0), ), None)

# YACS_Gen object reference
class _objref_YACS_Gen (_0_Engines._objref_Component, _0_SALOMEDS._objref_Driver):
    _NP_RepositoryId = YACS_Gen._NP_RepositoryId

    def __init__(self):
        _0_Engines._objref_Component.__init__(self)
        _0_SALOMEDS._objref_Driver.__init__(self)

    def LoadProc(self, *args):
        return _omnipy.invoke(self, "LoadProc", _0_YACS_ORB.YACS_Gen._d_LoadProc, args)

    def convertSupervFile(self, *args):
        return _omnipy.invoke(self, "convertSupervFile", _0_YACS_ORB.YACS_Gen._d_convertSupervFile, args)

    __methods__ = ["LoadProc", "convertSupervFile"] + _0_Engines._objref_Component.__methods__ + _0_SALOMEDS._objref_Driver.__methods__

omniORB.registerObjref(YACS_Gen._NP_RepositoryId, _objref_YACS_Gen)
_0_YACS_ORB._objref_YACS_Gen = _objref_YACS_Gen
del YACS_Gen, _objref_YACS_Gen

# YACS_Gen skeleton
__name__ = "YACS_ORB__POA"
class YACS_Gen (_0_Engines__POA.Component, _0_SALOMEDS__POA.Driver):
    _NP_RepositoryId = _0_YACS_ORB.YACS_Gen._NP_RepositoryId


    _omni_op_d = {"LoadProc": _0_YACS_ORB.YACS_Gen._d_LoadProc, "convertSupervFile": _0_YACS_ORB.YACS_Gen._d_convertSupervFile}
    _omni_op_d.update(_0_Engines__POA.Component._omni_op_d)
    _omni_op_d.update(_0_SALOMEDS__POA.Driver._omni_op_d)

YACS_Gen._omni_skeleton = YACS_Gen
_0_YACS_ORB__POA.YACS_Gen = YACS_Gen
omniORB.registerSkeleton(YACS_Gen._NP_RepositoryId, YACS_Gen)
del YACS_Gen
__name__ = "YACS_ORB"

#
# End of module "YACS_ORB"
#
__name__ = "yacsgui_idl"

_exported_modules = ( "YACS_ORB", )

# The end.
