SensESP 3.0.1
Universal Signal K sensor toolkit ESP32
|
Automatic calling of the reset() method when the device needs to be reset. More...
#include <sensesp/system/resettable.h>
Public Member Functions | |
Resettable (int priority=0) | |
virtual void | reset () |
const int | get_reset_priority () const |
void | set_reset_priority (int priority) |
Static Public Member Functions | |
static void | reset_all () |
Friends | |
class | ResettableCompare |
Automatic calling of the reset() method when the device needs to be reset.
Classes that implement "Resettable" will have their reset() method called automatically when the device is reset. The optional priority parameter allows the user to control the order in which the objects are reset. The default priority is 0. A higher priority object (priority greater than zero) will be reset before a lower one.
Definition at line 20 of file resettable.h.
sensesp::Resettable::Resettable | ( | int | priority = 0 | ) |
Definition at line 10 of file resettable.cpp.
|
inline |
Definition at line 26 of file resettable.h.
|
inlinevirtual |
Reimplemented in sensesp::Filesystem, and sensesp::Networking.
Definition at line 24 of file resettable.h.
|
static |
|
inline |
Definition at line 28 of file resettable.h.
|
friend |
Definition at line 32 of file resettable.h.