class ClientGameController

Class ClientGameController More...

Full nameGameControl::ClientGameController
Definition#include <clientgamecontroller.h>
InheritsGameControl::GameController [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Members


Detailed Description

Class ClientGameController

 ~ClientGameController ()
throw()

~ClientGameController

Destructor, does nothing

bool  start ()
throw (bad_exception)

start

This method is active the whole time when a game is running. Here the main data flow is processed, it represents the discrete control loop method of the client. See the petrinets and sequence diagrams for further details.

Reimplemented from GameController.

 ClientGameController (auto_ptr clientCommunicator)
throw (RTBException, bad_exception)

ClientGameController

Initializes the data fields and exit, the real work is done in the start method Constructor will pass any exceptions to its creator (since logger may be initialized incorrect)

Parameters:
clientCommunicator

GameOptionsRepository _gameOptionsRepository

_gameOptionsRepository

auto_ptr _clientCoordinator

_clientCoordinator

auto_ptr _clientCommunicator

_clientCommunicator

auto_ptr _logger

_logger

MasterResourceControl* _mrc

_mrc

string _robotName

_robotName

ServerConnection* _serverConnection

_serverConnection

RTBConnection* _rtbConnection

_rtbConnection

ostringstream _messagebuffer

_messagebuffer

string _emptystring

_emptystring


Generated by: jonico on sc8-pr-shell1.sourceforge.net on Fri May 27 06:03:12 2005, using kdoc 2.0a54.