#ifndef DEPTHGUIDE_SOPHIAR_MONITOR_H #define DEPTHGUIDE_SOPHIAR_MONITOR_H #include "core/yaml_utility.hpp" #include "core/local_connection.h" // sophiar #include #include class sophiar_monitor { public: struct create_config { struct item_type { std::string disp_name; std::string var_name; }; using item_list_type = std::vector; item_list_type item_list; sophiar_conn_type *sophiar_conn; }; using item_list_type = create_config::item_list_type; static item_list_type item_list_from_yaml(const YAML::Node &conf); explicit sophiar_monitor(const create_config &conf); ~sophiar_monitor(); void show(); private: struct impl; std::unique_ptr pimpl; }; #endif //DEPTHGUIDE_SOPHIAR_MONITOR_H