| 438 | } |
| 439 | |
| 440 | std::string MSWindowsWatchdog::processStateToString(MSWindowsWatchdog::ProcessState state) |
| 441 | { |
| 442 | switch (state) { |
| 443 | using enum MSWindowsWatchdog::ProcessState; |
| 444 | |
| 445 | case Idle: |
| 446 | return "Idle"; |
| 447 | case StartScheduled: |
| 448 | return "StartScheduled"; |
| 449 | case StartPending: |
| 450 | return "StartPending"; |
| 451 | case StopPending: |
| 452 | return "StopPending"; |
| 453 | case Running: |
| 454 | return "Running"; |
| 455 | } |
| 456 | |
| 457 | return "Unknown"; |
| 458 | } |
| 459 | |
| 460 | void MSWindowsWatchdog::initOutputReadPipe() |
| 461 | { |
nothing calls this directly
no outgoing calls
no test coverage detected