19 #ifndef RTC_NAMINGMANAGER_H 20 #define RTC_NAMINGMANAGER_H 24 #include <coil/Task.h> 25 #include <coil/Mutex.h> 26 #include <coil/Guard.h> 327 std::map<std::string, RTObject_impl*>
m_names;
415 void registerNameServer(
const char* method,
const char* name_server);
541 std::vector<RTObject_impl*> getObjects();
569 NamingBase* createNamingObj(
const char* method,
const char* name_server);
613 void registerCompName(
const char* name,
const RTObject_impl* rtobj);
658 void unregisterCompName(
const char* name);
680 void unregisterMgrName(
const char* name);
702 void retryConnection(
Names*
ns);
717 : method(meth), nsname(name),
ns(naming)
758 : name(n), rtobj(obj)
831 #endif // RTC_NAMINGMANAGER_H virtual ~NamingOnCorba(void)
Destructor.
const RTM::ManagerServant * mgr
Comps(const char *n, const RTObject_impl *obj)
std::vector< Mgr * > m_mgrNames
ManagerServant list.
std::vector< Comps * > m_compNames
Component list.
RT component logger class.
Manager * m_manager
Manager object.
Mgr(const char *n, const RTM::ManagerServant *obj)
Mutex m_mgrNamesMutex
Mutex of ManagerServant list.
virtual void bindObject(const char *name, const RTObject_impl *rtobj)=0
Pure virtual function to bind the specified objects to the NamingService.
Mutex m_compNamesMutex
Mutex of Component list.
virtual bool isAlive()=0
Check if the name service is alive.
Structure for ManagerServant management.
Names(const char *meth, const char *name, NamingBase *naming)
NamingService management abstract class.
Mutex m_namesMutex
Mutex of NameServer list.
CORBA naming service helper class.
RTComponent manager servant implementation class.
Structure for NameServer management.
const RTObject_impl * rtobj
Structure for component management.
virtual ~NamingBase(void)
Destructor.
Logger rtclog
Logger stream.
coil::Guard< Mutex > Guard
std::map< std::string, RTObject_impl * > m_names
NamingServer management class for CORBA.
std::vector< Names * > m_names
NameServer list.
coil::Guard< Mutex > Guard
virtual void unbindObject(const char *name)=0
Pure virtual function to unbind the specified objects from NamingService.