blob: ad60207e70e8eff72c155f697959a763e3892fe9 [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>,
Brad Bishop6bb97a92016-12-19 13:06:40 -050012 std::set<std::string>> container_t;
Patrick Williams3667cf32015-10-20 22:39:11 -050013
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
Brad Bishop03476f12016-12-19 13:09:12 -050032
33// vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4