cooling/cooling.cc
/// Verify that rsked (if enabled) is in the correct run state: running.
/// If rsked is gone, attempt to restart; restart might be
/// suppressed if attempts have failed recently.
///
Verify that rsked (if enabled) is in the correct run state: running.
If rsked is gone, attempt to restart; restart might be
suppressed if attempts have failed recently.
Verify that rsked ( if enabled ) is in the correct run state : running . If rsked is gone attempt to restart ; restart might be suppressed if attempts have failed recently .
void Cooling::check_rsked()
{
    RunCond status { RunCond::okay };
    if (not m_rsked_enabled) {
        return;
    }
    if (m_rsked_cm->check_child( status )) {
        return;
    }
    switch (m_rsked_cm->last_obs_phase()) {
    case ChildPhase::unknown:
    case ChildPhase::running:
        break;                  
    case ChildPhase::gone:
        maybe_restart_rsked();
        break;
    case ChildPhase::paused:
        LOG_ERROR(Lgr) << "rsked was suspended! Continuing...";
        m_rsked_cm->cont_child();
        break;
    }
}
void Cooling :: check_rsked ( ) { RunCond status { RunCond :: okay } ; if ( not m_rsked_enabled ) { return ; } if ( m_rsked_cm -> check_child ( status ) ) { return ; } switch ( m_rsked_cm -> last_obs_phase ( ) ) { case ChildPhase :: unknown : case ChildPhase :: running : break ; case ChildPhase :: gone : maybe_restart_rsked ( ) ; break ; case ChildPhase :: paused : LOG_ERROR ( Lgr ) << " " ; m_rsked_cm -> cont_child ( ) ; break ; } }
Verify that rsked (if enabled) is in the correct run state: running.
Verify that rsked ( if enabled ) is in the correct run state : running .
// (this should not occur)