FairMQ: Rewrite the state machine

* Simplify the code
* Drop Boost.MSM dependency
* Drop threaded execution
* Support deferred state changes
* Monitor state changes/queues via callbacks
This commit is contained in:
Dennis Klein
2017-09-22 20:46:53 +02:00
committed by Mohammad Al-Turany
parent 179968db1e
commit 2589ca5ced
7 changed files with 491 additions and 1 deletions

View File

@@ -95,7 +95,7 @@ class EventManager
}
template<typename E, typename ...Args>
auto Emit(typename E::KeyType& key, Args&&... args) const -> void
auto Emit(typename E::KeyType& key, Args... args) const -> void
{
const std::type_index event_type_index{typeid(E)};
const std::type_index callback_type_index{typeid(Callback<E, Args...>)};