Phoenix2D-Library  0.10
Parser.h
Go to the documentation of this file.
1 /*
2  * Phoenix2D (RoboCup Soccer Simulation 2D League)
3  * Copyright (c) 2013 Ivan Gonzalez
4  *
5  * This file is part of Phoenix2D.
6  *
7  * Phoenix2D is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * Phoenix2D is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with Phoenix2D. If not, see <http://www.gnu.org/licenses/>.
19  */
20 
21 #ifndef PARSER_H_
22 #define PARSER_H_
23 
24 #include <string>
25 
29 namespace Phoenix
30 {
31 
32 class Self;
33 class World;
34 class PlayMode;
35 class Trainer;
36 
44 class Parser {
45 public:
46  Parser(Self *self, World *world);
47  ~Parser();
48  void parseMessage(std::string message);
49  static void registerPlayMode(PlayMode* play_mode);
50  static void registerTrainer(Trainer* trainer);
51 };
53 } // End namespace Phoenix
56 #endif /* PARSER_H_ */
void parseMessage(std::string message)
Definition: Parser.cpp:197
Trainer The Trainer lorem Ipsum
Definition: Trainer.h:39
Parser The Parser lorem Ipsum
Definition: Parser.h:44
Parser(Self *self, World *world)
Definition: Parser.cpp:183
Self The Self lorem Ipsum
Definition: Self.h:45
World The World lorem Ipsum
Definition: World.h:41
static void registerPlayMode(PlayMode *play_mode)
Definition: Parser.cpp:276
PlayMode The PlayMode lorem Ipsum
Definition: PlayMode.h:59
static void registerTrainer(Trainer *trainer)
Definition: Parser.cpp:280