11#define Commissioner_h 1
30template <
class Commissionee,
class Criteria>
44 : itsSelector(aSelector), itsCriteria(aCriteria)
56 bool select (Commissionee* aCommissionee)
59 return (itsCriteria == itsSelector.
execute(aCommissionee));
69 return (aCriteria == itsSelector.
execute(aCommissionee));
_Ty execute(Actor *anActor)
bool select(Commissionee *aCommissionee)
bool select(Commissionee *aCommissionee, Criteria aCriteria) const
Commissioner(Action< Commissionee, Criteria > aSelector, Criteria aCriteria)