Definition in file FuegoTestMain.cpp.
#include "SgSystem.h"
#include <iostream>
#include "FuegoTestEngine.h"
#include "GoInit.h"
#include "SgDebug.h"
#include "SgException.h"
#include "SgInit.h"
#include <boost/utility.hpp>
#include <boost/program_options/options_description.hpp>
#include <boost/program_options/cmdline.hpp>
#include <boost/program_options/variables_map.hpp>
#include <boost/program_options/parsers.hpp>
Go to the source code of this file.
Settings from command line options | |
bool | g_quiet |
string | g_config |
string | g_player |
Player string as in FuegoTestEngine::SetPlayer. | |
const char * | g_programPath |
Functions | |
void | MainLoop () |
void | Help (po::options_description &desc) |
void | ParseOptions (int argc, char **argv) |
int | main (int argc, char **argv) |
void @0::Help | ( | po::options_description & | desc | ) | [static] |
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 96 of file FuegoTestMain.cpp.
References g_programPath, g_quiet, GoFini(), GoInit(), MainLoop(), ParseOptions(), GtpFailure::Response(), SgDebug(), SgDebugToNull(), SgFini(), SgInit(), and SgException::what().
void @0::MainLoop | ( | ) | [static] |
Definition at line 43 of file FuegoTestMain.cpp.
References g_config, g_player, and g_programPath.
Referenced by main().
void @0::ParseOptions | ( | int | argc, | |
char ** | argv | |||
) | [static] |
Definition at line 60 of file FuegoTestMain.cpp.
References g_config, g_player, g_quiet, Help(), and SgRandom::SetSeed().
Referenced by main().
string g_config [static] |
string g_player [static] |
Player string as in FuegoTestEngine::SetPlayer.
Definition at line 37 of file FuegoTestMain.cpp.
Referenced by MainLoop(), and ParseOptions().
const char* g_programPath [static] |
bool g_quiet [static] |