#include "sensors.h"
+class TARIFFS;
+class USERS;
+
class TableSensor {
public:
TableSensor(const std::string & p) : prefix(p) {}
class TariffUsersTable : public TableSensor {
public:
TariffUsersTable(const std::string & p,
+ TARIFFS & t,
USERS & u)
: TableSensor(p),
+ tariffs(t),
users(u)
{}
virtual ~TariffUsersTable() {}
void UpdateSensors(Sensors & sensors) const;
private:
+ TARIFFS & tariffs;
USERS & users;
};