Functions | Variables
AttachDetachRTCTest Namespace Reference

Functions

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

Variables

list compo0 = ns.rtc_handles["ConsoleOut0.rtc"]
list compo1 = ns.rtc_handles["ConsoleIn0.rtc"]
tuple ec = compo0.rtc_ref.get_owned_contexts()
tuple ec_id = compo0.rtc_ref.attach_context(ec[0])
tuple env = RtmEnv(sys.argv, ["localhost:9898"])
string fodat = "=== "
tuple fout = open(test_case + ".log", 'w')
list list0 = env.name_space["localhost:9898"]
int loop_cnt = 1000
list ns = env.name_space['localhost:9898']
tuple retcode = compo0.rtc_ref.detach_context(ec_id)
tuple rss0 = mem_rss()
tuple rss1 = mem_rss()
tuple rssEnd = mem_rss()
list seqin0 = ns.rtc_handles["SequenceInComponent0.rtc"]
string test_case = "AttachDetachRTCTest"
 file out setting

Function Documentation

def AttachDetachRTCTest.leak_check (   rss_start,
  rss_end 
)

memory leak check

Definition at line 53 of file AttachDetachRTCTest.py.

Definition at line 32 of file AttachDetachRTCTest.py.

def AttachDetachRTCTest.print_file_and_cons (   out_data,
  out_flag = 0 
)

file and console out

Definition at line 37 of file AttachDetachRTCTest.py.


Variable Documentation

list AttachDetachRTCTest::compo0 = ns.rtc_handles["ConsoleOut0.rtc"]

Definition at line 27 of file AttachDetachRTCTest.py.

list AttachDetachRTCTest::compo1 = ns.rtc_handles["ConsoleIn0.rtc"]

Definition at line 26 of file AttachDetachRTCTest.py.

tuple AttachDetachRTCTest::ec = compo0.rtc_ref.get_owned_contexts()

Definition at line 30 of file AttachDetachRTCTest.py.

tuple AttachDetachRTCTest::ec_id = compo0.rtc_ref.attach_context(ec[0])

Definition at line 75 of file AttachDetachRTCTest.py.

tuple AttachDetachRTCTest::env = RtmEnv(sys.argv, ["localhost:9898"])

Definition at line 18 of file AttachDetachRTCTest.py.

string AttachDetachRTCTest::fodat = "=== "

-----------------------------------------------------------------------------

Definition at line 65 of file AttachDetachRTCTest.py.

tuple AttachDetachRTCTest::fout = open(test_case + ".log", 'w')

Definition at line 63 of file AttachDetachRTCTest.py.

list AttachDetachRTCTest::list0 = env.name_space["localhost:9898"]

Definition at line 19 of file AttachDetachRTCTest.py.

Definition at line 68 of file AttachDetachRTCTest.py.

list AttachDetachRTCTest::ns = env.name_space['localhost:9898']

Definition at line 22 of file AttachDetachRTCTest.py.

tuple AttachDetachRTCTest::retcode = compo0.rtc_ref.detach_context(ec_id)

Definition at line 79 of file AttachDetachRTCTest.py.

Definition at line 83 of file AttachDetachRTCTest.py.

Definition at line 86 of file AttachDetachRTCTest.py.

Definition at line 92 of file AttachDetachRTCTest.py.

list AttachDetachRTCTest::seqin0 = ns.rtc_handles["SequenceInComponent0.rtc"]

Definition at line 28 of file AttachDetachRTCTest.py.

string AttachDetachRTCTest::test_case = "AttachDetachRTCTest"

file out setting

Definition at line 62 of file AttachDetachRTCTest.py.



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