11#if !defined(BELOFTE_H)
32#define MYNAME "Belofte"
33#define MYLCNAME "belofte"
34#define MYVERSION "2.2.0"
35#if defined(BELOFTE_NOUNICODE)
36#define MYAUTHOR "Yves De Billoez"
38#define MYAUTHOR "Yves De Billoëz"
40#define DEVDATES "2004-2026"
41#define MYCOPYRIGHT DEVDATES " (c)"
42#define MYLICENSE "Released under the GNU GPL v2 license"
45#define MYRELEASEDATE "13/04/2026"
47#define MYRELEASEDATE __DATE__ " - " __TIME__
50#define MYFULLNAME MYNAME " " MYVERSION
53#define DEBUGFILE "debug-" MYLCNAME "-" MYVERSION ".log"
80#if defined(BELOFTE_NOSIGNALS)
84#if defined(CHRONO_MISSING)
165 std::string
const setMode(std::string
const& iName);
166 std::string
const&
getMode()
const {
return m_interfaceName; }
170 void setConfig(std::string
const& s, int64_t v);
171 int64_t
getConfig(std::string
const& s, int64_t v);
172 void setConfig(std::string
const& s, std::string
const& v);
173 std::string
getConfig(std::string
const& s, std::string
const& v);
175 static void setName(
char *sName);
188 std::map<std::string, int64_t> m_settings;
189 std::map<std::string, std::string> m_stringsettings;
191 std::string m_interfaceName;
std::bitset< 64 > boardbitmap_t
std::map< std::string, bool > commandList_t
engineInterface * AppEI()
std::map< std::string, engineUserCommand * > engineCommands_t
Singleton implementation of application.
appInstance & operator=(appInstance const &)=delete
outputWriter sout
normal output
std::string const & getMode() const
static void setName(char *sName)
set name of executable based on argv[0] Remove leading / and \ characters Remove trailing ....
bel_debug m_debuginterface
appInstance(appInstance const &)=delete
bel_hash m_hashEngine
read input
static std::string getName()
appInstance(appInstance &&)=delete
appInstance & operator=(appInstance &&)=delete
void setConfig(std::string const &s, int64_t v)
int64_t getConfig(std::string const &s, int64_t v)
std::string const setMode(std::string const &iName)
commandReader m_reader
searching output
game representation, singleton
implementation of user interface
Outputwriter class will log to debug file, stdout and log file in this order if they have been initia...
std::map< std::string, engineInterface * > engineInterfaces_t