openMSX
|
#include <TclCallback.hh>
Public Member Functions | |
TclCallback (CommandController &controller, std::string_view name, static_string_view description, std::string_view defaultValue, Setting::Save saveSetting, bool isMessageCallback=false) | |
TclCallback (StringSetting &setting) | |
TclObject | execute () const |
TclObject | execute (int arg1) const |
TclObject | execute (int arg1, int arg2) const |
TclObject | execute (int arg1, std::string_view arg2) const |
TclObject | execute (std::string_view arg1, std::string_view arg2) const |
TclObject | getValue () const |
StringSetting & | getSetting () const |
Friends | |
class | TclCallbackMessages |
Definition at line 14 of file TclCallback.hh.
openmsx::TclCallback::TclCallback | ( | CommandController & | controller, |
std::string_view | name, | ||
static_string_view | description, | ||
std::string_view | defaultValue, | ||
Setting::Save | saveSetting, | ||
bool | isMessageCallback = false |
||
) |
Definition at line 13 of file TclCallback.cc.
|
explicit |
Definition at line 28 of file TclCallback.cc.
TclObject openmsx::TclCallback::execute | ( | ) | const |
Definition at line 39 of file TclCallback.cc.
References getValue(), and openmsx::makeTclList().
Referenced by openmsx::VDP::changeRegister(), openmsx::CheckedRam::read(), and openmsx::VDPCmdEngine::setCmdReg().
TclObject openmsx::TclCallback::execute | ( | int | arg1 | ) | const |
Definition at line 48 of file TclCallback.cc.
References getValue(), and openmsx::makeTclList().
TclObject openmsx::TclCallback::execute | ( | int | arg1, |
int | arg2 | ||
) | const |
Definition at line 57 of file TclCallback.cc.
References getValue(), and openmsx::makeTclList().
TclObject openmsx::TclCallback::execute | ( | int | arg1, |
std::string_view | arg2 | ||
) | const |
Definition at line 66 of file TclCallback.cc.
References getValue(), and openmsx::makeTclList().
TclObject openmsx::TclCallback::execute | ( | std::string_view | arg1, |
std::string_view | arg2 | ||
) | const |
Definition at line 75 of file TclCallback.cc.
References getValue(), and openmsx::makeTclList().
|
inline |
Definition at line 34 of file TclCallback.hh.
Referenced by openmsx::CheckedRam::CheckedRam(), getValue(), and openmsx::CheckedRam::~CheckedRam().
TclObject openmsx::TclCallback::getValue | ( | ) | const |
Definition at line 34 of file TclCallback.cc.
References getSetting(), and openmsx::Setting::getValue().
Referenced by execute(), execute(), execute(), execute(), and execute().
|
friend |
Definition at line 17 of file TclCallback.hh.