diff options
Diffstat (limited to 'kel_cmds/c++/cmd_schema.hpp')
| -rw-r--r-- | kel_cmds/c++/cmd_schema.hpp | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/kel_cmds/c++/cmd_schema.hpp b/kel_cmds/c++/cmd_schema.hpp index 472fd9b..3d50079 100644 --- a/kel_cmds/c++/cmd_schema.hpp +++ b/kel_cmds/c++/cmd_schema.hpp @@ -6,14 +6,22 @@ namespace kel { namespace sch { using namespace saw::schema; +using CommandIoAddress = String; + using CommandStruct = Struct< - Member<Array<String>, "command"> + Member<Array<String>, "exec"> >; -using Commands = Struct< - +using CommandAsyncGroup = Struct< + Member<Array<CommandStruct>, "commands"> >; -} +using CommandSequenceGroup = Struct< + Member<Array<CommandAsyncGroup>, "async_commands"> +>; +using CommandConfig = Struct< + Member<Array<CommandSequenceGroup>, "sequences"> +>; +} } |
