Adds immediate migration results in progress
This commit is contained in:
2102 files changed
+17482
-15071
No files matched your search
+4
-4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user