...
This commit is contained in:
@@ -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};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user