12#include <display_device/types.h>
23namespace rtsp_stream {
24 struct launch_session_t;
27namespace display_device {
39 [[nodiscard]] std::unique_ptr<platf::deinit_t>
init(
const std::filesystem::path &persistence_filepath,
const config::video_t &video_config);
51 [[nodiscard]] std::string
map_output_name(
const std::string &output_name);
std::variant< failed_to_parse_tag_t, configuration_disabled_tag_t, SingleDisplayConfiguration > parse_configuration(const config::video_t &video_config, const rtsp_stream::launch_session_t &session)
Parse the user configuration and the session information.
Definition display_device.cpp:825
void revert_configuration()
Revert the display configuration and restore the previous state.
Definition display_device.cpp:793
std::unique_ptr< platf::deinit_t > init(const std::filesystem::path &persistence_filepath, const config::video_t &video_config)
Initialize the implementation and perform the initial state recovery (if needed).
Definition display_device.cpp:704
void configure_display(const config::video_t &video_config, const rtsp_stream::launch_session_t &session)
Configure the display device based on the user configuration and the session information.
Definition display_device.cpp:760
EnumeratedDeviceList enumerate_devices()
Enumerate the available devices.
Definition display_device.cpp:813
bool reset_persistence()
Reset the persistence and currently held initial display state.
Definition display_device.cpp:798
std::string map_output_name(const std::string &output_name)
Map the output name to a specific display.
Definition display_device.cpp:748
A tag structure indicating that configuration is disabled.
Definition display_device.h:141
A tag structure indicating that configuration parsing has failed.
Definition display_device.h:136