13 template <
typename TMessage>
17 typedef std::vector<Eegeo::Helpers::ICallback1<const TMessage&>* > TSubscribers;
18 TSubscribers m_subscribers;
23 m_subscribers.push_back(&subscription);
28 m_subscribers.erase(std::find(m_subscribers.begin(), m_subscribers.end(), &subscription));
31 void Dispatch(
const TMessage& message)
33 for (
typename TSubscribers::iterator it = m_subscribers.begin();
34 it != m_subscribers.end();