Implement Emitter<IEventType> and Receiver<IEventType> template classes accepting event functions interface IEventType to be used for connected calls between objects emitter.connect(receiver) in effective and elegant way emitter.Emit(&IEventType::Foo) - which in turns calls Receiver::Foo for all connected receivers. Events module should be covered with unit tests.
Implement
Emitter<IEventType>
andReceiver<IEventType>
template classes accepting event functions interfaceIEventType
to be used for connected calls between objectsemitter.connect(receiver)
in effective and elegant wayemitter.Emit(&IEventType::Foo)
- which in turns calls Receiver::Foo for all connected receivers. Events module should be covered with unit tests.