DUNE: Uniform Navigational Environment
2019.02.1
|
The emitting task has encountered an error that can possibly be recovered by a restart.
Public Member Functions | |
RestartNeeded (const std::string &msg, unsigned delay, bool error=true) | |
unsigned | getDelay (void) const |
bool | isError (void) const |
const char * | getError (void) |
|
inline |
Constructor.
[in] | msg | message. |
[in] | delay | amount of seconds to wait before restarting |
[in] | error | true if an error should be emitted, false otherwise. |
|
inline |
Retrieve the amount of seconds that must elapse before restarting the task.
Referenced by DUNE::Tasks::Task::deactivationFailed().
|
inline |
Retrieve error message.
Referenced by DUNE::Tasks::Task::deactivationFailed(), and DUNE::Tasks::Task::loadConfig().
|
inline |
Referenced by DUNE::Tasks::Task::deactivationFailed().