|
hlcc 2.0.0-beta2+pre1
|
#include <commandsImpl.hpp>
Public Types | |
| template<class T > | |
| using | future = elt::mal::future< T > |
Public Member Functions | |
| CommandsImpl (rad::SMAdapter &sm, DataContext &data) | |
| virtual | ~CommandsImpl () |
| std::string | GetMsTrackCtrAppName () |
| std::string | GetPfsGpCmdsAppName () |
| template<typename INTERFACE_TYPE > | |
| bool | ConnectLsv (std::string lsv_name, hlcc::cpputil::Requestor< INTERFACE_TYPE > &requestor) |
| elt::mal::future< std::string > | SetTargetAltAzPos (const std::shared_ptr< ccsinsif::AltAz > &axes_position) override |
| elt::mal::future< std::string > | SetTargetRaDec (const std::shared_ptr<::ccsinsif::PresetArgs > &preset_args) override |
| ::elt::mal::future< std::string > | SkyOffset (const std::shared_ptr<::ccsinsif::OffsetSkyArgs > &offset_args) override |
| virtual elt::mal::future< std::string > | SetObservingWavelength (double wavelength) override |
This class implements the ICD-generated server interface. It feeds events to the eltpk state machine and, if configured, also immediately forwards calls to the LSVs.
| using hlcc::eltpk::CommandsImpl::future = elt::mal::future<T> |
|
inlineexplicit |
|
inlinevirtual |
|
inline |
Called on demand, before making a call to a method of an LSV. This avoids failures when LSVs are not started yet, or not at all, and ensures latest config gets used.
|
inline |
Returns the LSV application name, as configured in the yaml file. Depending on the config flag "simulate_lsv_ms", it returns the HLCC simulator from trksim, or the real MS LSV tracking application. Names must match with the instances configured in the yaml config file. Both applications must implement interface msif::TrackCmdsAsync.
|
inline |
Returns the LSV application name, as configured in the yaml file. Depending on the config flag "simulate_lsv_pfs", it returns the HLCC python simulator, or the real PFS LSV tracking application. Names must match with the instances configured in the yaml config file. Both applications must implement interface pfsif::GpCmdsAsync.
|
inlineoverridevirtual |
|
inlineoverride |
|
inlineoverride |
|
inlineoverride |