HLCC Documentation 3.0.0
Loading...
Searching...
No Matches
actionsTrackCmds.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2020-2025 European Southern Observatory (ESO)
2//
3// SPDX-License-Identifier: LGPL-3.0-only
4
13#ifndef HLCC_TRKSIM_ACTIONS_CONTROL_HPP
14#define HLCC_TRKSIM_ACTIONS_CONTROL_HPP
15
16#include <trksim/trackCtrEvents.rad.hpp>
17
18#include <rad/configurableActionGroup.hpp>
19#include <rad/application.hpp>
20#include <rad/smSubscriber.hpp>
21#include <rad/trsHealth.hpp>
22
23namespace hlcc {
24namespace trksim {
25
26class DataContext;
27class ActionMgr;
28
33class ActionsTrackCmds : public rad::ConfigurableActionGroup {
34 public:
42 ActionsTrackCmds(rad::Application& appl,
43 ActionMgr& action_mgr,
45
50 void Initialize() override;
51
58 void Configure(const std::vector<std::string>& keys) override;
59
65 void Preset(scxml4cpp::Context* c);
66
72 void UpdateTarget(scxml4cpp::Context* c);
73
79 void SkyOffset(scxml4cpp::Context* c);
80
86 void VelocityOffset(scxml4cpp::Context* c);
87
93 void MovingTo(scxml4cpp::Context* c);
94
100 void SetPointingPosition(scxml4cpp::Context* c);
101
107 void SetPointingOffset(scxml4cpp::Context* c);
108
116 void StopInit(scxml4cpp::Context* c);
117
122 void StopMoving(scxml4cpp::Context* c);
123
133 [[deprecated("SetObservingWavelength is Deprecated - Use UpdateTarget")]]
134 void SetObservingWavelength (scxml4cpp::Context* c);
135
153 void TrsBadHealthGoIdle (scxml4cpp::Context* c);
154
164 void LoadConfiguration(scxml4cpp::Context* c);
165
166
169
170 private:
171 rad::Application& m_appl;
172 ActionMgr& m_action_mgr;
173 DataContext& m_data;
174};
175
176} // namespace trksim
177} // namespace hlcc
178
179#endif // HLCC_TRKSIM_ACTIONS_CONTROL_HPP
Definition actionMgr.hpp:27
void MovingTo(scxml4cpp::Context *c)
Definition actionsTrackCmds.cpp:85
void Initialize() override
Definition actionsTrackCmds.cpp:57
ActionsTrackCmds(rad::Application &appl, ActionMgr &action_mgr, DataContext &data)
Definition actionsTrackCmds.cpp:47
void LoadConfiguration(scxml4cpp::Context *c)
Definition actionsTrackCmds.cpp:266
void Preset(scxml4cpp::Context *c)
Definition actionsTrackCmds.cpp:135
void SetPointingOffset(scxml4cpp::Context *c)
Definition actionsTrackCmds.cpp:246
void SetObservingWavelength(scxml4cpp::Context *c)
Definition actionsTrackCmds.cpp:192
void StopInit(scxml4cpp::Context *c)
Definition actionsTrackCmds.cpp:74
void Configure(const std::vector< std::string > &keys) override
Definition actionsTrackCmds.cpp:61
void TrsBadHealthGoIdle(scxml4cpp::Context *c)
ActionsTrackCmds & operator=(const ActionsTrackCmds &)=delete
Disable copy constructor.
void VelocityOffset(scxml4cpp::Context *c)
Definition actionsTrackCmds.cpp:208
ActionsTrackCmds(const ActionsTrackCmds &)=delete
void SkyOffset(scxml4cpp::Context *c)
Definition actionsTrackCmds.cpp:171
void StopMoving(scxml4cpp::Context *c)
Definition actionsTrackCmds.cpp:111
void UpdateTarget(scxml4cpp::Context *c)
Definition actionsTrackCmds.cpp:153
void SetPointingPosition(scxml4cpp::Context *c)
Definition actionsTrackCmds.cpp:227
Definition dataContext.hpp:53
Definition actionMgr.cpp:35
Definition ccsinsoldb.hpp:10
ccsinsdetifllnetio::PointingKernelPositions data
Definition pkp_llnetio_subscriber.cpp:29