blob: 2ed3b4ad10ddb5fab2c80ad1bd5df65091a0578b [file] [log] [blame]
Ben Fredricksond69f38b2015-01-28 20:06:15 -08001package aos.common.actions;
2
John Park33858a32018-09-28 23:05:48 -07003import "aos/actions/actions.q";
Ben Fredricksond69f38b2015-01-28 20:06:15 -08004
5queue_group TestActionQueueGroup {
6 implements aos.common.actions.ActionQueueGroup;
7
8 message Goal {
9 uint32_t run;
Ben Fredrickson9fb2ab12015-02-16 16:42:08 -080010 uint32_t params;
11 };
12
13 queue Goal goal;
14 queue aos.common.actions.Status status;
15};
16
17struct MyParams {
18 double param1;
19 int32_t param2;
20};
21
22queue_group TestAction2QueueGroup {
23 implements aos.common.actions.ActionQueueGroup;
24
25 message Goal {
26 uint32_t run;
27 MyParams params;
Ben Fredricksond69f38b2015-01-28 20:06:15 -080028 };
29
30 queue Goal goal;
31 queue aos.common.actions.Status status;
32};
33
34queue_group TestActionQueueGroup test_action;
Ben Fredrickson9fb2ab12015-02-16 16:42:08 -080035queue_group TestAction2QueueGroup test_action2;