summaryrefslogtreecommitdiff
path: root/kel_cmds/c++/cmd_schema.hpp
blob: 3d50079434804bd8ad171c248b4023ad1cd986c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#pragma once

#include "common.hpp"

namespace kel {
namespace sch {
using namespace saw::schema;

using CommandIoAddress = String;

using CommandStruct = Struct<
	Member<Array<String>, "exec">
>;

using CommandAsyncGroup = Struct<
	Member<Array<CommandStruct>, "commands">
>;

using CommandSequenceGroup = Struct<
	Member<Array<CommandAsyncGroup>, "async_commands">
>;

using CommandConfig = Struct<
	Member<Array<CommandSequenceGroup>, "sequences">
>;
}
}