HLCC Documentation 2.2.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 SkyOffset(scxml4cpp::Context* c);
73
79 void VelocityOffset(scxml4cpp::Context* c);
80
86 void MovingTo(scxml4cpp::Context* c);
87
93 void SetPointingPosition(scxml4cpp::Context* c);
94
100 void SetPointingOffset(scxml4cpp::Context* c);
101
109 void StopInit(scxml4cpp::Context* c);
110
115 void StopMoving(scxml4cpp::Context* c);
116
126 void SetObservingWavelength (scxml4cpp::Context* c);
127
145 void TrsBadHealthGoIdle (scxml4cpp::Context* c);
146
156 void LoadConfiguration(scxml4cpp::Context* c);
157
158
161
162 private:
163 rad::Application& m_appl;
164 ActionMgr& m_action_mgr;
165 DataContext& m_data;
166};
167
168} // namespace trksim
169} // namespace hlcc
170
171#endif // HLCC_TRKSIM_ACTIONS_CONTROL_HPP
Definition actionMgr.hpp:27
Definition actionsTrackCmds.hpp:33
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:248
void Preset(scxml4cpp::Context *c)
Definition actionsTrackCmds.cpp:135
void SetPointingOffset(scxml4cpp::Context *c)
Definition actionsTrackCmds.cpp:228
void SetObservingWavelength(scxml4cpp::Context *c)
Definition actionsTrackCmds.cpp:174
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:190
ActionsTrackCmds(const ActionsTrackCmds &)=delete
void SkyOffset(scxml4cpp::Context *c)
Definition actionsTrackCmds.cpp:153
void StopMoving(scxml4cpp::Context *c)
Definition actionsTrackCmds.cpp:111
void SetPointingPosition(scxml4cpp::Context *c)
Definition actionsTrackCmds.cpp:209
Definition dataContext.hpp:52
Definition ccsinsoldb.hpp:10
ccsinsdetifllnetio::PointingKernelPositions data
Definition pkp_llnetio_subscriber.cpp:33