20 #ifndef RTC_PORTADMIN_H 21 #define RTC_PORTADMIN_H 23 #include <rtm/idl/RTCSkel.h> 74 PortAdmin(CORBA::ORB_ptr orb, PortableServer::POA_ptr poa);
161 PortService_ptr
getPortRef(
const char* port_name)
const;
245 bool addPort(PortService_ptr port);
496 CORBA::ORB_var m_pORB;
505 PortableServer::POA_var m_pPOA;
514 PortServiceList m_portRefs;
536 comp_op(
const char* _name)
541 : m_name((
const char*)(obj->getProfile().name))
544 bool operator()(T* obj)
546 std::string name((
const char*)obj->getProfile().name);
547 return m_name == name;
560 class port_prof_collect
563 port_prof_collect(PortProfileList& p) : m_p(p) {}
564 void operator()(
const PortBase* port)
569 PortProfileList& m_p;
579 class port_prof_collect2
582 port_prof_collect2(PortProfileList& p) : m_p(p) {}
583 void operator()(
const PortService_ptr port)
585 PortProfile* pp(port->get_port_profile());
590 PortProfileList& m_p;
593 struct find_port_name;
602 #endif // RTC_PORTADMIN_H RTC's Port base class.
void finalizePorts()
全ての Port をdeactivateし登録を削除する
RT component logger class.
PortBase * getPort(const char *port_name) const
Port のサーバントのポインタの取得
PortService_ptr getPortRef(const char *port_name) const
Port のオブジェクト参照の取得
void activatePorts()
全ての Port のインターフェースを activates する
PortAdmin クラス
Definition: PortAdmin.h:52
virtual ~PortAdmin(void)
デストラクタ
Definition: PortAdmin.h:89
Port の基底クラス
Definition: PortBase.h:135
オブジェクト管理用クラス
Definition: ObjectManager.h:51
void registerPort(PortBase &port)
Port を登録する
PortProfileList getPortProfileList() const
PorProfile リストの取得
Logger クラス
Definition: SystemLogger.h:99
PortServiceList * getPortServiceList() const
Port リストの取得
void deactivatePorts()
全ての Port のインターフェースを deactivates する
bool removePort(PortBase &port)
Port の登録を解除する
void deletePortByName(const char *port_name)
名称指定によりPort の登録を解除する
bool addPort(PortBase &port)
Port を登録する
void push_back(CorbaSequence &seq, SequenceElement elem)
CORBA sequence の最後に要素を追加する
Definition: CORBA_SeqUtil.h:175
void deletePort(PortBase &port)
Port の登録を解除する
const PortProfile & getPortProfile() const
PortProfile を取得する。
PortAdmin(CORBA::ORB_ptr orb, PortableServer::POA_ptr poa)
コンストラクタ