19 Commits

Author SHA1 Message Date
Dawid Drozd
f9195316d3 Update for better managing Debug/Release
Updated project for easy switch between debug/release versions of library

Thanks to that we can do only find_package and don't have to care about if's switching between
debug/release

Thanks: https://github.com/forexample/package-example
2018-07-26 12:44:17 +02:00
Dawid Drozd
b5dc5c0558 Fix include path 2018-07-24 15:00:15 +02:00
Dawid Drozd
9939fd0980 Update install lib 2018-07-24 14:51:02 +02:00
Dawid Drozd
7a5b3323af Update README 2018-07-24 14:16:12 +02:00
Dawid Drozd
7ae52d926d Update README 2018-07-02 13:26:13 +02:00
Dawid Drozd
155c93ccd1 Update README with sample usage 2017-09-20 20:42:01 +02:00
Dawid Drozd
509bb577be Update README 2017-09-10 14:32:21 +02:00
Dawid Drozd
fc1dbe335f Update EventBus to 2.1.0 inspired by Boost::MSM
I was wondering if it is a good step for EventBus. Of course, it will break back
compatibility again as well as it was when changing v1 -> v2, but this change is
smaller. Those changes were inspired by Boost::MSM how it handles events.

Why i decided to change:

+ It will prevent from bugs like typo in Event string eg. Event<int>{"text"}
+ If we want to change signature of Event, we won't have to update all listeners
and their signature
+ Less includes for listener. Simply in our class header we will have eg.
pointer/ref to event type not to all args
+ Strongly typed (this is always better)
+ Storing event for future reuse
+ More easy to introduce thread safe EventBus in future
+ EventBus is more simple
+ const Event forbids some kind of communication. Eg. passing and modifying
reference
+ Less errors when using std::bind

- Breaking back compatibility
- Need fixes in projects that using this lib
- Someone can add methods etc. to Event :(
- We can't generate easily multiple "types" of events like in 'for' loop
- Worst performance (still not such bad as CCNotificationCenter)
2017-08-26 13:28:45 +02:00
Dawid Drozd
c4b9fcd3de Update README.md 2017-08-20 21:03:19 +02:00
Dawid Drozd
d7f9727a55 Update README 2017-08-15 21:53:35 +02:00
Dawid Drozd
cdae9b54c3 Update README 2017-08-15 21:50:49 +02:00
Dawid Drozd
2324408844 Add Travis CI 2017-08-15 20:35:56 +02:00
Dawid Drozd
8f28876fd0 Add chat with gitter 2017-08-13 14:37:19 +02:00
Dawid Drozd
dc12c1c532 Update README 2017-08-06 18:16:41 +02:00
Dawid Drozd
a46362bc6b Update README 2017-08-06 16:32:09 +02:00
Dawid Drozd
94973b5779 EventBus 2.0.0 2017-08-06 11:22:59 +02:00
Dawid Drozd
f23259a850 Update links to profiles in README 2017-08-05 02:36:12 +02:00
Dawid Drozd
0514ffd2db Improve library as standalone 2017-08-05 02:31:42 +02:00
Dawid Drozd
b0d3ea9ad0 Initial commit 2015-10-07 18:11:14 +02:00