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 = "=== " + test_case + " start ==="
 
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']
 
def rss0 = rss0
 Configuration::add_service_profile (in ServiceProfile sProfile);. More...
 
def rss1 = i
 
def rssEnd = mem_rss()
 
 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

◆ leak_check()

def ServiceProfileSDOPackageTest.leak_check (   rss_start,
  rss_end 
)

memory leak check

Definition at line 73 of file ServiceProfileSDOPackageTest.py.

◆ mem_rss()

def ServiceProfileSDOPackageTest.mem_rss ( )

Definition at line 52 of file ServiceProfileSDOPackageTest.py.

◆ print_file_and_cons()

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

◆ a0

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

Definition at line 45 of file ServiceProfileSDOPackageTest.py.

◆ config

ServiceProfileSDOPackageTest.config = a0.rtc_ref.get_configuration()

Definition at line 46 of file ServiceProfileSDOPackageTest.py.

◆ env

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

Definition at line 28 of file ServiceProfileSDOPackageTest.py.

◆ fodat

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


Definition at line 85 of file ServiceProfileSDOPackageTest.py.

◆ fout

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

Definition at line 83 of file ServiceProfileSDOPackageTest.py.

◆ listo

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

Create Composite RTC.

Definition at line 39 of file ServiceProfileSDOPackageTest.py.

◆ loop_cnt

int ServiceProfileSDOPackageTest.loop_cnt = 1000

Definition at line 88 of file ServiceProfileSDOPackageTest.py.

◆ manager

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

Definition at line 33 of file ServiceProfileSDOPackageTest.py.

◆ mgr_name

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

Get Manager object reference.

Definition at line 31 of file ServiceProfileSDOPackageTest.py.

◆ naming

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

Definition at line 32 of file ServiceProfileSDOPackageTest.py.

◆ ns

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

Definition at line 42 of file ServiceProfileSDOPackageTest.py.

◆ rss0

def ServiceProfileSDOPackageTest.rss0 = rss0

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.

◆ rss1

def ServiceProfileSDOPackageTest.rss1 = i

Definition at line 101 of file ServiceProfileSDOPackageTest.py.

◆ rssEnd

def ServiceProfileSDOPackageTest.rssEnd = mem_rss()

Definition at line 107 of file ServiceProfileSDOPackageTest.py.

◆ sdomock

ServiceProfileSDOPackageTest.sdomock = SDOServiceMock()._this()

Definition at line 49 of file ServiceProfileSDOPackageTest.py.

◆ svcProf

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

Definition at line 50 of file ServiceProfileSDOPackageTest.py.

◆ svcprofs

ServiceProfileSDOPackageTest.svcprofs = a0.rtc_ref.get_service_profiles()

Definition at line 47 of file ServiceProfileSDOPackageTest.py.

◆ test_case

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 Feb 28 2022 23:00:48