wqking
|
174bf76666
|
Merge branch 'development'
|
2018-06-23 20:50:37 +08:00 |
|
wqking
|
3606f49c83
|
Fixed a bug that EventQueue hides name 'dispatch' from event dispatcher.
|
2018-06-23 20:46:11 +08:00 |
|
wqking
|
f9048fec57
|
Merge branch 'development'
|
2018-06-23 13:58:28 +08:00 |
|
wqking
|
1c8ef08c85
|
Reduced unnecessary Atomic operations. Fixed typos in the documents.
|
2018-06-23 13:56:52 +08:00 |
|
wqking
|
5fb302b9de
|
Merge branch 'master' into development
|
2018-05-31 13:20:13 +08:00 |
|
wqking
|
7e5b765995
|
Fixed document
|
2018-05-31 13:19:35 +08:00 |
|
wqking
|
fe76b5503b
|
Merge branch 'development'
|
2018-05-31 12:49:51 +08:00 |
|
wqking
|
361046a77b
|
Added benchmark
|
2018-05-31 12:48:40 +08:00 |
|
wqking
|
ffc24f4e2f
|
Merge branch 'development'
|
2018-05-28 20:22:53 +08:00 |
|
wqking
|
53c46c67ba
|
Added policy canContinueInvoking to support event canceling
|
2018-05-28 20:21:51 +08:00 |
|
wqking
|
b3f8c5a059
|
Merge branch 'development'
|
2018-05-28 17:29:10 +08:00 |
|
wqking
|
3d2d0672fe
|
Added version number and status in readme
|
2018-05-28 17:25:53 +08:00 |
|
wqking
|
30d041697f
|
Added documents for mixins
|
2018-05-28 17:18:49 +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
|
db836340cf
|
Merge branch 'development'
|
2018-05-26 09:11:20 +08:00 |
|
wqking
|
457c24665d
|
Added license header
|
2018-05-26 09:10:18 +08:00 |
|
wqking
|
369fe1960e
|
Added link to policies in readme.
|
2018-05-26 09:07:01 +08:00 |
|
wqking
|
bcb047312b
|
Updated document
|
2018-05-26 09:01:18 +08:00 |
|
wqking
|
876f4ea9fb
|
Use std::unordered_map instead of std::map for hashable event key
|
2018-05-25 16:00:48 +08:00 |
|
wqking
|
270fa69cc9
|
Removed unnecessary variadic template paramters from internal classes.
|
2018-05-25 12:56:24 +08:00 |
|
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 |
|