1 #ifndef _FETCH_LIST_OF_ACTIVE_GROUPS_H
2 #define _FETCH_LIST_OF_ACTIVE_GROUPS_H 1
4 #include <pqxx/transactor>
8 unsigned tournament, round, parallel, num_machines, players_per_machine;
11 /* A transactor that fetches the current list of active groups. */
12 class FetchListOfActiveGroups : public pqxx::transactor<> {
14 std::vector<SkeletonGroup> *active;
17 FetchListOfActiveGroups(std::vector<SkeletonGroup> *active);
18 void operator() (pqxx::transaction<> &t);
21 #endif /* !defined(_FETCH_LIST_OF_ACTIVE_GROUPS_H) */