11#if !defined(BELOFTE_H)
31#define MYNAME "Belofte"
32#define MYLCNAME "belofte"
33#define MYVERSION "2.1.9"
34#if defined(BELOFTE_NOUNICODE)
35#define MYAUTHOR "Yves De Billoez"
37#define MYAUTHOR "Yves De Billoëz"
39#define DEVDATES "2004-2025"
40#define MYCOPYRIGHT DEVDATES " (c)"
41#define MYLICENSE "Released under the GNU GPL v2 license"
44#define MYRELEASEDATE "on 19/08/2025"
46#define MYRELEASEDATE __DATE__ " - " __TIME__
49#define MYFULLNAME MYNAME " " MYVERSION
52#define DEBUGFILE "debug-" MYLCNAME "-" MYVERSION ".log"
78#if defined(BELOFTE_NOSIGNALS)
82#if defined(CHRONO_MISSING)
160 std::string
const setMode(std::string
const& iName);
161 std::string
const&
getMode()
const {
return m_interfaceName; }
165 void setConfig(std::string
const& s, int64_t v);
166 int64_t
getConfig(std::string
const& s, int64_t v);
167 void setConfig(std::string
const& s, std::string
const& v);
168 std::string
getConfig(std::string
const& s, std::string
const& v);
183 std::map<std::string, int64_t> m_settings;
184 std::map<std::string, std::string> m_stringsettings;
186 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
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
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 getName() const
std::string const setMode(std::string const &iName)
commandReader m_reader
searching output
game representation, singleton
implementation of user interface
output to std::cout and if required to debug and log-file
std::map< std::string, engineInterface * > engineInterfaces_t