24 sys.path.insert(1,
"../")
28 from DataOutPort
import *
32 self.
_orb = CORBA.ORB_init()
33 self.
_poa = self._orb.resolve_initial_references(
"RootPOA")
34 OpenRTM_aist.RTObject_impl.__init__(self, orb=self.
_orb, poa=self.
_poa)
38 self.
_orb = CORBA.ORB_init()
39 self.
_poa = self._orb.resolve_initial_references(
"RootPOA")
50 prof = RTC.ConnectorProfile(
"connector0",
"",[
TestObj(),
TestObj()],nvlist)
52 self.assertEqual(self._dop.publishInterfaces(prof), RTC.RTC_OK)
53 self.assertEqual(self._dop.subscribeInterfaces(prof), RTC.RTC_OK)
54 self._dop.unsubscribeInterfaces(prof)
59 if __name__ ==
'__main__':
def newNV(name, value)
Create NameVale.