#include "Player.h"
#include "Parse.h"
#include <sys/poll.h>
Include dependency graph for Player.C:
Go to the source code of this file.
Functions | |
void * | stdin_callback (void *v) |
File: Player.C 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 definitions 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.C.
|
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.
Definition at line 630 of file Player.C. References Player::handleStdin(). |