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

281 Commits

Author SHA1 Message Date
wqking
49580b5ba2 Added license header 2018-05-25 09:50:41 +08:00
wqking
4d725fd9ee Removed unused code 2018-05-25 08:41:06 +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
6f558c96e9 Merge branch 'development' 2018-05-20 13:37:11 +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
1b974a0d30 Merge branch 'development', fixed a bug that event queue uses wrong value of first argument when dispatching event. 2018-05-19 20:41:08 +08:00
wqking
3227456a73 Added test for customized event in event queue. 2018-05-19 20:30:38 +08:00
wqking
f622696e15 Merge branch 'development' 2018-05-19 20:06:46 +08:00
wqking
d470c91da9 Improved documents 2018-05-19 20:04:09 +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
9dc758f2f3 Changed first field in QueueItem with correct event type value. 2018-05-19 10:25:09 +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
5b25176b5c Added the difference between EventDispatcher and CallbackList in the document. 2018-05-17 09:10:00 +08:00
wqking
1bc35f90e6 Replaced all underscore prefixing names with postfix. _xxx -> xxx_ 2018-05-17 08:12:43 +08:00
wqking
3ec6677bf0 Added tutorial information in readme 2018-05-16 20:39:38 +08:00
wqking
8b6fc91d31 Fixed typos. 2018-05-16 20:34:10 +08:00
wqking
ffc89ad7ed Fixed wrong closed tag in markdown. 2018-05-16 20:19:52 +08:00
wqking
b9d3cab940 Fixed markdown syntax error. 2018-05-16 20:16:41 +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
2660a4936f Added table of contents to documents. 2018-05-14 20:00:29 +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
d066865e68 Fixed typos in document. 2018-05-13 19:21:19 +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