Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Player.h File Reference

#include "BasicPlayer.h"
#include "Formations.h"

Include dependency graph for Player.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

class  Player

Functions

void * stdin_callback (void *v)


Detailed Description

File:          Player.h
Project:       Robocup Soccer Simulation Team: UvA Trilearn 2001
Authors:       Jelle Kok and Remco de Boer
Created:       03/03/2001
Last Revision: 08/05/2001
Contents:      This file contains the declaration for the Player class,
               which is a superclass from BasicPlayer and contains the
               decision procedure to select the skills from the
               BasicPlayer. 

Definition in file Player.h.


Function Documentation

void* stdin_callback void *    v
 

This method can be called in a separate thread (see pthread_create) since it returns a void pointer. It is assumed that this function receives a BasicPlayer class as argument. The only thing this function does is starting the method handleStdin() from the corresponding BasicPlayer class that listens to user input from the keyboard. This function is necessary since a method from a class cannot be an argument of pthread_create.

Parameters:
v  void pointer to a BasicPlayer class.
Returns:
should never return since function handleStdin has infinite loop

Definition at line 630 of file Player.C.


Generated on Thu Mar 7 00:37:48 2002 for UvA Trilearn 2001 by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001