FinanceSim 0.1.0
Financial Simulation Library
Loading...
Searching...
No Matches
event_bus.hpp File Reference
#include <vector>
#include <functional>
#include <unordered_map>
#include <typeindex>
#include <memory>
#include "core/event.hpp"
Include dependency graph for event_bus.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  financesim::EventBus
 
struct  financesim::EventBus::Subscription
 

Namespaces

namespace  financesim
 

Typedefs

using financesim::EventCallback = std::function< void(const EventPtr &)>
 Callback type for event subscribers.
 
using financesim::SubscriptionId = std::size_t
 Subscription handle for unsubscribing.