hlcc 2.0.0-beta2+pre1
Loading...
Searching...
No Matches
actionsGpCmds.hpp
Go to the documentation of this file.
1
9#ifndef HLCC_PFSSIMHLCC_ACTIONS_CONTROL_HPP
10#define HLCC_PFSSIMHLCC_ACTIONS_CONTROL_HPP
11
12#include <pfssimhlcc/gpCtrEvents.rad.hpp>
13
14#include <rad/configurableActionGroup.hpp>
15#include <rad/application.hpp>
16#include <rad/smSubscriber.hpp>
17#include <rad/trsHealth.hpp>
18
19namespace hlcc {
20namespace pfssimhlcc {
21
22class DataContext;
23class ActionMgr;
24
29class ActionsGpCmds : public rad::ConfigurableActionGroup {
30 public:
37 ActionsGpCmds(rad::Application& appl,
38 ActionMgr& action_mgr,
40
45 void Initialize() override;
46
53 void Configure(const std::vector<std::string>& keys) override;
54
60 void Preset(scxml4cpp::Context* c);
61
67 void MoveGPTo(scxml4cpp::Context* c);
68
74 void MoveRaw(scxml4cpp::Context* c);
75
81 void SetTarget(scxml4cpp::Context* c);
82
88 void MoveGpToNamedPos(scxml4cpp::Context* c);
94 void StartControlling(scxml4cpp::Context* c);
95
101 void StopControlling(scxml4cpp::Context* c);
102
108 void AssignFixTrajectory(scxml4cpp::Context* c);
109
110
116 void StopFollowingTrajectory(scxml4cpp::Context* c);
117
118
119
125 void SetHierarchy(scxml4cpp::Context* c);
126
132 bool PresetOkGuard(scxml4cpp::Context* c);
133
134
135
136 ActionsGpCmds(const ActionsGpCmds&) = delete;
138
139 private:
140 rad::Application& m_appl;
141 ActionMgr& m_action_mgr;
142 DataContext& m_data;
143};
144
145} // namespace pfssimhlcc
146} // namespace hlcc
147
148#endif // HLCC_PFSSIMHLCC_ACTIONS_CONTROL_HPP
Definition: actionMgr.hpp:23
Definition: actionsGpCmds.hpp:29
bool PresetOkGuard(scxml4cpp::Context *c)
Definition: actionsGpCmds.cpp:238
void Initialize() override
Definition: actionsGpCmds.cpp:54
void Configure(const std::vector< std::string > &keys) override
Definition: actionsGpCmds.cpp:58
void SetTarget(scxml4cpp::Context *c)
Definition: actionsGpCmds.cpp:126
void StartControlling(scxml4cpp::Context *c)
Definition: actionsGpCmds.cpp:159
void StopControlling(scxml4cpp::Context *c)
Definition: actionsGpCmds.cpp:173
ActionsGpCmds(const ActionsGpCmds &)=delete
void MoveRaw(scxml4cpp::Context *c)
Definition: actionsGpCmds.cpp:107
void MoveGpToNamedPos(scxml4cpp::Context *c)
Definition: actionsGpCmds.cpp:144
void SetHierarchy(scxml4cpp::Context *c)
Definition: actionsGpCmds.cpp:220
void StopFollowingTrajectory(scxml4cpp::Context *c)
Definition: actionsGpCmds.cpp:205
void Preset(scxml4cpp::Context *c)
Definition: actionsGpCmds.cpp:71
void AssignFixTrajectory(scxml4cpp::Context *c)
Definition: actionsGpCmds.cpp:187
void MoveGPTo(scxml4cpp::Context *c)
Definition: actionsGpCmds.cpp:89
ActionsGpCmds & operator=(const ActionsGpCmds &)=delete
Disable copy constructor.
Definition: dataContext.hpp:38
Coordinates conversion methods between equatorial and horizontal.
Definition: requestor.hpp:19
ccsinsdetifllnetio::PointingKernelPositions data
Definition: pkp_llnetio_subscriber.cpp:29