23 #ifndef EVENTCALLBACK_H
24 #define EVENTCALLBACK_H
31 namespace libsidplayfp
34 template<
class This >
38 using Callback = void (This::*)();
42 Callback
const m_callback;
45 void event()
override { (m_this.*m_callback)(); }
55 template<
class This,
void(This::*Callback)() >
62 void event()
override { (m_this.*Callback)(); }
Definition: EventCallback.h:36
const char * name() const
Definition: Event.h:72
Event(const char *const name)
Definition: Event.h:58
Definition: EventCallback.h:57