
15 Oct
2011
15 Oct
'11
3:50 p.m.
<...>
struct Event {}; struct ID {}; struct OneSecondElapsedEvent : public Event { static ID id; }; struct UpdatePresentationTracksReqEvent : public Event { UpdatePresentationTracksReqEvent() {}; static ID id; }; typedef boost::signals2::signal
signal_t; typedef signal_t::slot_type slot_t; <...> In the constructor I tried to "connect" the function "Handle(OneSecondElapsedEvent*)" to the slot but I cannot to this..the compiler write errors sayng that cannot connvert from "Event*" to "OneSecondElapsedEvent*". Is there any solution to make it working?
So, long story short, you try to connect a slot with signature