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

132 Commits

Author SHA1 Message Date
wqking
63f67a70a8 Added project for benchmark. 2018-08-05 12:46:36 +08:00
wqking
e9d0a124e3 Added SpinLock as alternative mutex type, added corresponding benchmarks. 2018-07-28 23:25:17 +08:00
wqking
abd1ec7830 Added benchmark for CallbackList append/remove callbacks 2018-07-25 23:02:45 +08:00
wqking
5e7829cb14 Added benchmark for EventQueue 2018-07-25 22:01:12 +08:00
wqking
ca891ac291 Added function processIf to EventQueue 2018-07-24 22:11:01 +08:00
wqking
c282b562cc Added function clearEvents to EventQueue 2018-07-23 18:49:26 +08:00
wqking
2c734c8704 Added function processOne to EventQueue 2018-07-10 22:05:00 +08:00
wqking
46285cb8dc Made the major classes copyable/movable/assignable. Add utilities. 2018-07-09 22:15:37 +08:00
wqking
361046a77b Added benchmark 2018-05-31 12:48:40 +08:00
wqking
53c46c67ba Added policy canContinueInvoking to support event canceling 2018-05-28 20:21:51 +08:00
wqking
3d2d0672fe Added version number and status in readme 2018-05-28 17:25:53 +08:00
wqking
10b7f4bf8a Renamed interceptor to mixin 2018-05-28 15:42:57 +08:00
wqking
b01b11db18 Added interceptor, replaced event filter with interceptor 2018-05-27 16:38:15 +08:00
wqking
457c24665d Added license header 2018-05-26 09:10:18 +08:00
wqking
bcb047312b Updated document 2018-05-26 09:01:18 +08:00
wqking
925b09a413 Added EventPolicies, moved the extra template paramters of EventDispatcher/EventQueue/CallbackList to EventPolicies. 2018-05-25 08:33:11 +08:00
wqking
c6a4fe21b3 Added test file for benchmark. 2018-05-20 19:11:45 +08:00
wqking
eac5092609 Support non-copyable event argument in EventQueue. 2018-05-20 13:35:27 +08:00
wqking
7b7d65d5b9 Added function peekEvent, takeEvent, and overloaded dispatch to event queue. 2018-05-20 12:49:25 +08:00
wqking
3227456a73 Added test for customized event in event queue. 2018-05-19 20:30:38 +08:00
wqking
581c3efa00 Added documents. 2018-05-19 17:42:41 +08:00
wqking
57f5cd8d0f Added new test in test_queue. 2018-05-19 14:24:34 +08:00
wqking
ec026050ec Added tutorial_eventqueue.cpp to unit tests. 2018-05-19 12:43:51 +08:00
wqking
6ce1200ae1 Separate EventQueue and EventDispatcher for better interface. 2018-05-19 11:16:12 +08:00
wqking
89b378f114 Added function wait and waitFor in EventDispatcher to allow a thread be blocked when there is no events in the queue. 2018-05-19 09:52:10 +08:00
wqking
2d616daf76 Added a unit test to test SingleThreading policy. 2018-05-17 20:39:01 +08:00
wqking
8b6fc91d31 Fixed typos. 2018-05-16 20:34:10 +08:00
wqking
0e62e9d72f Added event filter. Added more unit tests and tutorials. 2018-05-16 20:09:48 +08:00
wqking
8e7e8662d6 Improved tutorial in documents. 2018-05-14 20:42:54 +08:00
wqking
9320285f4d Now newly added callbacks during dispatching don't get triggered.
Now removed callbacks during dispatching don't get triggered.
2018-05-14 19:16:36 +08:00
wqking
ef897fddf0 Added MSVC 2017 make target. 2018-05-13 16:56:24 +08:00
wqking
f1956140d4 Initial commit 2018-05-13 12:26:27 +08:00