Version FC
Dependencies: DmTftLibrary eeprom SX1280Lib filesystem mbed
Fork of MSNV2-Terminal_V1-5 by
Diff: Controller.hpp
- Branch:
- Integration
- Revision:
- 39:13e66d087ae9
- Parent:
- 38:9b43b2415093
--- a/Controller.hpp Fri Oct 19 06:32:59 2018 +0000 +++ b/Controller.hpp Fri Oct 19 15:08:35 2018 +0000 @@ -10,7 +10,9 @@ #include "Context.h" -#include <queue> +#include <vector> +#include <algorithm> + #ifndef TEST_ENVIRONMENT #include "mbed.h" @@ -42,6 +44,10 @@ Controller() {} virtual ~Controller() {} +#ifndef TEST_ENVIRONMENT + void start(); +#endif + void loop(); misnet::DataBase& getDatabase(); @@ -82,7 +88,7 @@ */ #endif - std::queue< <std::pair<int, misnet::TerminalInternalCommand *> > _commands; + std::vector<std::pair<int, misnet::TerminalInternalCommand *> > _commands; }; #endif // CONTROLLER_HPP__