Classes | Public Member Functions | Private Attributes
OpenRTM_aist.ManagerServant.ManagerServant Class Reference

List of all members.

Classes

class  is_equiv

Public Member Functions

def __del__
 Virtual destructor.
def __init__
 Constructor.
def add_master_manager
 Getting a master manager.
def add_slave_manager
 Getting a slave manager.
def create_component
 Creating an RT-Component.
def createINSManager
 喇根:true, 己窃:false.
def delete_component
 Deleting an RT-Component.
def findManager
 Find the reference of Manager.
def fork
 The copy of the process is generated.
def get_component_profiles
 Getting RT-Component's profile list running on this manager.
def get_components
 Getting RT-Component list running on this manager.
def get_configuration
 Getting this manager's configuration.
def get_factory_profiles
 Getting component factory profiles.
def get_loadable_modules
 Getting loadable module profiles.
def get_loaded_modules
 Getting loaded module profiles.
def get_master_managers
 Getting master managers.
def get_profile
 Getting this manager's profile.
def get_service
 Get the reference of RTC.
def get_slave_managers
 Getting slave managers.
def getObjRef
 Get the reference of Manager.
def is_master
 Whether this manager is master or not.
def load_module
 Loading a module.
def remove_master_manager
 Removing a master manager.
def remove_slave_manager
 Removing a slave manager.
def restart
 This method restarts RTC.
def set_configuration
 Setting manager's configuration.
def shutdown
 This method shutdowns RTC.
def unload_module
 Unloading a module.

Private Attributes

 _isMaster
 _masterMutex
 _masters
 _mgr
 _objref
 _owner
 _rtcout
 _slaveMutex
 _slaves

Detailed Description

Definition at line 28 of file ManagerServant.py.


Constructor & Destructor Documentation

Constructor.

Constructor

Definition at line 45 of file ManagerServant.py.

Virtual destructor.

Definition at line 103 of file ManagerServant.py.


Member Function Documentation

Getting a master manager.

This operation returns a master manager with specified id. If the manager with the specified id does not exist, nil object reference would be returned.

Returns:
A master manager

RTC::ReturnCode_t add_master_manager(RTM::Manager_ptr mgr);

Definition at line 666 of file ManagerServant.py.

Getting a slave manager.

This operation add a slave manager to this manager.

Parameters:
mgrA slave manager
Returns:
ReturnCode_t

RTC::ReturnCode_t add_slave_manager(RTM::Manager_ptr mgr);

Definition at line 765 of file ManagerServant.py.

Creating an RT-Component.

This operation creates RT-Component according to the string argument.

Returns:
A created RT-Component

RTObject_ptr create_component(const char* module_name)

Definition at line 295 of file ManagerServant.py.

喇根:true, 己窃:false.

Generate INSManager.

Returns:
Successful:true, Failed:false

bool createINSManager();

Definition at line 899 of file ManagerServant.py.

Deleting an RT-Component.

This operation delete an RT-Component according to the string argument.

Returns:
Return code

ReturnCode_t delete_component(const char* instance_name)

Definition at line 404 of file ManagerServant.py.

Find the reference of Manager.

Returns:
Manager reference

RTM::Manager_ptr findManager(const char* host_port);

Definition at line 924 of file ManagerServant.py.

The copy of the process is generated.

Returns:
ReturnCode_t

ReturnCode_t fork()

Definition at line 826 of file ManagerServant.py.

Getting RT-Component's profile list running on this manager.

This operation returns RT-Component's profile list running on this manager.

Returns:
A list of RT-Components' profiles

ComponentProfileList* get_component_profiles()

Definition at line 476 of file ManagerServant.py.

Getting RT-Component list running on this manager.

This operation returns RT-Component list running on this manager.

Returns:
A list of RT-Components

RTCList* get_components()

Definition at line 428 of file ManagerServant.py.

Getting this manager's configuration.

This operation returns this manager's configuration.

Returns:
Manager's configuration

NVList* get_configuration()

Definition at line 545 of file ManagerServant.py.

Getting component factory profiles.

This operation returns component factory profiles from loaded RT-Component module factory profiles.

