Phoenix2D-Library  0.10
Config.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 CONFIG_H_
22 #define CONFIG_H_
23 
24 #include "Position.h"
25 #include <string>
26 
27 namespace Phoenix
28 {
29 
30 class Config {
31 public:
32  Config();
33  ~Config();
34  void load();
36  static bool LOGGING;
37  static bool TRAINER_LOGGING;
38  static bool VERBOSE;
39  static unsigned int BUFFER_MAX_HISTORY;
40  static unsigned int PLAYER_MAX_HISTORY;
41  static unsigned int BALL_MAX_HISTORY;
42  static unsigned int COMMANDS_MAX_HISTORY;
43  static unsigned int COMMAND_PRECISION;
44  static std::string LOG_NAME;
45  static bool PLAYER_HISTORY;
46 };
47 
48 } // End namespace Phoenix
52 #endif /* CONFIG_H_ */
static unsigned int BUFFER_MAX_HISTORY
Definition: Config.h:39
Position The Position lorem Ipsum
Definition: Position.h:50
static std::string LOG_NAME
Definition: Config.h:44
static unsigned int COMMANDS_MAX_HISTORY
Definition: Config.h:42
static unsigned int PLAYER_MAX_HISTORY
Definition: Config.h:40
static bool VERBOSE
Definition: Config.h:38
void load()
Definition: Config.cpp:88
static unsigned int COMMAND_PRECISION
Definition: Config.h:43
static bool LOGGING
Definition: Config.h:36
static bool PLAYER_HISTORY
Definition: Config.h:45
static unsigned int BALL_MAX_HISTORY
Definition: Config.h:41
static Position POSITION
Definition: Config.h:35
static bool TRAINER_LOGGING
Definition: Config.h:37