23 sys.path.insert(1,
"../")
27 from DataInPort
import *
31 self.
_orb = CORBA.ORB_init()
32 self.
_poa = self._orb.resolve_initial_references(
"RootPOA")
33 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")
49 prof = RTC.ConnectorProfile(
"connector0",
"",[
TestObj(),
TestObj()],nvlist)
51 self.assertEqual(self._dip.publishInterfaces(prof), RTC.RTC_OK)
52 self.assertEqual(self._dip.subscribeInterfaces(prof), RTC.RTC_OK)
53 self._dip.unsubscribeInterfaces(prof)
57 if __name__ ==
'__main__':
def newNV(name, value)
Create NameVale.