#include <pqxx/transactor>
#include <vector>
-struct Group {
- unsigned tournament, round, parallel;
+struct SkeletonGroup {
+ unsigned tournament, round, parallel, num_machines, players_per_machine;
};
/* A transactor that fetches the current list of active groups. */
class FetchListOfActiveGroups : public pqxx::transactor<> {
private:
- std::vector<Group> *active;
+ std::vector<SkeletonGroup> *active;
public:
- FetchListOfActiveGroups(std::vector<Group> *active);
+ FetchListOfActiveGroups(std::vector<SkeletonGroup> *active);
void operator() (pqxx::transaction<> &t);
};