Akifumi Takahashi / Mbed 2 deprecated Interference_Simple

Dependencies:   mbed SerialInputReactionHandler AMPulseTrain SwArr16MOSFET StrCommandHandler KajiLabES

Committer:
aktk
Date:
Wed Oct 23 20:08:31 2019 +0000
Revision:
1:b97639dad576
used at VRSJ24 DEMO

Who changed what in which revision?

UserRevisionLine numberNew contents of line
aktk 1:b97639dad576 1 #ifndef COMMAND_HANDLER_H
aktk 1:b97639dad576 2 #define COMMAND_HANDLER_H
aktk 1:b97639dad576 3 #include "mbed.h"
aktk 1:b97639dad576 4 #include <string>
aktk 1:b97639dad576 5 #include <unsorted_map>
aktk 1:b97639dad576 6
aktk 1:b97639dad576 7 class CommandAnalyzer
aktk 1:b97639dad576 8 {
aktk 1:b97639dad576 9 public:
aktk 1:b97639dad576 10 CommandAnalyzer(
aktk 1:b97639dad576 11 int num_of_command = 10,
aktk 1:b97639dad576 12 char response_mode = 0
aktk 1:b97639dad576 13 );
aktk 1:b97639dad576 14 int analyzeCommand(
aktk 1:b97639dad576 15 const char* const command
aktk 1:b97639dad576 16 );
aktk 1:b97639dad576 17 int mapCommand(
aktk 1:b97639dad576 18 const char* const command
aktk 1:b97639dad576 19 int (*fanction)(void)
aktk 1:b97639dad576 20 );
aktk 1:b97639dad576 21 private:
aktk 1:b97639dad576 22 char (*m_command_name)[20];
aktk 1:b97639dad576 23 int (**m_function)(void);
aktk 1:b97639dad576 24 }
aktk 1:b97639dad576 25 #endif