Belofte version 2.1.9
A promising chess program using the UCI or Winboard interface
|
implementation of specific implementation More...
#include <engineinterface.h>
Public Member Functions | |
BelofteMode () | |
~BelofteMode () override | |
void | sendPrompt () override |
![]() | |
engineInterface (std::string const &s, std::string const &h="") | |
Common commands to all modes this ctor is called for each iface. | |
virtual | ~engineInterface () |
engineInterface (engineInterface const &)=delete | |
engineInterface (engineInterface &&)=delete | |
engineInterface & | operator= (engineInterface const &)=delete |
engineInterface & | operator= (engineInterface &&)=delete |
void | execute (std::string const &command, std::string const ¶ms) |
virtual void | setRunning (bool const r) |
virtual bool | isRunning () const |
virtual void | sendResponse (std::string const &response) |
virtual void | sendInvalidMove (std::string const &info, std::string const &reason) |
virtual void | sendError (std::string const &error, std::string const &description) |
virtual void | sendHelp (std::string const &args) |
Send help on command or all commands. | |
virtual void | sendInfo (std::string const &info) |
virtual void | sendDebug (int const l, std::string const &info) |
virtual void | sendMove (bBoard &b, bMove const &m) |
virtual void | sendResult (bBoard const &b, gameResult_t const gr) const |
virtual void | sendInfoSearchStart (std::string const &info) |
virtual void | sendInfoDepth (int depth, int seldepth, int64_t nodes, int nps) |
virtual void | sendInfoSearching (bBoard const &b, int const nLogDepth, depth_t const nMaxDepth, bScore const sc, int64_t const t, int64_t const nodes) const |
virtual void | sendInfoSearching (bBoard const &b, int const nLogDepth, depth_t const nMaxDepth, std::string const &comment, bScore const sc, int64_t const t, int64_t const nodes) const |
virtual void | sendInfoCurrMove (bBoard const &b, depth_t const nCurDepth, bMove const &m, movenum_t const moveid, int64_t const nodes) const |
std::string const & | getHint () const |
operator std::string () const & | |
virtual std::string | engineGameResultString (gameResult_t const gr) const |
Additional Inherited Members | |
![]() | |
static std::string | scoreAsString (bScore const score) |
![]() | |
void | attachCommand (belofte::stringList const &sCommands, bool const published=true) |
virtual std::string | scoreString (bScore const score) const |
![]() | |
static engineCommands_t & | getEngineCommands () |
implementation of specific implementation
Definition at line 118 of file engineinterface.h.
BelofteMode::BelofteMode | ( | ) |
|
inlineoverride |
Definition at line 121 of file engineinterface.h.
|
overridevirtual |
Reimplemented from engineInterface.
Definition at line 247 of file engineinterface.cpp.