SensESP 3.4.1-alpha
Universal Signal K sensor toolkit ESP32
Loading...
Searching...
No Matches
startable.h
Go to the documentation of this file.
1#ifndef SENSESP_SYSTEM_STARTABLE_H
2#define SENSESP_SYSTEM_STARTABLE_H
3
4namespace sensesp {
5
13class [[deprecated(
14 "Startable is a no-op kept only for source compatibility; remove "
15 "inheritance, startup is handled by the event loop")]] Startable {
16 public:
17 Startable(int priority = 0) {}
18 virtual void start() {}
19 const int get_start_priority() { return 0; }
20 void set_start_priority(int priority) {}
21 static void start_all() {}
22};
23
24} // namespace sensesp
25
26#endif // SENSESP_SRC_SENSESP_SYSTEM_STARTABLE_H_
No-op Startable shim kept only for source compatibility.
Definition startable.h:15
void set_start_priority(int priority)
Definition startable.h:20
static void start_all()
Definition startable.h:21
virtual void start()
Definition startable.h:18
Startable(int priority=0)
Definition startable.h:17
const int get_start_priority()
Definition startable.h:19