SensESP
3.0.1
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
4
namespace
sensesp
{
5
10
class
Startable
{
11
public
:
12
Startable
(
int
priority = 0) {}
13
virtual
void
start
() {}
14
const
int
get_start_priority
() {
return
0; }
15
void
set_start_priority
(
int
priority) {}
16
static
void
start_all
() {}
17
};
18
19
}
// namespace sensesp
20
21
#endif
// SENSESP_SRC_SENSESP_SYSTEM_STARTABLE_H_
sensesp::Startable
Dummy Startable class for backward compatibility.
Definition
startable.h:10
sensesp::Startable::set_start_priority
void set_start_priority(int priority)
Definition
startable.h:15
sensesp::Startable::start_all
static void start_all()
Definition
startable.h:16
sensesp::Startable::start
virtual void start()
Definition
startable.h:13
sensesp::Startable::Startable
Startable(int priority=0)
Definition
startable.h:12
sensesp::Startable::get_start_priority
const int get_start_priority()
Definition
startable.h:14
sensesp
Definition
sensesp.cpp:7
src
sensesp
system
startable.h
Generated by
1.12.0