summaryrefslogtreecommitdiffstats
path: root/server/src/indexed_pub.cppm
blob: 59815330110b51cf7123cba805196ef3f65e9293 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
class indexed_pub
{
  constexpr static auto const min_distance_ = 5.0;

  using blse_index_value = std::shared_ptr<datex2::road_closure>;
  using blse_index = geo::utm::multizonal::linestring_rtree<blse_index_value>;
  using bpe_index_value = std::shared_ptr<datex2::road_closure>;
  using bpe_index = geo::utm::multizonal::point_rtree<bpe_index_value>;

  datex2::situation_publication pub_;
  blse_index blse_index_;
  bpe_index bpe_index_;
};