Belofte version 2.1.9
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 ()
 no interactive input, mainly during start and '@' execute
 
void setBatchMode ()
 
void clearBatchMode ()
 
cmdParam getCommand ()
 
void runner (void)
 

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

Definition at line 12 of file commandreader.cpp.

+ 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 82 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 97 of file commandreader.cpp.

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

+ Here is the caller graph for this function:

◆ isFileAttached()

bool commandReader::isFileAttached ( )

Definition at line 89 of file commandreader.cpp.

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

no interactive input, mainly during start and '@' execute

Definition at line 105 of file commandreader.cpp.

+ Here is the call graph for this function:

◆ setBatchMode()

void commandReader::setBatchMode ( )

Definition at line 111 of file commandreader.cpp.

Referenced by main().

+ Here is the caller graph for this function:

◆ clearBatchMode()

void commandReader::clearBatchMode ( )

Definition at line 116 of file commandreader.cpp.

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 59 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 ( void )

Definition at line 18 of file commandreader.cpp.

Referenced by main().

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