19 #ifndef RTC_OBJECTMANAGER_H 20 #define RTC_OBJECTMANAGER_H 50 template <
typename Identifier,
typename Object,
typename Predicate>
202 Object*
find(
const Identifier&
id)
const 204 ObjectVectorConstItr it;
247 template <
class Pred>
261 template <
class Pred>
290 #endif // RTC_OBJECTMANAGER_H Mutex クラス
Definition: Mutex.h:40
Object * find(const Identifier &id) const
オブジェクトを検索する
Definition: ObjectManager.h:202
ObjectManager()
コンストラクタ
Definition: ObjectManager.h:74
ObjectVector _obj
Definition: ObjectManager.h:279
coil::Mutex Mutex
Definition: ObjectManager.h:57
Objects m_objects
登録済みオブジェクト・リスト
Definition: ObjectManager.h:288
オブジェクト管理用クラス
Definition: ObjectManager.h:51
bool registerObject(Object *obj)
指定したオブジェクトを登録する
Definition: ObjectManager.h:118
std::vector< Object * > ObjectVector
Definition: ObjectManager.h:54
Object * unregisterObject(const Identifier &id)
指定したオブジェクトを登録解除する
Definition: ObjectManager.h:158
~ObjectManager(void)
デストラクタ
Definition: ObjectManager.h:91
Mutex _mutex
Definition: ObjectManager.h:278
Pred for_each(Pred p)
オブジェクト検索用ファンクタ
Definition: ObjectManager.h:248
coil::Guard< coil::Mutex > Guard
Definition: ObjectManager.h:58
オブジェクト管理用構造体
Definition: ObjectManager.h:276
ObjectVector::const_iterator ObjectVectorConstItr
Definition: ObjectManager.h:56
std::vector< Object * > getObjects() const
登録されているオブジェクトのリストを取得する
Definition: ObjectManager.h:234
Pred for_each(Pred p) const
オブジェクト検索用ファンクタ
Definition: ObjectManager.h:262
ObjectVector::iterator ObjectVectorItr
Definition: ObjectManager.h:55
Functor for_each(CorbaSequence &seq, Functor f)
CORBA sequence に対して functor を適用する
Definition: CORBA_SeqUtil.h:98