#include "sensors.h"
-class TARIFFS;
-class USERS;
+namespace STG
+{
+struct Tariffs;
+struct Users;
+}
class TableSensor {
public:
class TariffUsersTable : public TableSensor {
public:
TariffUsersTable(const std::string & p,
- TARIFFS & t,
- USERS & u)
+ STG::Tariffs & t,
+ STG::Users & u)
: TableSensor(p),
tariffs(t),
users(u)
void UpdateSensors(Sensors & sensors) const;
private:
- TARIFFS & tariffs;
- USERS & users;
+ STG::Tariffs & tariffs;
+ STG::Users & users;
};
typedef std::map<std::string, TableSensor *> Tables;