Namespaces | Functions | Variables
ConnectRTCTest.py File Reference

Go to the source code of this file.

Namespaces

 ConnectRTCTest
 

Functions

def ConnectRTCTest.leak_check (rss_start, rss_end)
 memory leak check More...
 
def ConnectRTCTest.mem_rss ()
 
def ConnectRTCTest.print_file_and_cons (out_data, out_flag=0)
 file and console out More...
 

Variables

 ConnectRTCTest.compo0 = ns.rtc_handles["ConsoleIn0.rtc"]
 
 ConnectRTCTest.compo1 = ns.rtc_handles["ConsoleOut0.rtc"]
 
 ConnectRTCTest.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"))])
 

Connector Porfile: corba_cdr, push, flush <<< In -> Out More...

 
 ConnectRTCTest.consin_ports = compo0.rtc_ref.get_ports()
 
More...
 
 ConnectRTCTest.consout_ports = compo1.rtc_ref.get_ports()
 
 ConnectRTCTest.env = RtmEnv(sys.argv, ["localhost:9898"])
 
string ConnectRTCTest.fodat = "=== " + test_case + " start ==="
 

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...

 
 ConnectRTCTest.fout = open(test_case + ".log", 'w')
 
 ConnectRTCTest.list0 = env.name_space["localhost:9898"].list_obj()
 
int ConnectRTCTest.loop_cnt = 1000
 
 ConnectRTCTest.ns = env.name_space['localhost:9898']
 
 ConnectRTCTest.ret0 = consin_ports[0].notify_connect(conprof)
 
 ConnectRTCTest.ret1 = consin_ports[0].notify_disconnect(conprof.connector_id)
 
def ConnectRTCTest.rss0 = rss0
 
def ConnectRTCTest.rss1 = i
 
def ConnectRTCTest.rssEnd = mem_rss()
 
string ConnectRTCTest.test_case = "ConnectRTCTest"
 file out setting More...
 


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Feb 28 2022 23:00:45