18 #ifndef GNSS_SDR_SENSOR_DATA_SOURCE_CONFIGURATION_H 19 #define GNSS_SDR_SENSOR_DATA_SOURCE_CONFIGURATION_H 25 #include <unordered_map> 39 uint64_t sample_offset;
40 uint64_t sample_period;
51 SensorIdentifier::value_type identifier;
52 SensorDataType::value_type type;
62 bool validate()
const;
64 bool is_enabled()
const;
66 bool is_sensor_provided(SensorIdentifier::value_type sensor_id)
const;
68 const std::unordered_map<uint64_t, SensorDataFileConfiguration>& files()
const;
70 const std::vector<SensorDataConfiguration>& sensors()
const;
72 void set_items_per_sample(uint64_t items_per_sample);
74 uint64_t get_items_per_sample()
const;
81 bool validate_files()
const;
83 bool validate_sensors()
const;
86 std::unordered_map<uint64_t, SensorDataFileConfiguration> files_;
87 std::vector<SensorDataConfiguration> sensors_;
88 uint64_t items_per_sample_;
93 #endif // GNSS_SDR_SENSOR_DATA_SOURCE_CONFIGURATION_H
This abstract class represents an interface to configuration parameters.
This class represents an interface to configuration parameters.