Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CMatchManager Class Reference

PutClassNameHere. More...

#include <MatchManager.h>

Inheritance diagram for CMatchManager:

CEliminationMatchMgr List of all members.

Public Member Functions

 CMatchManager ()
 CMatchManager.
 ~CMatchManager ()
 ~CMatchManager
void CollectParticipants (vector< CParticipant * > participants)
 CollectParticipants.
void SetGameModule (CGameModule *gm)
 SetGameModule.

Protected Member Functions

uint32 GetUniqueRoundNumber ()
 GetUniqueRoundNumber.
uint32 GetUniqueMatchNumber ()
 GetUniqueMatchNumber.

Detailed Description

PutClassNameHere.

Description:

Limitations:


Constructor & Destructor Documentation

CMatchManager::CMatchManager  ) 
 

CMatchManager.

Description: The constructor initializes internal class attributes.

Returns:
None
Limitations: None

CMatchManager::~CMatchManager  ) 
 

~CMatchManager

Description: Destructor frees any memory allocted by the MatchManager

Returns:
None
Limitations: None


Member Function Documentation

void CMatchManager::CollectParticipants vector< CParticipant * >  participants  ) 
 

CollectParticipants.

Description: This function sets the list of participant that will be participanting in the tournament. This call will replace the previous participant list with the new one.

Parameters:
participants,: the list of players participating.
Returns:
None
Limitations: None

uint32 CMatchManager::GetUniqueMatchNumber  )  [protected]
 

GetUniqueMatchNumber.

Description: This function generates a unique number that can be used as a match number.

Returns:
uint32: The unique match number.
Limitations: None

uint32 CMatchManager::GetUniqueRoundNumber  )  [protected]
 

GetUniqueRoundNumber.

Description: This function generates a unique number that can be used as a round number.

Returns:
uint32: The unique round number.
Limitations: None

void CMatchManager::SetGameModule CGameModule gm  ) 
 

SetGameModule.

Description: Sets the game module that the match manager should use.

Parameters:
gm,: A pointer to the game module.
Returns:
void
Limitations: None


The documentation for this class was generated from the following files:
Copyright (c) 2005 Matt Bruns, Pat Hammond, Kevin Markussen, Travis Service, Brain Shaver

SourceForge.net Logo