14 TableSensor(const std::string & p) : prefix(p) {}
15 virtual ~TableSensor() {}
17 const std::string & GetPrefix() const { return prefix; }
18 virtual void UpdateSensors(Sensors & sensors) const = 0;
24 class TariffUsersTable : public TableSensor {
26 TariffUsersTable(const std::string & p,
33 virtual ~TariffUsersTable() {}
35 void UpdateSensors(Sensors & sensors) const;
42 typedef std::map<std::string, TableSensor *> Tables;