20 #ifndef RTC_PORTADMIN_H 21 #define RTC_PORTADMIN_H 23 #include <rtm/idl/RTCSkel.h> 76 PortAdmin(CORBA::ORB_ptr orb, PortableServer::POA_ptr poa);
163 PortService_ptr
getPortRef(
const char* port_name)
const;
247 bool addPort(PortService_ptr port);
498 CORBA::ORB_var m_pORB;
507 PortableServer::POA_var m_pPOA;
516 PortServiceList m_portRefs;
538 explicit comp_op(
const char* _name)
542 explicit comp_op(T* obj)
543 : m_name(static_cast<const char*>(obj->getProfile().name))
546 bool operator()(T* obj)
548 std::string name(static_cast<const char*>(obj->getProfile().name));
549 return m_name == name;
562 class port_prof_collect
565 explicit port_prof_collect(PortProfileList& p) : m_p(p) {}
566 void operator()(
const PortBase* port)
571 PortProfileList& m_p;
581 class port_prof_collect2
584 explicit port_prof_collect2(PortProfileList& p) : m_p(p) {}
585 #ifdef ORB_IS_ORBEXPRESS 586 void operator()(
const PortService_var port)
588 void operator()(
const PortService_ptr port)
591 PortProfile* pp(port->get_port_profile());
596 PortProfileList& m_p;
599 struct find_port_name;
608 #endif // RTC_PORTADMIN_H RTC's Port base class
PortService_ptr getPortRef(const char *port_name) const
Port のオブジェクト参照の取得
void finalizePorts()
全ての Port をdeactivateし登録を削除する
RT component logger class
PortBase * getPort(const char *port_name) const
Port のサーバントのポインタの取得
PortServiceList * getPortServiceList() const
Port リストの取得
PortProfileList getPortProfileList() const
PorProfile リストの取得
void activatePorts()
全ての Port のインターフェースを activates する
PortAdmin クラス
Definition: PortAdmin.h:54
const PortProfile & getPortProfile() const
PortProfile を取得する。
Port の基底クラス
Definition: PortBase.h:129
オブジェクト管理用クラス
Definition: ObjectManager.h:51
void registerPort(PortBase &port)
Port を登録する
Logger クラス
Definition: SystemLogger.h:99
void deactivatePorts()
全ての Port のインターフェースを deactivates する
bool removePort(PortBase &port)
Port の登録を解除する
void deletePortByName(const char *port_name)
名称指定によりPort の登録を解除する
virtual ~PortAdmin()
デストラクタ
bool addPort(PortBase &port)
Port を登録する
void push_back(CorbaSequence &seq, SequenceElement elem)
CORBA sequence の最後に要素を追加する
Definition: CORBA_SeqUtil.h:175
void deletePort(PortBase &port)
Port の登録を解除する
PortAdmin(CORBA::ORB_ptr orb, PortableServer::POA_ptr poa)
コンストラクタ