#include <tournament.h>
Inheritance diagram for dmn::Tournament:
Public Member Functions | |
Tournament () | |
Constructor. | |
virtual | ~Tournament () |
Destructor. | |
virtual bool | configure (Core *core)=0 |
Make all the configuration needed by the module (after have the id). | |
virtual bool | next_match (ID match, std::list< ID > *couples)=0 |
Couples for the next match. | |
virtual bool | set_match_winner (ID match, ID couple_winner)=0 |
Notify the winner of a match. | |
virtual bool | classification (std::list< ID > *teams)=0 |
Classification of the tournament. | |
virtual ID | winner ()=0 |
Winner of the tournament. | |
virtual bool | is_finished ()=0 |
Check if the tournament is finished or not. |
|
Classification of the tournament.
Implemented in dmn::TournamentCup. |
|
Make all the configuration needed by the module (after have the id).
Implemented in dmn::TournamentCup. |
|
Check if the tournament is finished or not.
Implemented in dmn::TournamentCup. |
|
Couples for the next match.
Implemented in dmn::TournamentCup. |
|
Notify the winner of a match.
Implemented in dmn::TournamentCup. |
|
Winner of the tournament.
Implemented in dmn::TournamentCup. |