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.
KEY FEATURES
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.
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.
Name | Views | Likes |
---|---|---|
Cstring-strcspn() | 140 | 0 |
Cstring.h-strcmp() | 219 | 0 |
Cstring.h-strcpy() | 154 | 0 |
Cstring.h-strlen() | 183 | 0 |
Cstring.h-strpbrk() | 124 | 0 |
Cstring.h-strrchr() | 108 | 0 |
Ctype.h – toupper() | 116 | 0 |
Ctype.h- tolower() | 124 | 0 |
Ctype.h – isxdigit() | 145 | 0 |
Ctype.h – isupper() | 115 | 0 |
Ctype.h- isspace() | 126 | 0 |
Ctype.h- ispunct() | 125 | 0 |
Ctype.h- isprint() | 104 | 0 |
Ctype.h- islower() | 132 | 0 |
Ctype.h- isdigit() | 131 | 0 |
Ctype.h- iscntrl() | 111 | 0 |
Ctype.h – isblank() | 122 | 0 |
Ctype.h – isalpha() | 129 | 0 |
Ctype.h- isalnum() | 123 | 0 |
INTRODUCTION OF ctype.h LIBRARY | 106 | 0 |
EVENT LISTENER | 130 | 0 |
Using Mixins with Eventdispacher | 104 | 0 |
INTRODUCTION TO MIXINS | 138 | 0 |
Call Back function | 150 | 0 |
Eventpp Library | 290 | 0 |
Comments