17 #ifndef CARTOGRAPHER_SENSOR_INTERNAL_COLLATOR_H_ 18 #define CARTOGRAPHER_SENSOR_INTERNAL_COLLATOR_H_ 22 #include <unordered_map> 23 #include <unordered_set> 41 const std::unordered_set<std::string>& expected_sensor_ids,
46 void AddSensorData(
int trajectory_id, std::unique_ptr<Data> data)
override;
48 void Flush()
override;
63 #endif // CARTOGRAPHER_SENSOR_INTERNAL_COLLATOR_H_ std::function< void(const std::string &, std::unique_ptr< Data >)> Callback
void FinishTrajectory(int trajectory_id) override
common::optional< int > GetBlockingTrajectoryId() const override
void AddSensorData(int trajectory_id, std::unique_ptr< Data > data) override
void AddTrajectory(int trajectory_id, const std::unordered_set< std::string > &expected_sensor_ids, const Callback &callback) override
std::unordered_map< int, std::vector< QueueKey > > queue_keys_
Collator & operator=(const Collator &)=delete