This commit is contained in:
2025-08-02 14:40:05 +03:00
parent 9bfe1c3ad5
commit 25438960e6
9 changed files with 87 additions and 71 deletions

View File

@@ -141,6 +141,11 @@ public:
init(mount_controls);
}
MccSimpleSlewModel(MccSimpleSlewModel&&) = default;
MccSimpleSlewModel& operator=(MccSimpleSlewModel&&) = default;
MccSimpleSlewModel(const MccSimpleSlewModel&) = default;
MccSimpleSlewModel& operator=(const MccSimpleSlewModel&) = default;
virtual ~MccSimpleSlewModel()
{
logDebug(std::format("Delete 'MccSimpleSlewModel' class instance ({})", (void*)this));
@@ -163,7 +168,6 @@ public:
protected:
std::atomic_bool _stopRequested{false};
std::function<error_t(const slew_point_t&)> _slewFunc{};
std::mutex _updateMutex{};
void init(auto& mount_controls)
{
@@ -404,6 +408,4 @@ protected:
};
static_assert(traits::mcc_slew_model_c<MccSimpleSlewModel<>>, "");
} // namespace mcc