11 TableSensor(const std::string & p) : prefix(p) {}
12 virtual ~TableSensor() {}
14 const std::string & GetPrefix() const { return prefix; }
15 virtual void UpdateSensors(Sensors & sensors) const = 0;
21 class TariffUsersTable : public TableSensor {
23 TariffUsersTable(const std::string & p,
28 virtual ~TariffUsersTable() {}
30 void UpdateSensors(Sensors & sensors) const;
36 typedef std::map<std::string, TableSensor *> Tables;