8template <
class Receiver>
22:m_receiver(r),m_action(a)
33: m_receiver(r), m_action(a), m_name(
n){};
38 virtual std::string
name()
const {
48template <
class Receiver>
inline
51 if (m_receiver) (m_receiver->*m_action)();
virtual std::string name() const
SimpleEvent(Receiver *r, Action a, std::string n)
SimpleEvent(Receiver *r, Action a)
virtual std::string name() const