Returns:
An RT-Component factory profile list.

ModuleProfileList* get_factory_profiles()

Definition at line 265 of file ManagerServant.py.

Getting loadable module profiles.

This operation returns loadable module profiles.

Returns:
A module profile list.

ModuleProfileList* get_loadable_modules()

Definition at line 203 of file ManagerServant.py.

Getting loaded module profiles.

This operation returns loaded module profiles.

Returns:
A module profile list.

ModuleProfileList* get_loaded_modules()

Definition at line 234 of file ManagerServant.py.

Getting master managers.

This operation returns master manager list if this manager is slave. If this manager is master, an empty sequence would be returned.

Returns:
Master manager list

RTM::ManagerList* get_master_managers();

Definition at line 635 of file ManagerServant.py.

Getting this manager's profile.

This operation returns this manager's profile.

Returns:
Manager's profile

ManagerProfile* get_profile()

Definition at line 519 of file ManagerServant.py.

Get the reference of RTC.

Returns:
RTC reference

Object_ptr get_service(const char* name)

Definition at line 871 of file ManagerServant.py.

Getting slave managers.

This operation returns slave manager list if this manager is slave. If this manager is slave, an empty sequence would be returned.

Returns:
Slave manager list

RTM::ManagerList* get_slave_managers();

Definition at line 739 of file ManagerServant.py.

Get the reference of Manager.

Returns:
Manager reference

Manager_ptr getObjRef() const

Definition at line 885 of file ManagerServant.py.

Whether this manager is master or not.

It returns "True" if this manager is a master, and it returns "False" in other cases.

Returns:
A boolean value that means it is master or not.

bool is_master();

Definition at line 601 of file ManagerServant.py.

def OpenRTM_aist.ManagerServant.ManagerServant.load_module (   self,
  pathname,
  initfunc 
)

Loading a module.

This operation loads a specified loadable module、and perform initialization with the specified function.

Parameters:
pathnameA path to a loading module.
initfuncModule initialization function.
Returns:
The return code.

ReturnCode_t load_module(const char* pathname, const char* initfunc)

Definition at line 153 of file ManagerServant.py.

Removing a master manager.

This operation removes a master manager from this manager.

Parameters:
mgrA master manager
Returns:
ReturnCode_t

RTC::ReturnCode_t remove_master_manager(RTM::Manager_ptr mgr);

Definition at line 701 of file ManagerServant.py.

Removing a slave manager.

This operation removes a slave manager from this manager.

Parameters:
mgrA slave manager
Returns:
ReturnCode_t

RTC::ReturnCode_t remove_slave_manager(RTM::Manager_ptr mgr);

Definition at line 801 of file ManagerServant.py.

This method restarts RTC.

Returns:
ReturnCode_t

ReturnCode_t restart()

Definition at line 856 of file ManagerServant.py.

Setting manager's configuration.

This operation sets managers configuration.

Parameters:
nameA configuration key name to be set
valueA configuration value to be set
Returns:
Return code

ReturnCode_t set_configuration(const char* name, const char* value)

Definition at line 574 of file ManagerServant.py.

This method shutdowns RTC.

Returns:
ReturnCode_t

ReturnCode_t shutdown()

Definition at line 841 of file ManagerServant.py.

Unloading a module.

This operation unloads a specified loadable module.

Parameters:
pathnameA path to a loading module.
Returns:
The return code.

ReturnCode_t unload_module(const char* pathname)

Definition at line 179 of file ManagerServant.py.


Member Data Documentation

Definition at line 45 of file ManagerServant.py.

Definition at line 45 of file ManagerServant.py.

Definition at line 45 of file ManagerServant.py.

Definition at line 45 of file ManagerServant.py.

Definition at line 45 of file ManagerServant.py.

Definition at line 45 of file ManagerServant.py.

Definition at line 45 of file ManagerServant.py.

Definition at line 45 of file ManagerServant.py.

Definition at line 45 of file ManagerServant.py.


The documentation for this class was generated from the following file:


openrtm_aist_python
Author(s): Shinji Kurihara
autogenerated on Thu Aug 27 2015 14:17:29