1
0
mirror of https://github.com/wqking/eventpp.git synced 2024-12-26 15:52:40 +08:00

92 Commits

Author SHA1 Message Date
wqking
60761df5e3 Fix compile error when using Heter classes with CounterRemover, #68 2023-12-17 14:19:34 +08:00
wqking
45a410135e Added tip on how to add getter/setter prefix automatically in event maker document and unit tests 2023-11-17 08:58:49 +08:00
wqking
6c3fe7899b Removed the need of Callback policy in AnyData from tutorial and document 2023-05-05 08:59:28 +08:00
wqking
7afab328dd AnyData stores large data on heap instead of compiling error 2023-05-05 08:28:00 +08:00
wqking
b25e2703a5 Make AnyData not copy-constructible 2023-05-04 10:47:57 +08:00
wqking
ca34f0ef37 Refactored: removed unnecessary copy constructor in AnyData 2023-05-04 09:10:24 +08:00
wqking
aea43b534c Added utility class AnyData 2023-04-30 08:23:54 +08:00
wqking
6f6ba44479 Added universal reference to args parameter in EventQueue::enqueue, see issue #56. Updated contributor list. 2023-02-17 08:53:14 +08:00
wqking
a243dc0dcb Added function ownsHandle in CallbackList and EventDispatcher 2022-06-13 13:08:19 +08:00
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