doc: Add serial to list of ci file reserved words
[charm.git] / src / ck-ldb / TeamLB.h
1 /**
2  * \addtogroup CkLdb
3 */
4 /*@{*/
5
6 #ifndef _TEAMLB_H_
7 #define _TEAMLB_H_
8
9 #include "CentralLB.h"
10 #include "TeamLB.decl.h"
11
12 void CreateTeamLB();
13 BaseLB * AllocateTeamLB();
14
15 class TeamLB : public CentralLB {
16   public:
17     TeamLB(const CkLBOptions &);
18     TeamLB(CkMigrateMessage *m):CentralLB(m) { lbname = "TeamLB"; }
19
20     void work(LDStats* stats);
21     void pup(PUP::er &p) { CentralLB::pup(p); }
22
23   private:
24     int teamSize;
25     int numberTeams;
26
27     CmiBool QueryBalanceNow(int step) { return CmiTrue; }
28 };
29
30 #endif /* _TEAMLB_H_ */
31
32 /*@}*/