mountcontrol/cxx/asibfm700_mount.cpp
2025-08-07 02:24:28 +03:00

21 lines
845 B
C++

#include "asibfm700_mount.h"
namespace asibfm700
{
template <mcc::traits::mcc_range_of_input_char_range R>
AsibFM700Mount::AsibFM700Mount(AsibFM700Config config, std::shared_ptr<spdlog::logger> logger, const R& pattern_range)
: mcc::utils::MccSpdlogLogger(std::move(logger), pattern_range),
_currentConfig(std::move(config)),
base_gm_t(std::make_tuple(_currentConfig.astromEngineState),
std::make_tuple(_currentConfig.hardwareConfig),
std::make_tuple(_currentConfig.pecData),
std::make_tuple(std::ref(_astromEngine), std::ref(_pec), std::ref(_hardware)),
std::make_tuple(std::ref(_telemetry), std::ref(_hardware), std::ref(_pzFuncs)),
std::make_tuple(std::ref(_telemetry), std::ref(_hardware), std::ref(_pzFuncs)))
{
}
} // namespace asibfm700