From 149e7c0836927e14a926a952bd1a7f0d1b49e779 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Fri, 5 May 2023 15:46:58 -0400 Subject: Organised repo --- src/tracker_state.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/tracker_state.h (limited to 'src/tracker_state.h') diff --git a/src/tracker_state.h b/src/tracker_state.h new file mode 100644 index 0000000..879e6f2 --- /dev/null +++ b/src/tracker_state.h @@ -0,0 +1,19 @@ +#ifndef TRACKER_STATE_H_8639BC90 +#define TRACKER_STATE_H_8639BC90 + +#include +#include + +class TrackerState { + public: + void CalculateState(); + + bool IsLocationReachable(int area_id, int section_id); + + private: + std::map, bool> reachability_; +}; + +TrackerState& GetTrackerState(); + +#endif /* end of include guard: TRACKER_STATE_H_8639BC90 */ -- cgit 1.4.1