Public Member Functions | Private Types | Private Attributes | List of all members
rs2::cah_model Class Reference

#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
 

Detailed Description

Definition at line 16 of file cah-model.h.

Member Enumeration Documentation

Enumerator
TRIGGER_MODAL 
PROCESS_MODAL 

Definition at line 27 of file cah-model.h.

Constructor & Destructor Documentation

cah_model::cah_model ( device_model dev_model,
viewer_model viewer 
)

Definition at line 14 of file cah-model.cpp.

Member Function Documentation

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.

Member Data Documentation

device_model& rs2::cah_model::_dev_model
private

Definition at line 25 of file cah-model.h.

bool rs2::cah_model::_process_started
private

Definition at line 29 of file cah-model.h.

utilities::time::timer rs2::cah_model::_process_timeout
private

Definition at line 30 of file cah-model.h.

std::atomic<model_state_type> rs2::cah_model::_state
private

Definition at line 28 of file cah-model.h.

viewer_model& rs2::cah_model::_viewer
private

Definition at line 26 of file cah-model.h.


The documentation for this class was generated from the following files:


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:40