#pragma once #include #include namespace cvmmap_streamer::protocol { inline std::string streamer_subject_prefix(std::string_view target_key) { return std::string("cvmmap.") + std::string(target_key) + ".streamer"; } inline std::string subject_recorder_mp4_start(std::string_view target_key) { return streamer_subject_prefix(target_key) + ".recorder.mp4.start"; } inline std::string subject_recorder_mp4_stop(std::string_view target_key) { return streamer_subject_prefix(target_key) + ".recorder.mp4.stop"; } inline std::string subject_recorder_mp4_status(std::string_view target_key) { return streamer_subject_prefix(target_key) + ".recorder.mp4.status"; } inline std::string subject_recorder_mcap_start(std::string_view target_key) { return streamer_subject_prefix(target_key) + ".recorder.mcap.start"; } inline std::string subject_recorder_mcap_stop(std::string_view target_key) { return streamer_subject_prefix(target_key) + ".recorder.mcap.stop"; } inline std::string subject_recorder_mcap_status(std::string_view target_key) { return streamer_subject_prefix(target_key) + ".recorder.mcap.status"; } } // namespace cvmmap_streamer::protocol