summaryrefslogtreecommitdiffstats
path: root/server/src/indexed_pub.cppm
diff options
context:
space:
mode:
authorRutger Broekhoff2026-12-01 16:03:28 +0100
committerRutger Broekhoff2026-12-01 16:03:28 +0100
commita2b46df66ce12ac31392cbfe80b1f983a9350278 (patch)
tree76805a95b221ecf8afed3075f09290f98789238a /server/src/indexed_pub.cppm
parent9b8d8fccaec087031ba37dd68e516929c3ddb4a2 (diff)
downloadroutemon-a2b46df66ce12ac31392cbfe80b1f983a9350278.tar.gz
routemon-a2b46df66ce12ac31392cbfe80b1f983a9350278.zip
Reloading
Diffstat (limited to 'server/src/indexed_pub.cppm')
-rw-r--r--server/src/indexed_pub.cppm13
1 files changed, 13 insertions, 0 deletions
diff --git a/server/src/indexed_pub.cppm b/server/src/indexed_pub.cppm
new file mode 100644
index 0000000..5981533
--- /dev/null
+++ b/server/src/indexed_pub.cppm
@@ -0,0 +1,13 @@
1class indexed_pub
2{
3 constexpr static auto const min_distance_ = 5.0;
4
5 using blse_index_value = std::shared_ptr<datex2::road_closure>;
6 using blse_index = geo::utm::multizonal::linestring_rtree<blse_index_value>;
7 using bpe_index_value = std::shared_ptr<datex2::road_closure>;
8 using bpe_index = geo::utm::multizonal::point_rtree<bpe_index_value>;
9
10 datex2::situation_publication pub_;
11 blse_index blse_index_;
12 bpe_index bpe_index_;
13};