Functions | Variables
CreateDeleteRTCTest Namespace Reference

Functions

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

Variables

 env = RtmEnv(sys.argv, ["localhost:9898"])
 
string fodat = "=== " + test_case + " start ==="
 
More...
 
 fout = open(test_case + ".log", 'w')
 
int loop_cnt = 1000
 
 manager = naming.resolve(mgr_name)._narrow(RTM.Manager)
 
string mgr_name = socket.gethostname()+".host_cxt/manager.mgr"
 
 naming = CorbaNaming(env.orb,"localhost:9898")
 
 obj0 = manager.create_component("ConsoleOut")
 Manager::create_component(in string module_name);. More...
 
 ret0 = manager.delete_component("ConsoleOut0")
 Manager::delete_component(in string instance_name);. More...
 
 retcode = manager.unload_module(".//ConsoleOut.so")
 Manager::unload_module(in string pathname);. More...
 
def rss0 = rss0
 
def rss1 = i
 
def rssEnd = mem_rss()
 
string test_case = "CreateDeleteRTCTest"
 file out setting More...
 

Function Documentation

◆ leak_check()

def CreateDeleteRTCTest.leak_check (   rss_start,
  rss_end 
)

memory leak check

Definition at line 50 of file CreateDeleteRTCTest.py.

◆ mem_rss()

def CreateDeleteRTCTest.mem_rss ( )

Definition at line 29 of file CreateDeleteRTCTest.py.

◆ print_file_and_cons()

def CreateDeleteRTCTest.print_file_and_cons (   out_data,
  out_flag = 0 
)

file and console out

Definition at line 34 of file CreateDeleteRTCTest.py.

Variable Documentation

◆ env

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

Definition at line 21 of file CreateDeleteRTCTest.py.

◆ fodat

string CreateDeleteRTCTest.fodat = "=== " + test_case + " start ==="


Definition at line 62 of file CreateDeleteRTCTest.py.

◆ fout

CreateDeleteRTCTest.fout = open(test_case + ".log", 'w')

Definition at line 60 of file CreateDeleteRTCTest.py.

◆ loop_cnt

int CreateDeleteRTCTest.loop_cnt = 1000

Definition at line 65 of file CreateDeleteRTCTest.py.

◆ manager

CreateDeleteRTCTest.manager = naming.resolve(mgr_name)._narrow(RTM.Manager)

Definition at line 25 of file CreateDeleteRTCTest.py.

◆ mgr_name

string CreateDeleteRTCTest.mgr_name = socket.gethostname()+".host_cxt/manager.mgr"

Definition at line 23 of file CreateDeleteRTCTest.py.

◆ naming

CreateDeleteRTCTest.naming = CorbaNaming(env.orb,"localhost:9898")

Definition at line 24 of file CreateDeleteRTCTest.py.

◆ obj0

CreateDeleteRTCTest.obj0 = manager.create_component("ConsoleOut")

Manager::create_component(in string module_name);.

Definition at line 109 of file CreateDeleteRTCTest.py.

◆ ret0

CreateDeleteRTCTest.ret0 = manager.delete_component("ConsoleOut0")

Manager::delete_component(in string instance_name);.

Definition at line 104 of file CreateDeleteRTCTest.py.

◆ retcode

CreateDeleteRTCTest.retcode = manager.unload_module(".//ConsoleOut.so")

Manager::unload_module(in string pathname);.

Manager::load_module(in string pathname, in string initfunc); retcode = manager.load_module("ConsoleIn.so", "ConsoleInInit")

Definition at line 74 of file CreateDeleteRTCTest.py.

◆ rss0

def CreateDeleteRTCTest.rss0 = rss0

Definition at line 85 of file CreateDeleteRTCTest.py.

◆ rss1

def CreateDeleteRTCTest.rss1 = i

Definition at line 88 of file CreateDeleteRTCTest.py.

◆ rssEnd

def CreateDeleteRTCTest.rssEnd = mem_rss()

Definition at line 94 of file CreateDeleteRTCTest.py.

◆ test_case

string CreateDeleteRTCTest.test_case = "CreateDeleteRTCTest"

file out setting

Definition at line 59 of file CreateDeleteRTCTest.py.



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