SRS-control
0.1.4
Loading...
Searching...
No Matches
CLIOptionsMap.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <map>
4
#include <spdlog/common.h>
5
#include <
srs/Application.hpp
>
6
#include <string>
7
8
using
enum
srs::common::DataPrintMode
;
9
const
auto
spd_log_map
= std::map<std::string, spdlog::level::level_enum>{
10
{
"trace"
, spdlog::level::trace }, {
"debug"
, spdlog::level::debug }, {
"info"
, spdlog::level::info },
11
{
"warn"
, spdlog::level::warn }, {
"error"
, spdlog::level::err }, {
"critical"
, spdlog::level::critical },
12
{
"off"
, spdlog::level::off }
13
};
14
15
const
auto
print_mode_map
= std::map<std::string, srs::common::DataPrintMode>{ {
"speed"
, print_speed },
16
{
"header"
, print_header },
17
{
"raw"
, print_raw },
18
{
"all"
, print_all } };
Application.hpp
print_mode_map
const auto print_mode_map
Definition
CLIOptionsMap.hpp:15
spd_log_map
const auto spd_log_map
Definition
CLIOptionsMap.hpp:9
srs::common::DataPrintMode
DataPrintMode
Definition
CommonDefitions.hpp:53
backend
CLIOptionsMap.hpp
Impressum
Datenschutzerklärung
Generated by
1.13.2