A Command Interpreter with support for used defined commands, subsystems, macros, help and parameter parsing.
Diff: cmdb.h
- Revision:
- 28:7ba0b6819aa7
- Parent:
- 26:34c65d3f6da0
diff -r 34c65d3f6da0 -r 7ba0b6819aa7 cmdb.h --- a/cmdb.h Wed Feb 15 09:50:53 2012 +0000 +++ b/cmdb.h Tue Jan 18 18:55:42 2022 +0000 @@ -417,7 +417,7 @@ * @param serial a Serial port used for communication. * @param cmds a vector with the command table. */ - Cmdb(const Serial& _serial, std::vector<cmd>& _cmds, void (*_callback)(Cmdb&,int) ); + Cmdb(const RawSerial& _serial, std::vector<cmd>& _cmds, void (*_callback)(Cmdb&,int) ); /** The version of the Command Interpreter. * @@ -813,7 +813,7 @@ /** Internal Serial Port Storage. */ - Serial serial; + RawSerial serial; /** Internal Command Table Vector Storage. *