1
0
mirror of https://github.com/wqking/eventpp.git synced 2024-12-25 23:30:49 +08:00

143 Commits

Author SHA1 Message Date
wqking
6fb4615769 Added sample code and document for Tip - use C++ data type as event identifier 2024-10-21 16:00:35 +08:00
wqking
52703c2832 Fixed a CMake warning 2024-10-21 15:58:51 +08:00
wqking
7a186e3deb Updated benchmark with newer compilers and hardware 2023-12-30 16:53:59 +08:00
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
9231cbb93b Update AnyData tutorial and document 2023-05-16 10:56:35 +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
e6518f9c56 Added more tutorials for EventQueue. Updated documents. 2022-07-31 19:43:44 +08:00
wqking
a243dc0dcb Added function ownsHandle in CallbackList and EventDispatcher 2022-06-13 13:08:19 +08:00
wqking
4bb20b5557 Fixed typos in documents 2022-05-31 17:27:15 +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
de833acfb4 Updated CATCH2 to v2.13.9 2022-04-29 08:04:02 +08:00
wqking
ad6b796b73 Removed unused #include from test files 2022-03-30 21:12:38 +08:00
wqking
73a0f0a275 Added instruction for using vcpkg 2022-03-15 09:33:22 +08:00
wqking
0be1fb815b Added cmake-pkg-demo to demonstrate using eventpp as CMake package 2022-03-11 17:17:07 +08:00
wqking
05f3dc8249 Removed redundant std::forward that may cause objects moved unexpectedly 2022-02-01 09:21:45 +08:00
wqking
3e7df6ec2c Added Visual Studio 2022 generator in CMake for tests 2022-01-26 15:51:46 +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
00def93a71 Improved argumentAdapter document to avoid misleading 2021-11-11 13:50:01 +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
6abae8057b Merge branch 'development' 2021-02-10 21:55:01 +08:00
wqking
03bc300728 Updated documents 2021-02-01 09:24:15 +08:00
wqking
a3f5068945 Fixed typos 2021-01-31 19:33:20 +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
10c1c4d4c0 Add pthread dependency to tutorials 2020-12-04 19:53:59 +08:00
wqking
5b192cb89c Separated unit tests and tutorials. 2020-12-04 19:45:43 +08:00