Go to the source code of this file.
Namespaces | |
DataPortTest | |
Functions | |
def | DataPortTest.leak_check (rss_start, rss_end) |
memory leak check More... | |
def | DataPortTest.mem_rss () |
def | DataPortTest.print_file_and_cons (out_data, out_flag=0) |
file and console out More... | |
Variables | |
DataPortTest.compo0 = ns.rtc_handles["ConsoleIn0.rtc"] | |
DataPortTest.compo1 = ns.rtc_handles["ConsoleOut0.rtc"] | |
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"))]) | |
dataflow_type: push More... | |
DataPortTest.conprof0 | |
DataPortTest.conprof10 | |
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"))]) | |
Connector Porfile: corba_cdr, push, new <<< In -> Out 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("new"))]) More... | |
DataPortTest.consin_ports = compo0.rtc_ref.get_ports() | |
DataPortTest.consout_ports = compo1.rtc_ref.get_ports() | |
DataPortTest.data = RTC.TimedLong(RTC.Time(0,0),12345) | |
DataPortTest.data0 = cdrMarshal(any.to_any(data).typecode(), data, 1) | |
DataPortTest.data1 | |
DataPortTest.env = RtmEnv(sys.argv, ["localhost:9898"]) | |
string | DataPortTest.fodat = "=== " |
More... | |
DataPortTest.fout = open(test_case + ".log", 'w') | |
DataPortTest.inportcdr = inportobj._narrow(OpenRTM.InPortCdr) | |
DataPortTest.inportobj = env.orb.string_to_object(ior) | |
DataPortTest.ior = any.from_any(conprof0.properties[4].value, keep_structs=True) | |
DataPortTest.ior10 = any.from_any(conprof10.properties[4].value, keep_structs=True) | |
DataPortTest.list0 = env.name_space["localhost:9898"].list_obj() | |
int | DataPortTest.loop_cnt = 1000 |
DataPortTest.ns = env.name_space['localhost:9898'] | |
DataPortTest.outportcdr = outportobj._narrow(OpenRTM.OutPortCdr) | |
DataPortTest.outportobj = env.orb.string_to_object(ior10) | |
DataPortTest.ret0 | |
DataPortTest.ret1 = inportcdr.put(data0) | |
DataPortTest.ret10 | |
DataPortTest.ret11 | |
DataPortTest.ret12 = consin_ports[0].disconnect(conprof2.connector_id) | |
DataPortTest.ret2 = consin_ports[0].disconnect(conprof.connector_id) | |
int | DataPortTest.rss0 = 0 |
DataPortTest.rss1 = i | |
DataPortTest.rssEnd = mem_rss() | |
DataPortTest.rssStart | |
string | DataPortTest.test_case = "DataPortTest" |
file out setting More... | |