This commit is contained in:
2025-08-26 19:56:32 +03:00
parent 7556539084
commit 052d4e2eb4
4 changed files with 185 additions and 62 deletions

View File

@@ -123,7 +123,6 @@ inline std::error_code make_error_code(MccCCTE_ERFAErrorCode ec)
}
class MccCCTE_ERFA : public mcc_CCTE_interface_t<std::error_code>
{
static constexpr double PI_2 = std::numbers::pi / 2.0;
@@ -183,28 +182,28 @@ public:
virtual ~MccCCTE_ERFA() = default;
std::string_view name() const
std::string_view nameCCTE() const
{
return "ERFA-CCTE-ENGINE";
}
// engine state related methods
void setState(engine_state_t state)
void setStateERFA(engine_state_t state)
{
std::lock_guard lock{*_stateMutex};
_currentState = std::move(state);
}
engine_state_t getState() const
engine_state_t getStateERFA() const
{
std::lock_guard lock{*_stateMutex};
return _currentState;
}
void updateMeteo(meteo_t meteo)
void updateMeteoERFA(meteo_t meteo)
{
std::lock_guard lock{*_stateMutex};