21#ifndef YASE_EVENTMANAGER_H
22#define YASE_EVENTMANAGER_H
50 EventManager &listen(
int event_type,
int port, function<
void(
const Event &)> handler);
54 map<int,vector<function<void(
const Event&)>>> listeners;
Contains MIDI event information.
Definition event.hh:32
A class that keeps track of event listeners.
Definition event_manager.hh:42
void respond_to(const Event &event)
Definition event_manager.cc:69
void process_events(vector< Module * > &modules)
Definition event_manager.cc:53
EventManager()
Make a new event manager.
Definition event_manager.cc:26
Definition additive_saw.cc:24