Adds immediate migration results in progress

This commit is contained in:
torsten committed 2026-08-19 11:18:24 +02:00
1 parent 8453e104c5
commit 3bb6e89496
2102 files changed
+17482 -15071

No files matched your search

@@ -30,11 +30,11 @@ namespace ExerciseManagement
bool ExerciseStateManager::triggerSwitchState(ExerciseManagement::ExerciseState state)
{
INFO_LOG() << "Ex " << exerciseId() << ": Trying to switch to state " << toString(state);
INFO_LOG(m_logger) << "Ex " << exerciseId() << ": Trying to switch to state " << toString(state);
std::function<void()> f = m_stateSignals.value(state);
if (f)
{
//DEBUG_LOG() << "function: emit signal";
//DEBUG_LOG(m_logger) << "function: emit signal";
emit f();
}
return (f != nullptr);
@@ -78,7 +78,7 @@ namespace ExerciseManagement
void ExerciseStateManager::setStateInternal(ExerciseManagement::ExerciseState state)
{
INFO_LOG() << "Ex " << exerciseId() << ": In setStateInternal: new state " << toString(state);
INFO_LOG(m_logger) << "Ex " << exerciseId() << ": In setStateInternal: new state " << toString(state);
if(m_exerciseState == state)
return;
@@ -96,7 +96,7 @@ namespace ExerciseManagement
// or separate object (because we've to check the a/v state periodically etc)
*/
INFO_LOG() << "Ex " << exerciseId() << ": Changed exercise state to " << toString(state);
INFO_LOG(m_logger) << "Ex " << exerciseId() << ": Changed exercise state to " << toString(state);
}
int ExerciseStateManager::exerciseId() const