#include <model-views.h>
|
| void | begin_update (std::vector< uint8_t > data, viewer_model &viewer, std::string &error_message) |
| |
| void | begin_update_unsigned (viewer_model &viewer, std::string &error_message) |
| |
| void | check_for_bundled_fw_update (const rs2::context &ctx, std::shared_ptr< notifications_model > not_model) |
| |
| void | check_for_device_updates (viewer_model &viewer) |
| |
| | device_model (device &dev, std::string &error_message, viewer_model &viewer, bool new_device_connected=true, bool allow_remove=true) |
| |
| bool | draw_advanced_controls (viewer_model &view, ux_window &window, std::string &error_message) |
| |
| void | draw_controls (float panel_width, float panel_height, ux_window &window, std::string &error_message, device_model *&device_to_remove, viewer_model &viewer, float windows_width, std::vector< std::function< void()>> &draw_later, bool load_json_if_streaming=false, json_loading_func json_loading=[](std::function< void()> load){load();}, bool draw_device_outline=true) |
| |
| int | draw_playback_panel (ux_window &window, ImFont *font, viewer_model &view) |
| |
| std::shared_ptr< atomic_objects_in_frame > | get_detected_objects () const |
| |
| void | handle_hardware_events (const std::string &serialized_data) |
| |
| bool | is_cah_model_enabled () const |
| |
| bool | is_streaming () const |
| |
| void | pause_record () |
| |
| void | refresh_notifications (viewer_model &viewer) |
| |
| void | reset () |
| |
| void | resume_record () |
| |
| void | start_recording (const std::string &path, std::string &error_message) |
| |
| void | stop_recording (viewer_model &viewer) |
| |
| | ~device_model () |
| |
|
| float | draw_device_panel (float panel_width, ux_window &window, std::string &error_message, viewer_model &viewer) |
| |
| void | draw_info_icon (ux_window &window, ImFont *font, const ImVec2 &size) |
| |
| int | draw_playback_controls (ux_window &window, ImFont *font, viewer_model &view) |
| |
| float | draw_preset_panel (float panel_width, ux_window &window, std::string &error_message, viewer_model &viewer, bool update_read_only_options, bool load_json_if_streaming, json_loading_func json_loading) |
| |
| int | draw_seek_bar () |
| |
| bool | handle_online_fw_update (const context &ctx, std::shared_ptr< notifications_model > nm, std::shared_ptr< sw_update::dev_updates_profile::update_profile > update_profile) |
| |
| void | handle_online_sw_update (std::shared_ptr< notifications_model > nm, std::shared_ptr< sw_update::dev_updates_profile::update_profile > update_profile) |
| |
| void | load_viewer_configurations (const std::string &json_str) |
| |
| void | play_defaults (viewer_model &view) |
| |
| std::string | pretty_time (std::chrono::nanoseconds duration) |
| |
| bool | prompt_toggle_advanced_mode (bool enable_advanced_mode, const std::string &message_text, std::vector< std::string > &restarting_device_info, viewer_model &view, ux_window &window, const std::string &error_message) |
| |
| void | save_viewer_configurations (std::ofstream &outfile, nlohmann::json &j) |
| |
Definition at line 757 of file model-views.h.
| rs2::device_model::device_model |
( |
device & |
dev, |
|
|
std::string & |
error_message, |
|
|
viewer_model & |
viewer, |
|
|
bool |
new_device_connected = true, |
|
|
bool |
allow_remove = true |
|
) |
| |
|
explicit |
| rs2::device_model::~device_model |
( |
| ) |
|
| void rs2::device_model::draw_controls |
( |
float |
panel_width, |
|
|
float |
panel_height, |
|
|
ux_window & |
window, |
|
|
std::string & |
error_message, |
|
|
device_model *& |
device_to_remove, |
|
|
viewer_model & |
viewer, |
|
|
float |
windows_width, |
|
|
std::vector< std::function< void()>> & |
draw_later, |
|
|
bool |
load_json_if_streaming = false, |
|
|
json_loading_func |
json_loading = [](std::function<void()> load) {load(); }, |
|
|
bool |
draw_device_outline = true |
|
) |
| |
| int rs2::device_model::draw_seek_bar |
( |
| ) |
|
|
private |
| void rs2::device_model::handle_hardware_events |
( |
const std::string & |
serialized_data | ) |
|
| bool rs2::device_model::is_cah_model_enabled |
( |
| ) |
const |
|
inline |
| bool rs2::device_model::is_streaming |
( |
| ) |
const |
| void rs2::device_model::load_viewer_configurations |
( |
const std::string & |
json_str | ) |
|
|
private |
| void rs2::device_model::pause_record |
( |
| ) |
|
| std::string rs2::device_model::pretty_time |
( |
std::chrono::nanoseconds |
duration | ) |
|
|
private |
| void rs2::device_model::reset |
( |
| ) |
|
| void rs2::device_model::resume_record |
( |
| ) |
|
| void rs2::device_model::save_viewer_configurations |
( |
std::ofstream & |
outfile, |
|
|
nlohmann::json & |
j |
|
) |
| |
|
private |
| std::unique_ptr< cah_model > rs2::device_model::_accuracy_health_model |
|
private |
| bool rs2::device_model::_allow_remove = true |
| bool rs2::device_model::_playback_repeat = true |
| std::shared_ptr<recorder> rs2::device_model::_recorder |
|
private |
| bool rs2::device_model::_should_replay = false |
| std::set<std::string> rs2::device_model::advanced_mode_settings_file_names |
| bool rs2::device_model::get_curr_advanced_controls = true |
| bool rs2::device_model::is_recording = false |
| std::vector<std::shared_ptr<subdevice_model> > rs2::device_model::live_subdevices |
|
private |
| bool rs2::device_model::metadata_supported = false |
| bool rs2::device_model::pause_required = false |
|
private |
| int rs2::device_model::playback_speed_index = 2 |
| std::vector<std::shared_ptr<notification_model> > rs2::device_model::related_notifications |
| std::vector<std::string> rs2::device_model::restarting_device_info |
| int rs2::device_model::seek_pos = 0 |
| bool rs2::device_model::show_depth_only = false |
| bool rs2::device_model::show_device_info = false |
| bool rs2::device_model::show_reset_camera_accuracy_health_popup = false |
| bool rs2::device_model::show_stream_selection = true |
| bool rs2::device_model::show_trigger_camera_accuracy_health_popup = false |
| std::vector<std::shared_ptr<subdevice_model> > rs2::device_model::subdevices |
The documentation for this class was generated from the following files: