19 #ifndef MIR_INPUT_DEFAULT_INPUT_MANAGER_H_ 20 #define MIR_INPUT_DEFAULT_INPUT_MANAGER_H_ 32 class MultiplexingDispatchable;
33 class ThreadedDispatcher;
39 class InputEventHandlerRegister;
40 class InputDeviceRegistry;
46 std::shared_ptr<dispatch::MultiplexingDispatchable>
const& multiplexer,
47 std::shared_ptr<Platform>
const& platform);
50 void start()
override;
56 void add_platform(std::shared_ptr<Platform>
const& platform)
override;
58 void start_platforms();
59 void stop_platforms();
60 std::vector<std::shared_ptr<Platform>> platforms;
61 std::shared_ptr<dispatch::MultiplexingDispatchable>
const multiplexer;
62 std::shared_ptr<dispatch::ActionQueue>
const queue;
63 std::unique_ptr<dispatch::ThreadedDispatcher> input_thread;
72 std::atomic<State> state;
All things Mir.
Definition: atomic_callback.h:25
std::promise< bool > stop
Definition: in.cpp:28