Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

FuegoTestMain.cpp File Reference


Detailed Description

Main function for FuegoTest.

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)


Function Documentation

void @0::Help ( po::options_description &  desc  )  [static]

Definition at line 54 of file FuegoTestMain.cpp.

Referenced by ParseOptions().

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().


Variable Documentation

string g_config [static]

Definition at line 34 of file FuegoTestMain.cpp.

Referenced by MainLoop(), and ParseOptions().

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]

Definition at line 39 of file FuegoTestMain.cpp.

Referenced by main(), and MainLoop().

bool g_quiet [static]

Definition at line 32 of file FuegoTestMain.cpp.

Referenced by main(), and ParseOptions().


17 Jun 2010 Doxygen 1.4.7