Restarting parameters.
Definition at line 74 of file supervisor.h.
#include <supervisor.h>
|
| | Restart (const std::size_t attempts=0, const std::size_t sleep_ms=0) |
| | delay between attempts More...
|
| |
| bool | isUnlimited () const |
| |
| bool | isOk (const std::size_t attempt) const |
| |
| bool | isEnabled () const |
| |
| void | wait () const |
| |
◆ Restart()
| tut::thread::Parameters::Restart::Restart |
( |
const std::size_t |
attempts = 0, |
|
|
const std::size_t |
sleep_ms = 0 |
|
) |
| |
|
inlineexplicit |
◆ isEnabled()
| bool tut::thread::Parameters::Restart::isEnabled |
( |
| ) |
const |
|
inline |
◆ isOk()
| bool tut::thread::Parameters::Restart::isOk |
( |
const std::size_t |
attempt | ) |
const |
|
inline |
◆ isUnlimited()
| bool tut::thread::Parameters::Restart::isUnlimited |
( |
| ) |
const |
|
inline |
◆ wait()
| void tut::thread::Parameters::Restart::wait |
( |
| ) |
const |
|
inline |
◆ attempts_
| std::size_t tut::thread::Parameters::Restart::attempts_ |
◆ sleep_ms_
| std::size_t tut::thread::Parameters::Restart::sleep_ms_ |
The documentation for this class was generated from the following file: