SMACC2
Loading...
Searching...
No Matches
cl_mission_tracker.hpp
Go to the documentation of this file.
1// Copyright 2025 Robosoft Inc.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15/*****************************************************************************************************************
16 *
17 * Authors: Pablo Inigo Blasco, Brett Aldrich
18 *
19 ******************************************************************************************************************/
20#pragma once
21
22#include <smacc2/smacc.hpp>
24
26
28{
29
30// Event: Battery load decision
31template <typename AsyncCB, typename Orthogonal>
32struct EvBatteryLoad : sc::event<EvBatteryLoad<AsyncCB, Orthogonal>>
33{
34};
35
36// Event: Radial motion decision
37template <typename AsyncCB, typename Orthogonal>
38struct EvRadialMotion : sc::event<EvRadialMotion<AsyncCB, Orthogonal>>
39{
40};
41
42// Event: S-pattern decision
43template <typename AsyncCB, typename Orthogonal>
44struct EvSPattern : sc::event<EvSPattern<AsyncCB, Orthogonal>>
45{
46};
47
48// Event: F-pattern decision
49template <typename AsyncCB, typename Orthogonal>
50struct EvFPattern : sc::event<EvFPattern<AsyncCB, Orthogonal>>
51{
52};
53
66{
67public:
69
70 virtual ~ClMissionTracker() {}
71
72 template <typename TOrthogonal, typename TClient>
74 {
75 // Create decision manager component
77 }
78};
79
80} // namespace cl_mission_tracker
Client for mission tracking and decision sequencing.
SmaccComponentType * createComponent(TArgs... targs)