![]() |
Vivoe Lite 0.5.0
Lightweight GVA like HMI for military displays.
|
The SA state. More...
#include <sa.h>


Public Member Functions | |
| void | entry () override |
| entry actions in some States | |
| void | exit () override |
| no exit actions | |
| 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. | |
Public Member Functions inherited from gva::Hmi | |
| virtual | ~Hmi ()=default |
| The default constructor. | |
Additional Inherited Members | |
Public Types inherited from gva::tinyfsm::Fsm< Hmi > | |
| using | fsmtype = Fsm< Hmi > |
| Templated FSM. | |
| using | state_ptr_t = Hmi * |
| Current state pointer. | |
Static Public Member Functions inherited from gva::Hmi | |
| 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 Public Member Functions inherited from gva::tinyfsm::Fsm< Hmi > | |
| 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 Public Attributes inherited from gva::tinyfsm::Fsm< Hmi > | |
| static state_ptr_t | current_state_ptr |
| Current state pointer. | |
Protected Member Functions inherited from gva::tinyfsm::Fsm< Hmi > | |
| 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 Protected Attributes inherited from gva::Hmi | |
| 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 SA 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.