Classes | Functions | Variables
ServiceProfileSDOPackageTest Namespace Reference

Classes

class  SDOServiceMock
 Dummy class of SDOService_impl. More...
 

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

 a0 = ns.rtc_handles["a.rtc"]
 
 config = a0.rtc_ref.get_configuration()
 
 env = RtmEnv(sys.argv, ["localhost:9898"])
 
string fodat = "=== "
 
More...
 
 fout = open(test_case + ".log", 'w')
 
 listo = env.name_space["localhost:9898"].list_obj()
 Create Composite RTC. More...
 
int loop_cnt = 1000
 
 manager = naming.resolve(mgr_name)._narrow(RTM.Manager)
 
string mgr_name = socket.gethostname()+".host_cxt/manager.mgr"
 Get Manager object reference. More...
 
 naming = CorbaNaming(env.orb, "localhost:9898")
 
 ns = env.name_space['localhost:9898']
 
int rss0 = 0
 Configuration::add_service_profile (in ServiceProfile sProfile);. More...
 
 rss1 = i
 
 rssEnd = mem_rss()
 
 rssStart
 
 sdomock = SDOServiceMock()._this()
 
 svcProf = SDOPackage.ServiceProfile("ID 1", "INTERFACE_TYPE 1", [], sdomock)
 
 svcprofs = a0.rtc_ref.get_service_profiles()
 
string test_case = "ServiceProfileSDOPackageTest"
 file out setting More...
 

Function Documentation

def ServiceProfileSDOPackageTest.leak_check (   rss_start,
  rss_end 
)

memory leak check

Definition at line 73 of file ServiceProfileSDOPackageTest.py.

def ServiceProfileSDOPackageTest.mem_rss ( )

Definition at line 52 of file ServiceProfileSDOPackageTest.py.

def ServiceProfileSDOPackageTest.print_file_and_cons (   out_data,
  out_flag = 0 
)

file and console out

Definition at line 57 of file ServiceProfileSDOPackageTest.py.

Variable Documentation

ServiceProfileSDOPackageTest.a0 = ns.rtc_handles["a.rtc"]

Definition at line 45 of file ServiceProfileSDOPackageTest.py.

ServiceProfileSDOPackageTest.config = a0.rtc_ref.get_configuration()

Definition at line 46 of file ServiceProfileSDOPackageTest.py.

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

Definition at line 28 of file ServiceProfileSDOPackageTest.py.

string ServiceProfileSDOPackageTest.fodat = "=== "


Definition at line 85 of file ServiceProfileSDOPackageTest.py.

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

Definition at line 83 of file ServiceProfileSDOPackageTest.py.

ServiceProfileSDOPackageTest.listo = env.name_space["localhost:9898"].list_obj()

Create Composite RTC.

Definition at line 39 of file ServiceProfileSDOPackageTest.py.

int ServiceProfileSDOPackageTest.loop_cnt = 1000

Definition at line 88 of file ServiceProfileSDOPackageTest.py.

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

Definition at line 33 of file ServiceProfileSDOPackageTest.py.

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

Get Manager object reference.

Definition at line 31 of file ServiceProfileSDOPackageTest.py.

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

Definition at line 32 of file ServiceProfileSDOPackageTest.py.

ServiceProfileSDOPackageTest.ns = env.name_space['localhost:9898']

Definition at line 42 of file ServiceProfileSDOPackageTest.py.

int ServiceProfileSDOPackageTest.rss0 = 0

Configuration::add_service_profile (in ServiceProfile sProfile);.

Configuration::remove_service_profile (in UniqueIdentifier id);.

SDOSystemElement::get_sdo_service (in UniqueIdentifier id);.

SDOSystemElement::get_service_profile (in UniqueIdentifier id);.

SDOSystemElement::get_service_profiles ();.

Definition at line 98 of file ServiceProfileSDOPackageTest.py.

ServiceProfileSDOPackageTest.rss1 = i

Definition at line 101 of file ServiceProfileSDOPackageTest.py.

ServiceProfileSDOPackageTest.rssEnd = mem_rss()

Definition at line 107 of file ServiceProfileSDOPackageTest.py.

ServiceProfileSDOPackageTest.rssStart

Definition at line 98 of file ServiceProfileSDOPackageTest.py.

ServiceProfileSDOPackageTest.sdomock = SDOServiceMock()._this()

Definition at line 49 of file ServiceProfileSDOPackageTest.py.

ServiceProfileSDOPackageTest.svcProf = SDOPackage.ServiceProfile("ID 1", "INTERFACE_TYPE 1", [], sdomock)

Definition at line 50 of file ServiceProfileSDOPackageTest.py.

ServiceProfileSDOPackageTest.svcprofs = a0.rtc_ref.get_service_profiles()

Definition at line 47 of file ServiceProfileSDOPackageTest.py.

string ServiceProfileSDOPackageTest.test_case = "ServiceProfileSDOPackageTest"

file out setting

Definition at line 82 of file ServiceProfileSDOPackageTest.py.



openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Jun 10 2019 14:08:05