#include <cah-model.h>
Public Member Functions | |
cah_model (device_model &dev_model, viewer_model &viewer) | |
bool | prompt_reset_popup (ux_window &window, std::string &error_message) |
bool | prompt_trigger_popup (ux_window &window, std::string &error_message) |
Private Types | |
enum | model_state_type { model_state_type::TRIGGER_MODAL, model_state_type::PROCESS_MODAL } |
Private Attributes | |
device_model & | _dev_model |
bool | _process_started |
utilities::time::timer | _process_timeout |
std::atomic< model_state_type > | _state |
viewer_model & | _viewer |
Definition at line 16 of file cah-model.h.
|
strongprivate |
Enumerator | |
---|---|
TRIGGER_MODAL | |
PROCESS_MODAL |
Definition at line 27 of file cah-model.h.
cah_model::cah_model | ( | device_model & | dev_model, |
viewer_model & | viewer | ||
) |
Definition at line 14 of file cah-model.cpp.
bool cah_model::prompt_reset_popup | ( | ux_window & | window, |
std::string & | error_message | ||
) |
Definition at line 182 of file cah-model.cpp.
bool cah_model::prompt_trigger_popup | ( | ux_window & | window, |
std::string & | error_message | ||
) |
Definition at line 32 of file cah-model.cpp.
|
private |
Definition at line 25 of file cah-model.h.
|
private |
Definition at line 29 of file cah-model.h.
|
private |
Definition at line 30 of file cah-model.h.
|
private |
Definition at line 28 of file cah-model.h.
|
private |
Definition at line 26 of file cah-model.h.