#include <Round.h>
Public Member Functions | |
CRound (int32 id) | |
CRound. | |
~CRound () | |
~CRound | |
void | AddMatch (CMatch *match) |
AddMatch. | |
void | RemoveMatch (uint32 index) |
RemoveMatch. | |
CMatch * | GetMatch (uint32 index) const |
GetMatch. | |
uint32 | GetMatchCount () const |
GetMatchCount. | |
STATE | GetRoundState () const |
GetRoundStarted. | |
int32 | GetRoundId () const |
GetRoundId. | |
void | SetRoundId (int32 id) |
SetRoundId. |
Description: A Round is a collection of matches that are run concurrently. The tournament consists of a series of rounds.
Limitations: None
|
CRound. Description: This constructor initalizes internal class attributes.
|
|
~CRound Description: The destructor cleans up all resources allocated by the round object.
|
|
AddMatch. Description: This function adds a match to the round. Matches added will be configured and started when the round is configured and started.
|
|
GetMatch. Description: This function retrieves a pointer to an attached match given the index of the match.
|
|
GetMatchCount. Description: The functions retrieves the total number of matches that have been included in the round.
|
|
GetRoundId. Description: GetRoundID returns the unique round ID number that was previously associated with the round.
|
|
GetRoundStarted. Description: GetRoundStarted checks to see if the round is currently running. The round is considered 'started' if any of the contained matches are running.
|
|
RemoveMatch. Description: This function removes a match from the round given a match index number.
|
|
SetRoundId. Description: This sets the unique round ID.
|