14 #ifndef DDCOND_CONDITIONSSELECTORS_H
15 #define DDCOND_CONDITIONSSELECTORS_H
24 namespace Conditions {
30 typedef std::pair<const Condition::key_type,Condition>
mapentry_t;
99 template <
typename collection_type>
121 template <
typename collection_type>
144 template <
typename collection_type>
KeyedSelect< collection_type > keyedSelect(Condition::key_type k, collection_type &keyed)
CollectionSelect(collection_type &p)
void operator()(const ptr_mapentry_t &o) const
ConditionsPoolInsert(ConditionsPool &p)
void operator()(const mapentry_t &o) const
void operator()(const ptr_mapentry_t &o) const
Helper to select keyed objects from a conditions pool.
collection_type & collection
CollectionSelect< collection_type > collectionSelect(collection_type &collection)
void operator()(const cond_t &o) const
virtual void insert(Condition cond)=0
Register a new condition to this pool.
void operator()(const mapentry_t &o) const
void operator()(const cond_t &o) const
Helper to select active objects from a conditions pool.
Helper to insert objects into a conditions pool.
void operator()(const cond_t &o) const
void operator()(const cond_t &o) const
The data class behind a conditions handle.
bool operator()(const object_t *o) const
Main condition object handle.
void operator()(const ptr_mapentry_t &o) const
void operator()(const mapentry_t &o) const
std::pair< const Condition::key_type, object_t * > ptr_mapentry_t
unsigned int key_type
Forward definition of the key type.
bool operator()(const mapentry_t &o) const
void operator()(object_t *o) const
T * ptr() const
Access to the held object.
Helper to select condition objects by hash key from a conditions pool.
std::pair< const Condition::key_type, Condition > mapentry_t
ActiveSelect< collection_type > activeSelect(collection_type &active)
HashConditionFind(cond_t::key_type h)
bool operator()(const cond_t &o) const
void operator()(object_t *o) const
collection_type & collection
void operator()(const mapentry_t &o) const
Class implementing the conditions collection for a given IOV type.
void operator()(object_t *o) const
bool operator()(const ptr_mapentry_t &o) const
void operator()(object_t *o) const
KeyedSelect(cond_t::key_type k, collection_type &p)
void operator()(const mapentry_t &o) const
void operator()(const cond_t &o) const
ActiveSelect(collection_type &p)
void operator()(const mapentry_t &o) const
Helper to insert objects into a conditions pool.
void operator()(object_t *o) const
Helper to select objects from a conditions pool.
void operator()(const cond_t &o) const
void operator()(object_t *o) const
void operator()(const ptr_mapentry_t &o)
void onRemove(Condition condition)
Listener invocation when a condition is deregistered from the cache.
ConditionsPoolRemove(ConditionsPool &p)
Condition::Object object_t
void operator()(const ptr_mapentry_t &o) const
PoolInsert< pool_type > poolInsert(pool_type &pool)
void operator()(const ptr_mapentry_t &o) const
key_type hash
Hash value of the name.
Helper to insert objects into a conditions pool.