Definition at line 42 of file SessionScheduler.cpp.
◆ SchedulingIssueDetector()
◆ ~SchedulingIssueDetector()
◆ onError()
Notifies about an error.
- Parameters
-
| scheduler | the instance the of session scheduler that fires the error. |
| session | the session that that fires the error. |
| errorReason | the error reason text. |
Reimplemented from SessionSchedulerListener.
Definition at line 54 of file SessionScheduler.cpp.
55 {
56 std::cout <<
"Error occurred while scheduling session " << session->
toString() <<
": " << errorReason;
57 }
std::string toString() const
◆ onWarning()
Notifies about a non-critical issue.
- Parameters
-
| scheduler | the instance the of session scheduler that fires the warning. |
| session | the session that that fires the warning. |
| warningReason | the warning reason text. |
Reimplemented from SessionSchedulerListener.
Definition at line 49 of file SessionScheduler.cpp.
50 {
51 std::cout <<
"Scheduler reported a warning for the session " << session->
toString() <<
": " << warningReason;
52 }