Belofte version 2.2.0
A promising chess program using the UCI or Winboard interface
commandReader Class Reference

#include <commandreader.h>

Public Member Functions

 commandReader ()
 
 ~commandReader ()
 
 commandReader (commandReader const &)=delete
 
 commandReader (commandReader &&)=delete
 
commandReaderoperator= (commandReader const &)=delete
 
commandReaderoperator= (commandReader &&)=delete
 
bool attach (std::string const &ifile)
 
void detach ()
 
bool isFileAttached ()
 
bool isBatchMode ()
 
void setBatchMode ()
 
void clearBatchMode ()
 
cmdParam getCommand ()
 
void runner ()
 

Detailed Description

Definition at line 26 of file commandreader.h.

Constructor & Destructor Documentation

◆ commandReader() [1/3]

commandReader::commandReader ( )
inline

Definition at line 28 of file commandreader.h.

Referenced by commandReader(), commandReader(), operator=(), and operator=().

+ Here is the caller graph for this function:

◆ ~commandReader()

commandReader::~commandReader ( )
inline

Definition at line 31 of file commandreader.h.

+ Here is the call graph for this function:

◆ commandReader() [2/3]

commandReader::commandReader ( commandReader const & )
delete
+ Here is the call graph for this function:

◆ commandReader() [3/3]

commandReader::commandReader ( commandReader && )
delete
+ Here is the call graph for this function:

Member Function Documentation

◆ operator=() [1/2]

commandReader & commandReader::operator= ( commandReader const & )
delete
+ Here is the call graph for this function:

◆ operator=() [2/2]

commandReader & commandReader::operator= ( commandReader && )
delete
+ Here is the call graph for this function:

◆ attach()

bool commandReader::attach ( std::string const & ifile)

Definition at line 76 of file commandreader.cpp.

Referenced by cmd_exec::execute(), and cmd_execat::execute().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ detach()

void commandReader::detach ( )

Definition at line 83 of file commandreader.cpp.

Referenced by getCommand(), isFileAttached(), and ~commandReader().

+ Here is the caller graph for this function:

◆ isFileAttached()

bool commandReader::isFileAttached ( )
inline

Definition at line 45 of file commandreader.h.

Referenced by attach(), isBatchMode(), runner(), and ~commandReader().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isBatchMode()

bool commandReader::isBatchMode ( )
inline

Definition at line 51 of file commandreader.h.

+ Here is the call graph for this function:

◆ setBatchMode()

void commandReader::setBatchMode ( )
inline

Definition at line 56 of file commandreader.h.

Referenced by main().

+ Here is the caller graph for this function:

◆ clearBatchMode()

void commandReader::clearBatchMode ( )
inline

Definition at line 58 of file commandreader.h.

Referenced by main().

+ Here is the caller graph for this function:

◆ getCommand()

cmdParam commandReader::getCommand ( )
Attention
Bughouse moves use @ character as well

Definition at line 53 of file commandreader.cpp.

Referenced by runner().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ runner()

void commandReader::runner ( )

Definition at line 12 of file commandreader.cpp.

Referenced by main().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: