Numworks Epsilon  1.4.1
Graphing Calculator Operating System
command_list.h
Go to the documentation of this file.
1 #ifndef ION_DEVICE_BENCH_COMMAND_LIST_H
2 #define ION_DEVICE_BENCH_COMMAND_LIST_H
3 
4 #include "command_handler.h"
5 
6 namespace Ion {
7 namespace Device {
8 namespace Bench {
9 
10 class CommandList {
11 public:
12  constexpr CommandList(const CommandHandler * handlers) : m_handlers(handlers) {}
13  const CommandHandler * dispatch(const char * command) const;
14 private:
15  const CommandHandler * m_handlers;
16 };
17 
18 }
19 }
20 }
21 
22 #endif
const CommandHandler * dispatch(const char *command) const
Definition: command_list.cpp:8
Definition: backlight.h:6
constexpr CommandList(const CommandHandler *handlers)
Definition: command_list.h:12