Belofte version 2.1.8
A promising chess program using the UCI or Winboard interface
commandReader Class Referencefinal

#include <belofte.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 146 of file belofte.h.

Constructor & Destructor Documentation

◆ commandReader() [1/3]

commandReader::commandReader ( )

Definition at line 189 of file belofte.cpp.

◆ ~commandReader()

commandReader::~commandReader ( )

Definition at line 198 of file belofte.cpp.

+ Here is the call graph for this function:

◆ commandReader() [2/3]

commandReader::commandReader ( commandReader const &  )
delete

◆ commandReader() [3/3]

commandReader::commandReader ( commandReader &&  )
delete

Member Function Documentation

◆ operator=() [1/2]

commandReader & commandReader::operator= ( commandReader const &  )
delete

◆ operator=() [2/2]

commandReader & commandReader::operator= ( commandReader &&  )
delete

◆ attach()

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

Definition at line 270 of file belofte.cpp.

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

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

◆ detach()

void commandReader::detach ( )

Definition at line 285 of file belofte.cpp.

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

+ Here is the caller graph for this function:

◆ isFileAttached()

bool commandReader::isFileAttached ( )

Definition at line 277 of file belofte.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 293 of file belofte.cpp.

+ Here is the call graph for this function:

◆ setBatchMode()

void commandReader::setBatchMode ( )

Definition at line 299 of file belofte.cpp.

Referenced by main().

+ Here is the caller graph for this function:

◆ clearBatchMode()

void commandReader::clearBatchMode ( )

Definition at line 304 of file belofte.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 245 of file belofte.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 204 of file belofte.cpp.

Referenced by main().

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