software:firmware
MakAir Firmware
Main Page
Related Pages
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
g
i
l
m
n
o
p
r
s
t
u
v
w
Functions
a
b
c
d
e
g
i
l
m
n
o
p
r
s
t
u
v
Variables
a
b
c
i
m
o
p
t
v
Enumerations
Enumerator
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Functions
b
c
d
e
g
h
i
k
l
m
o
r
s
t
u
v
Variables
a
b
c
d
e
f
h
i
l
m
n
p
r
s
t
v
Enumerations
Enumerator
a
b
c
d
e
f
h
i
l
m
o
p
r
s
t
u
v
w
Macros
a
b
c
d
e
f
h
k
l
m
n
p
r
s
t
v
w
•
All
Classes
Files
Functions
Variables
Enumerations
Enumerator
Macros
Pages
main_state_machine.h
Go to the documentation of this file.
1
8
#pragma once
9
10
#include "../includes/alarm_controller.h"
11
#include "../includes/blower.h"
12
#include "../includes/main_controller.h"
13
#include "../includes/pressure_valve.h"
14
16
class
MainStateMachine
{
17
public
:
19
MainStateMachine
();
20
26
bool
isRunning
();
27
29
void
ScreenUpdate
();
30
32
void
setupAndStart
();
33
34
private
:
36
bool
isMsmActive
;
37
};
38
39
extern
MainStateMachine
mainStateMachine
;
MainStateMachine
Main state machine.
Definition:
main_state_machine.h:16
MainStateMachine::setupAndStart
void setupAndStart()
Run the state machine.
Definition:
main_state_machine.cpp:217
MainStateMachine::MainStateMachine
MainStateMachine()
Default constructor.
Definition:
main_state_machine.cpp:50
MainStateMachine::ScreenUpdate
void ScreenUpdate()
Display information on screen.
Definition:
main_state_machine.cpp:54
MainStateMachine::isRunning
bool isRunning()
Check if the state machine is enabled.
Definition:
main_state_machine.cpp:52
MainStateMachine::isMsmActive
bool isMsmActive
Main state machine activation state.
Definition:
main_state_machine.h:36
mainStateMachine
MainStateMachine mainStateMachine
Definition:
main_state_machine.cpp:32
includes
main_state_machine.h
Generated by
1.9.1