OpenRTM  1.1.1
Manager.idl
[詳解]
1 // -*- IDL -*-
18 /*
19  * $Log: not supported by cvs2svn $
20  *
21  */
22 
23 #ifndef __MANAGER_IDL__
24 #define __MANAGER_IDL__
25 
26 #include "SDOPackage.idl"
27 #include "RTC.idl"
28 
29 module RTM
30 {
32 
34  {
35  NVList properties;
36  };
37 
38  typedef sequence<ModuleProfile> ModuleProfileList;
39 
41  {
42  NVList properties;
43  };
44 
45  interface Manager;
46  typedef sequence<Manager> ManagerList;
47 
48  interface Manager
49  {
50  // module Ϣ
74  RTC::ReturnCode_t load_module(in string pathname, in string initfunc);
75 
95  RTC::ReturnCode_t unload_module(in string pathname);
96 
114  ModuleProfileList get_loadable_modules();
115 
133  ModuleProfileList get_loaded_modules();
134 
135  // component Ϣ
155  ModuleProfileList get_factory_profiles();
156 
175  RTC::RTObject create_component(in string module_name);
176 
195  RTC::ReturnCode_t delete_component(in string instance_name);
196 
214  RTC::RTCList get_components();
215 
235  RTC::ComponentProfileList get_component_profiles();
236 
237  // manager
255  ManagerProfile get_profile();
256 
274  NVList get_configuration();
275 
297  RTC::ReturnCode_t set_configuration(in string name, in string value);
298 
318  boolean is_master();
319 
341  ManagerList get_master_managers();
342 
362  RTC::ReturnCode_t add_master_manager(in Manager mgr);
363 
383  RTC::ReturnCode_t remove_master_manager(in Manager mgr);
384 
406  ManagerList get_slave_managers();
426  RTC::ReturnCode_t add_slave_manager(in Manager mgr);
427 
447  RTC::ReturnCode_t remove_slave_manager(in Manager mgr);
448 
449  RTC::ReturnCode_t fork();
450  RTC::ReturnCode_t shutdown();
451  RTC::ReturnCode_t restart();
452 
453  Object get_service(in string name);
454  // ServiceProfileList get_service_profiles();
455  };
456 
457 }; // end of namespace RTM
458 
459 #endif // __MANAGER_IDL__
sequence< NameValue > NVList
Definition: SDOPackage.idl:68
Definition: Manager.idl:48
sequence< ComponentProfile > ComponentProfileList
Definition: RTC.idl:2384
Definition: Manager.idl:33
NVList properties
Definition: Manager.idl:42
Definition: Manager.idl:40
Definition: RTC.idl:2621
sequence< RTObject > RTCList
Definition: RTC.idl:1739
NVList properties
Definition: Manager.idl:35
SDOPackage::NVList NVList
Definition: Manager.idl:31
sequence< Manager > ManagerList
Definition: Manager.idl:45
sequence< ModuleProfile > ModuleProfileList
Definition: Manager.idl:38
ReturnCode_t
ReturnCode_t.
Definition: RTC.idl:82