Vivoe Lite 0.5.0
Lightweight GVA like HMI for military displays.
Loading...
Searching...
No Matches
wpn.h
Go to the documentation of this file.
1//
2// Copyright (c) 2023, DefenceX PTY LTD
3//
4// This file is part of the VivoeX project developed by DefenceX.
5//
6// Licensed under the Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)
7// License. See the LICENSE file in the project root for full license details.
9// Copyright (c) 2023, DefenceX PTY LTD
10//
11// This file is part of the VivoeX project developed by DefenceX.
12//
13// Licensed under the Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)
14// License. See the LICENSE file in the project root for full license details.
15//
19#ifndef HMICORE_STATES_WPN_H_
20#define HMICORE_STATES_WPN_H_
21
22#include <glog/logging.h>
23
24#include <iostream>
25
26#include "hmicore/gva.h"
27#include "hmicore/hmi_gva.h"
29#include "hmicore/view_gva.h"
32
33namespace gva {
34
36struct StateWPN : Hmi {
37 void entry() override;
38 void react(EventKeyPowerOn const &) override;
39 void react(EventKeySA const &) override;
40 void react(EventKeyWPN const &) override;
41 void react(EventKeyDEF const &) override;
42 void react(EventKeySYS const &) override;
43 void react(EventKeyDRV const &) override;
44 void react(EventKeySTR const &) override;
45 void react(EventKeyCOM const &) override;
46 void react(EventKeyBMS const &) override;
47 void react(EventKeyAlarms const &) override;
48 void react(EventKeyFunction const &e);
49};
50
51} // namespace gva
52
53#endif // HMICORE_STATES_WPN_H_
Event for Alarms key press.
Definition base_hmi.h:51
Event for BMS key press.
Definition base_hmi.h:49
Event for COM key press.
Definition base_hmi.h:47
Event for DEF key press.
Definition base_hmi.h:39
Event for DRV key press.
Definition base_hmi.h:43
Event for Function key press.
Definition base_hmi.h:53
Definition base_hmi.h:33
Event for SA key press.
Definition base_hmi.h:35
Event for STR key press.
Definition base_hmi.h:45
Event for SYS key press.
Definition base_hmi.h:41
Event for WPN key press.
Definition base_hmi.h:37
State Machine Base Class Declaration.
Definition base_hmi.h:59
The WPN state.
Definition wpn.h:36
void react(EventKeyPowerOn const &) override
Nothing to do in base class.
Definition wpn.cc:71
void entry() override
entry actions in some States
Definition wpn.cc:52