1
0
mirror of https://github.com/wqking/eventpp.git synced 2024-12-27 16:41:11 +08:00

83 Commits

Author SHA1 Message Date
wqking
c9f1464dff Added unit tests for ScopedRemover::setDispatcher 2022-04-30 07:53:25 +08:00
devbharat$
3db30ce5e8 Test setCallbackList 2022-04-29 14:50:39 +02:00
wqking
ad6b796b73 Removed unused #include from test files 2022-03-30 21:12:38 +08:00
wqking
05f3dc8249 Removed redundant std::forward that may cause objects moved unexpectedly 2022-02-01 09:21:45 +08:00
wqking
bf39d6593d Merge branch 'master' into development 2022-01-03 10:17:15 +08:00
wqking
9ba1bfb1f1 Added function processUntil in EventQueue 2022-01-03 10:13:14 +08:00
wqking
5eaf23ea40 Refactored remove functions in ScopedRemover. Added unit tests. 2021-11-15 20:14:49 +08:00
Wang Qi
b565e03998
Merge pull request #33 from Martinii89/feature/scoped_remover_manual_remove
Added function for removing from scoped remover before destruction
2021-11-14 15:50:07 +08:00
Martin N
ed5d82504e Added function for removing from scoped remover before destruction 2021-11-13 22:49:15 +01:00
wqking
b502522182 Add move constructor and move assignment operator to ScopedRemover 2021-11-13 09:15:53 +08:00
wqking
32197674a4 Expose function front() in OrderedQueueList to avoid compile error 2021-11-01 16:22:19 +08:00
wqking
7fe8fa8e08 Fixed compile error that eventpp::SingleThreading::Atomic::exchange was not defined 2021-10-30 18:46:07 +08:00
wqking
115dae57db Predictor in EventQueue::processIf can have no parameters. 2021-10-28 20:46:41 +08:00
wqking
b4a308b95e Added function hasAnyListener in EventDispatcher and HeterEventDispatcher 2021-07-21 13:43:59 +08:00
wqking
03bc300728 Updated documents 2021-02-01 09:24:15 +08:00
wqking
408c9694fd Added storage comparison in AnyId 2021-01-31 16:54:25 +08:00
wqking
745126f835 Replaced AnyHashable with AnyId 2021-01-30 19:17:49 +08:00
wqking
5de1447e83 Added AnyHashable and AnyHashableValue 2021-01-29 21:32:57 +08:00
wqking
5d72f6cfef Fixed a potential compile issue in EventQueue::enqueue that happens when the EventType has a template type conversion constructor 2021-01-29 15:53:21 +08:00
wqking
b71c8c968d Add conditionalFunctor, update documents 2021-01-26 16:30:48 +08:00
wqking
a29bad99ff Comment out __debugbreak related test code 2021-01-20 21:06:05 +08:00
wqking
bd99487ea0 Add shared pointer support, document, and tutorial for ArgumentAdapter 2021-01-20 20:59:29 +08:00
wqking
584f072895 Add ArgumentAdapter 2021-01-19 15:15:27 +08:00
wqking
c618130069 Add unit tests 2020-12-27 21:05:21 +08:00
wqking
6b8278e205 Add getter functions in EventQueue::QueuedEvent 2020-12-21 10:56:25 +08:00
wqking
35054233ed Add unit tests 2020-12-11 09:45:23 +08:00
wqking
5b192cb89c Separated unit tests and tutorials. 2020-12-04 19:45:43 +08:00
wqking
5616403b02 Fixed compile error. Added comments in tutorial code. 2020-11-26 20:52:03 +08:00
wqking
009685db6e Added policy QueueList and OrderedQueueList 2020-11-26 20:41:00 +08:00
Olivier LDff
554f42a80f Ci working for ubuntu-latest & windows-latest. macOs-latest in not working for now. 2020-07-09 13:41:17 +02:00
wqking
95911814bd Added parameterized conditional callback in ConditionalRemover. Added unit tests. 2020-07-07 18:56:57 +08:00
wqking
864f048aee Fixed an unnoticed potential segfault bug 2020-07-02 12:54:50 +08:00
wqking
0859c1c8ad Refactored code and improved unit test that avoid memory leak in CallbackList move assignment 2020-07-01 22:19:15 +08:00
Wang Qi
cd68c9c8ed
Merge pull request #14 from OlivierLDff/unittest-fix
Fix unit test compilation for msvc.
2020-07-01 22:01:33 +08:00
Olivier LDff
a9afc2790c Fix unit test compilation for msvc. itemCount wasn't captured. 2020-07-01 14:16:29 +02:00
Olivier LDff
12e54ace59 Fix move assignment operator for callback list and unit test 2020-07-01 14:04:06 +02:00
wqking
b18d25dea7 Added unit tests 2020-05-25 21:59:20 +08:00
wqking
6848764ca3 Added unit tests 2020-04-19 21:18:27 +08:00
wqking
482215b73a Added unit tests 2020-04-18 21:23:59 +08:00
wqking
53114e93c0 Added unit tests 2020-04-17 21:25:01 +08:00
wqking
144af5d681 Added code coverage 2020-04-15 21:01:31 +08:00
wqking
03f4a8304e Fixed compile error in assignment operators 2020-02-25 15:06:13 +08:00
wqking
09da387ffc Fixed unintended wrong algorithm in unit test 2020-02-09 11:23:12 +08:00
wqking
708b1b4959 Added document for eventmaker.h 2020-01-23 21:42:16 +08:00
wqking
cf2b424abb Added event maker macros 2020-01-22 16:55:25 +08:00
wqking
79d89ad06e Utilities support heter-classes 2019-05-30 23:01:51 +08:00
wqking
48b7725412 Fixed warnings 2019-05-30 22:11:20 +08:00
wqking
15f6da1eeb Merge remote-tracking branch 'origin/master' into heterogeneous 2019-05-30 21:59:40 +08:00
wqking
6ad5c1f558 Fixed warnings under /W4 in MSVC and -Wall -Wextra in GCC. Raised warning level in unittests to highest. 2019-05-28 18:54:04 +08:00
wqking
d4d298b191 Added unit tests 2019-03-31 21:58:02 +08:00