Namespaces | Functions | Variables
DataPortTest.py File Reference

Go to the source code of this file.

Namespaces

namespace  DataPortTest

Functions

def DataPortTest.leak_check
 memory leak check
def DataPortTest.mem_rss
def DataPortTest.print_file_and_cons
 file and console out

Variables

list DataPortTest.compo0 = ns.rtc_handles["ConsoleIn0.rtc"]
list DataPortTest.compo1 = ns.rtc_handles["ConsoleOut0.rtc"]
tuple DataPortTest.conprof = RTC.ConnectorProfile("connector0", "123", [consin_ports[0],consout_ports[0]], [SDOPackage.NameValue("dataport.interface_type",any.to_any("corba_cdr")),SDOPackage.NameValue("dataport.dataflow_type",any.to_any("push")),SDOPackage.NameValue("dataport.subscription_type",any.to_any("flush"))])
tuple DataPortTest.conprof2 = RTC.ConnectorProfile("connector0", "123", [consout_ports[0], consin_ports[0]], [SDOPackage.NameValue("dataport.interface_type",any.to_any("corba_cdr")),SDOPackage.NameValue("dataport.dataflow_type",any.to_any("pull")),SDOPackage.NameValue("dataport.subscription_type",any.to_any("flush"))])
tuple DataPortTest.consin_ports = compo0.rtc_ref.get_ports()
tuple DataPortTest.consout_ports = compo1.rtc_ref.get_ports()
tuple DataPortTest.data = RTC.TimedLong(RTC.Time(0,0),12345)
tuple DataPortTest.data0 = cdrMarshal(any.to_any(data).typecode(), data, 1)
tuple DataPortTest.env = RtmEnv(sys.argv, ["localhost:9898"])
string DataPortTest.fodat = "=== "
tuple DataPortTest.fout = open(test_case + ".log", 'w')
tuple DataPortTest.inportcdr = inportobj._narrow(OpenRTM.InPortCdr)
tuple DataPortTest.inportobj = env.orb.string_to_object(ior)
tuple DataPortTest.ior = any.from_any(conprof0.properties[4].value, keep_structs=True)
tuple DataPortTest.ior10 = any.from_any(conprof10.properties[4].value, keep_structs=True)
list DataPortTest.list0 = env.name_space["localhost:9898"]
int DataPortTest.loop_cnt = 1000
list DataPortTest.ns = env.name_space['localhost:9898']
tuple DataPortTest.outportcdr = outportobj._narrow(OpenRTM.OutPortCdr)
tuple DataPortTest.outportobj = env.orb.string_to_object(ior10)
tuple DataPortTest.ret1 = inportcdr.put(data0)
list DataPortTest.ret12 = consin_ports[0]
list DataPortTest.ret2 = consin_ports[0]
tuple DataPortTest.rss0 = mem_rss()
tuple DataPortTest.rss1 = mem_rss()
tuple DataPortTest.rssEnd = mem_rss()
string DataPortTest.test_case = "DataPortTest"
 file out setting


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Thu Aug 27 2015 14:16:39