Give new Processor to EventDispatcher.

This commit is contained in:
Jared Boone
2016-06-25 11:14:28 -07:00
parent 525e72ac86
commit 1a5f3a4422
3 changed files with 25 additions and 11 deletions

View File

@@ -36,6 +36,8 @@ constexpr auto EVT_MASK_SPECTRUM = EVENT_MASK(1);
class EventDispatcher {
public:
EventDispatcher(std::unique_ptr<BasebandProcessor> baseband_processor);
void run();
void request_stop();
@@ -50,6 +52,7 @@ public:
private:
static Thread* thread_event_loop;
std::unique_ptr<BasebandProcessor> baseband_processor;
bool is_running = true;