20 #ifndef RTM_MANAGERSERVANT_H 21 #define RTM_MANAGERSERVANT_H 24 #include <coil/Mutex.h> 25 #include <coil/Guard.h> 26 #include <rtm/idl/ManagerSkel.h> 64 :
public virtual POA_RTM::Manager,
65 public virtual PortableServer::RefCountServantBase
576 RTM::Manager_ptr
findManager(
const char* host_port);
664 : m_mgr(
RTM::Manager::_duplicate(mgr)) {}
667 return m_mgr->_is_equivalent(mgr);
673 #endif // RTM_MANAGERSERVANT_H Functor to inspect if Manster_var is equivalent.
RTM::ManagerList * get_slave_managers()
Getting slave managers.
bool createINSManager()
Generate INSManager.
RT component logger class.
std::vector< std::pair< std::string, std::string > > NVList
CORBA::Object_ptr get_service(const char *name)
Get the reference of RTC.
RTC::ReturnCode_t shutdown()
This method shutdowns RTC.
RTM::NVList * get_configuration()
Getting this manager's configuration.
::RTM::ManagerList m_slaves
List of slave managers.
RTC::RTObject_ptr create_component(const char *module_name)
Creating an RT-Component.
bool operator()(RTM::Manager_ptr mgr)
RTM::ManagerList * get_master_managers()
Getting master managers.
RTComponent manager class.
RTM::Manager_ptr findManager(const char *host_port)
Find the reference of Manager.
virtual ~ManagerServant(void)
Virtual destructor.
RTC::ReturnCode_t remove_slave_manager(RTM::Manager_ptr mgr)
Removing a slave manager.
RTC::ReturnCode_t set_configuration(const char *name, const char *value)
Setting manager's configuration.
::coil::Mutex m_masterMutex
Mutex of m_masters.
RTC::ReturnCode_t delete_component(const char *instance_name)
Deleting an RT-Component.
::RTC::Manager & m_mgr
Reference to the RTC::Manager.
RTC::ReturnCode_t load_module(const char *pathname, const char *initfunc)
Loading a module.
RTC::ReturnCode_t remove_master_manager(RTM::Manager_ptr mgr)
Removing a master manager.
::RTM::ManagerList m_masters
List of master managers.
RTC::ReturnCode_t restart()
This method restarts RTC.
RTM::ModuleProfileList * get_loaded_modules()
Getting loaded module profiles.
RTC::ReturnCode_t unload_module(const char *pathname)
Unloading a module.
RTC::ReturnCode_t add_master_manager(RTM::Manager_ptr mgr)
Getting a master manager.
is_equiv(RTM::Manager_ptr mgr)
::RTC::Logger rtclog
Logger object.
RTM::ManagerProfile * get_profile()
Getting this manager's profile.
::CORBA::Boolean is_master()
Whether this manager is master or not.
RTM::Manager_ptr getObjRef() const
Get the reference of Manager.
RTM::ModuleProfileList * get_factory_profiles()
Getting component factory profiles.
CORBA::Boolean m_isMaster
Flag if this is master.
RTC::RTCList * get_components()
Getting RT-Component list running on this manager.
std::vector< IRTObject * > RTCList
::RTM::Manager_var m_objref
An object reference of ManagerServant.
RTC::ComponentProfileList * get_component_profiles()
Getting RT-Component's profile list running on this manager.
ManagerServant()
Constructor.
coil::Guard< coil::Mutex > Guard
::coil::Mutex m_slaveMutex
Mutex of m_slaves.
RTM::ModuleProfileList * get_loadable_modules()
Getting loadable module profiles.
RTC::ReturnCode_t add_slave_manager(RTM::Manager_ptr mgr)
Getting a slave manager.
RTC::ReturnCode_t fork()
The copy of the process is generated.