#ifndef DEPTHGUIDE_MVS_CAMERA_UI_H #define DEPTHGUIDE_MVS_CAMERA_UI_H #include "mvs_camera.h" #include "core/object_manager.h" #include #include class mvs_camera_ui { public: struct create_config { using camera_list_type = mvs_camera_group::create_config::camera_list_type; camera_list_type cameras; boost::asio::io_context *ctx = nullptr; }; explicit mvs_camera_ui(const create_config &conf); ~mvs_camera_ui(); struct capture_info_type { int frame_rate = 0; bool is_mono = false; }; using capture_info_sig_type = boost::signals2::signal; capture_info_sig_type cap_info_sig; void show(); private: struct impl; std::unique_ptr pimpl; }; #endif //DEPTHGUIDE_MVS_CAMERA_UI_H