Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

RS::TrainerStartCommand Class Reference

Class used to represent the trainer command (start). More...

Inheritance diagram for RS::TrainerStartCommand:

Inheritance graph
[legend]
Collaboration diagram for RS::TrainerStartCommand:

Collaboration graph
[legend]
List of all members.

Public Member Functions

const std::string serverString () const
 Returns the server string that will execute the StartCommand at the soccer server.

TrainerStartCommand * clone () const
 Returns a new copy of the command.


Detailed Description

Class used to represent the trainer command (start).

(start) This commands starts the server, e.g. sets the play-mode to `kick off l'. This essentially simulates pressing the kick off button on the monitor. If the trainer does not send an init command, then the first commands of any type received from the trainer will cause the server to start, e.g. set the play-mode to `kick off l'. Possible replies by the soccerserver: (ok start) The command succeeded.

Unit:
Library
Revision
1.1
Author
frehe
Date
2006/09/06 18:03:47

Definition at line 76 of file TrainerStartCommand.h.


Member Function Documentation

TrainerStartCommand * RS::TrainerStartCommand::clone   const [virtual]
 

Returns a new copy of the command.

REMEMBER TO DELETE IT, OTHERWISE YOU WILL HAVE A MEMORY LEAK!!!

Implements RS::TrainerCommand.

Definition at line 70 of file TrainerStartCommand.cc.


The documentation for this class was generated from the following files:
Generated on Mon Aug 29 08:25:28 2011 for RoboSoc by doxygen1.3-rc3