src/activitymanager/activity/Activity.cpp
/*
 * Any Triggers have fired, Requirements are met, it is Scheduled (and not
 * ending already)
 */
Any Triggers have fired, Requirements are met, it is Scheduled (and not
ending already)
Any Triggers have fired Requirements are met it is Scheduled ( and not ending already )
bool Activity::isRunnable() const
{
    if (!isTriggered()) {
        return false;
    }
    if (m_schedule && !m_schedule->isScheduled())
        return false;
    if (!isRequirementMet())
        return false;
    return true;
}
bool Activity :: isRunnable ( ) const { if ( ! isTriggered ( ) ) { return false ; } if ( m_schedule && ! m_schedule -> isScheduled ( ) ) return false ; if ( ! isRequirementMet ( ) ) return false ; return true ; }
Any Triggers have fired, Requirements are met, it is Scheduled (and not
 ending already)
Any Triggers have fired Requirements are met it is Scheduled ( and not ending already )