A C++ event library supporting callbacks, an event dispatcher, and an event queue is called eventpp. With eventpp, you can quickly construct publisher-subscriber patterns, observer patterns, and signal and slot mechanisms.
1.Powerful supports both an asynchronous event queue and synchronous event dispatching.
2. Mixins and policies allow for customization and expansion.
3. We can also supports event filter through mixins.
4.Robust enables nested events.
5. A listener can append, prepend, insert, or remove other listeners while handling an event in a safe manner. 6.Thread security allows for many threads. exceptional security Strong exception safety is generally guaranteed in operations good testing and unit tests supporting.
USE EVENTPP IN YOUR PROJECT
There are various methods to use eventpp library
1.Use the source code in your project directly.
A header-only library is eventpp. Simply clone the source code, then include the eventpp folder in your project's include directory to utilise the library. No source code references are required.
2. Use vcpkg
Vcpkg install eventpp
We can install the eventpp library through vcpkg.