# Python stubs generated by omniidl from /home/astrisw/TestMaster/testComp1/src/../idl/testComp1.idl
# DO NOT EDIT THIS FILE!

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


_omnipy.checkVersion(4,2, __file__, 1)

try:
    property
except NameError:
    def property(*args):
        return None


# #include "acserr.idl"
import acserr_idl
_0_ACSErr = omniORB.openModule("ACSErr")
_0_ACSErr__POA = omniORB.openModule("ACSErr__POA")

# #include "acscommon.idl"
import acscommon_idl
_0_ACS = omniORB.openModule("ACS")
_0_ACS__POA = omniORB.openModule("ACS__POA")
_0_log_audience = omniORB.openModule("log_audience")
_0_log_audience__POA = omniORB.openModule("log_audience__POA")
_0_acscommon = omniORB.openModule("acscommon")
_0_acscommon__POA = omniORB.openModule("acscommon__POA")

# #include "acscomponent.idl"
import acscomponent_idl
_0_ACS = omniORB.openModule("ACS")
_0_ACS__POA = omniORB.openModule("ACS__POA")

#
# Start of module "test"
#
__name__ = "test"
_0_test = omniORB.openModule("test", r"/home/astrisw/TestMaster/testComp1/src/../idl/testComp1.idl")
_0_test__POA = omniORB.openModule("test__POA", r"/home/astrisw/TestMaster/testComp1/src/../idl/testComp1.idl")


# interface testComp1
_0_test._d_testComp1 = (omniORB.tcInternal.tv_objref, "IDL:astri/test/testComp1:1.0", "testComp1")
omniORB.typeMapping["IDL:astri/test/testComp1:1.0"] = _0_test._d_testComp1
_0_test.testComp1 = omniORB.newEmptyClass()
class testComp1 (_0_ACS.ACSComponent):
    _NP_RepositoryId = _0_test._d_testComp1[1]

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

    _nil = CORBA.Object._nil


_0_test.testComp1 = testComp1
_0_test._tc_testComp1 = omniORB.tcInternal.createTypeCode(_0_test._d_testComp1)
omniORB.registerType(testComp1._NP_RepositoryId, _0_test._d_testComp1, _0_test._tc_testComp1)

# testComp1 operations and attributes
testComp1._d_doSomething = ((), (), None)

# testComp1 object reference
class _objref_testComp1 (_0_ACS._objref_ACSComponent):
    _NP_RepositoryId = testComp1._NP_RepositoryId

    def __init__(self, obj):
        _0_ACS._objref_ACSComponent.__init__(self, obj)

    def doSomething(self, *args):
        return self._obj.invoke("doSomething", _0_test.testComp1._d_doSomething, args)

omniORB.registerObjref(testComp1._NP_RepositoryId, _objref_testComp1)
_0_test._objref_testComp1 = _objref_testComp1
del testComp1, _objref_testComp1

# testComp1 skeleton
__name__ = "test__POA"
class testComp1 (_0_ACS__POA.ACSComponent):
    _NP_RepositoryId = _0_test.testComp1._NP_RepositoryId


    _omni_op_d = {"doSomething": _0_test.testComp1._d_doSomething}
    _omni_op_d.update(_0_ACS__POA.ACSComponent._omni_op_d)

testComp1._omni_skeleton = testComp1
_0_test__POA.testComp1 = testComp1
omniORB.registerSkeleton(testComp1._NP_RepositoryId, testComp1)
del testComp1
__name__ = "test"

#
# End of module "test"
#
__name__ = "testComp1_idl"

_exported_modules = ( "test", )

# The end.
