![]() |
Vivoe Lite 0.5.0
Lightweight GVA like HMI for military displays.
|
The SYS state. More...
#include <sys.h>
Public Member Functions | |
void | entry () override |
entry actions in some States | |
void | react (EventKeyPowerOn const &) override |
Nothing to do in base class. | |
void | react (EventKeySA const &) override |
Nothing to do in base class. | |
void | react (EventKeyWPN const &) override |
Nothing to do in base class. | |
void | react (EventKeyDEF const &) override |
Nothing to do in base class. | |
void | react (EventKeySYS const &) override |
Nothing to do in base class. | |
void | react (EventKeyDRV const &) override |
Nothing to do in base class. | |
void | react (EventKeySTR const &) override |
Nothing to do in base class. | |
void | react (EventKeyCOM const &) override |
Nothing to do in base class. | |
void | react (EventKeyBMS const &) override |
Nothing to do in base class. | |
void | react (EventKeyAlarms const &) override |
Nothing to do in base class. | |
void | react (EventKeyFunction const &e) override |
Nothing to do in base class. | |
![]() | |
virtual | ~Hmi ()=default |
The default constructor. | |
virtual void | exit (void) |
no exit actions | |
Additional Inherited Members | |
![]() | |
using | fsmtype = Fsm< Hmi > |
Templated FSM. | |
using | state_ptr_t = Hmi * |
Current state pointer. | |
![]() | |
static void | KeySide (GvaKeyEnum key) |
Process side label key presses. | |
static GvaKeyEnum | Key (GvaKeyEnum key) |
Process key presses. | |
static GvaKeyEnum | KeySA (GvaKeyEnum key, GvaKeyEnum *current) |
Process SA key press. | |
static GvaKeyEnum | KeyWPN (GvaKeyEnum key) |
Process WPN key press. | |
static GvaKeyEnum | KeyDEF (GvaKeyEnum key) |
Process DEF key press. | |
static GvaKeyEnum | KeySYS (GvaKeyEnum key) |
Process SYS key press. | |
static GvaKeyEnum | KeyDRV (GvaKeyEnum key) |
Process DRV key press. | |
static GvaKeyEnum | KeySTR (GvaKeyEnum key) |
Process STR key press. | |
static GvaKeyEnum | KeyCOM (GvaKeyEnum key) |
Process COM key press. | |
static GvaKeyEnum | KeyBMS (GvaKeyEnum key) |
Process BMS key press. | |
static GvaKeyEnum | KeyAlarms (GvaKeyEnum key) |
Process Alarms key press. | |
static void | Reset () |
Reset the HMI widgets. | |
static void | SetCanvasPng (const std::string &file) |
Set a screen PNG file as background. | |
static ScreenGva * | GetRendrer () |
Get the screen render object. | |
static Screen * | GetScreen () |
Get the screen object. | |
static void | Labels (LabelModeEnum labels) |
Toggle onscreen label states. | |
static void | ClearAlarms (std::shared_ptr< ScreenGva > screen_render) |
Clear the alarms. | |
![]() | |
static constexpr S & | state (void) |
public, leaving ability to access state instance (e.g. on Reset) | |
static constexpr bool | is_in_state (void) |
Check if in state. | |
static void | set_initial_state () |
state machine functions | |
static void | Reset () |
Reset state machine. | |
static void | enter () |
Enter state. | |
static void | start () |
start state | |
static void | dispatch (E const &event) |
Dispatch a new state. | |
![]() | |
static state_ptr_t | current_state_ptr |
Current state pointer. | |
![]() | |
void | transit (void) |
state transition functions | |
void | transit (ActionFunction action_function) |
Transition to new state. | |
void | transit (ActionFunction action_function, ConditionFunction condition_function) |
Transit to new state. | |
![]() | |
static std::shared_ptr< ViewGvaManager > | manager_ |
The HMI manager. | |
static ResolutionType | view_ |
The resolution type. | |
static FunctionSelect | top_ |
The function select widget. | |
static CommonTaskKeys | bottom_ |
The common task keys at the bottom of the screen. | |
static Canvas | canvas_ |
The screen canvas. | |
static Screen | screen_ |
The screen. | |
static std::shared_ptr< Updater > | updater_ |
The updater to use. | |
static std::shared_ptr< ScreenGva > | screen_render_ |
The screen render object. | |
static std::shared_ptr< rendererMap > | map_ |
A map object. | |
static GvaFunctionEnum | lastState_ |
The last state. | |
static bool | alarmson_ = false |
True is alarms being displayed. | |
The SYS state.
entry actions in some States
Reimplemented from gva::Hmi.
|
overridevirtual |
Nothing to do in base class.
Reimplemented from gva::Hmi.
|
overridevirtual |
Nothing to do in base class.
Reimplemented from gva::Hmi.
|
overridevirtual |
Nothing to do in base class.
Reimplemented from gva::Hmi.
|
overridevirtual |
Nothing to do in base class.
Reimplemented from gva::Hmi.
|
overridevirtual |
Nothing to do in base class.
Reimplemented from gva::Hmi.
|
overridevirtual |
Nothing to do in base class.
Reimplemented from gva::Hmi.
|
overridevirtual |
Nothing to do in base class.
Reimplemented from gva::Hmi.
|
overridevirtual |
Nothing to do in base class.
Reimplemented from gva::Hmi.
|
overridevirtual |
Nothing to do in base class.
Reimplemented from gva::Hmi.
|
overridevirtual |
Nothing to do in base class.
Reimplemented from gva::Hmi.
|
overridevirtual |
Nothing to do in base class.
Reimplemented from gva::Hmi.