Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 2a113fce51
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (16 sloc) 0.443 kB
#ifndef EVENTBUS_H
#define EVENTBUS_H
#include <vector>
#include "Events/Event.h"
namespace analyzer {
class Analyzer;
}
class EventBus {
public:
static void registerEvent(int event_id, analyzer::Analyzer* const analyzer);
static void unregisterEvent(int event_id, analyzer::Analyzer* const analyzer);
static void broadcast(event::Event* const event);
private:
static std::vector<std::vector<analyzer::Analyzer*> > _events;
};
#endif
Jump to Line
Something went wrong with that request. Please try again.