blob: beb8446aff0cb6f981b814cb2c84c5561aecf9ea [file] [log] [blame]
Patrick Williams3667cf32015-10-20 22:39:11 -05001#ifndef __SENSORSET_H
2#define __SENSORSET_H
3
4#include <map>
5#include <set>
6#include <string>
7
8class SensorSet
9{
10 public:
11 typedef std::map<std::pair<std::string, std::string>,
12 std::set<std::string>> container_t;
13
14 SensorSet(const std::string& path);
15
16 container_t::const_iterator begin()
17 {
18 return const_cast<const container_t&>(container).begin();
19 }
20
21 container_t::const_iterator end()
22 {
23 return const_cast<const container_t&>(container).end();
24 }
25
26 private:
27 container_t container;
28
29};
30
31#endif