blob: c2543450d0e08a567108073eee213f0233330c62 [file] [log] [blame]
Brad Bishop26b815f2017-01-04 13:32:47 -05001#pragma once
Patrick Williams3667cf32015-10-20 22:39:11 -05002
3#include <map>
4#include <set>
5#include <string>
6
7class SensorSet
8{
9 public:
10 typedef std::map<std::pair<std::string, std::string>,
Brad Bishop6bb97a92016-12-19 13:06:40 -050011 std::set<std::string>> container_t;
Patrick Williams3667cf32015-10-20 22:39:11 -050012
13 SensorSet(const std::string& path);
14
15 container_t::const_iterator begin()
16 {
17 return const_cast<const container_t&>(container).begin();
18 }
19
20 container_t::const_iterator end()
21 {
22 return const_cast<const container_t&>(container).end();
23 }
24
25 private:
26 container_t container;
27
28};
29
Brad Bishop03476f12016-12-19 13:09:12 -050030// vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4