openMSX
|
#include <MSXCliComm.hh>
Public Member Functions | |
MSXCliComm (MSXMotherBoard &motherBoard, GlobalCliComm &cliComm) | |
void | log (LogLevel level, std::string_view message) override |
void | update (UpdateType type, std::string_view name, std::string_view value) override |
void | updateFiltered (UpdateType type, std::string_view name, std::string_view value) override |
Same as update(), but checks that the value for type-name is the same as in the previous call. More... | |
![]() | |
void | printInfo (std::string_view message) |
void | printWarning (std::string_view message) |
void | printError (std::string_view message) |
void | printProgress (std::string_view message) |
void | printInfo (const char *message) |
void | printWarning (const char *message) |
void | printError (const char *message) |
void | printProgress (const char *message) |
template<typename... Args> | |
void | printInfo (Args &&...args) |
template<typename... Args> | |
void | printWarning (Args &&...args) |
template<typename... Args> | |
void | printError (Args &&...args) |
template<typename... Args> | |
void | printProgress (Args &&...args) |
Additional Inherited Members | |
![]() | |
enum | LogLevel { INFO , WARNING , LOGLEVEL_ERROR , PROGRESS , NUM_LEVELS } |
enum | UpdateType { LED , SETTING , SETTINGINFO , HARDWARE , PLUG , MEDIA , STATUS , EXTENSION , SOUNDDEVICE , CONNECTOR , DEBUG_UPDT , NUM_UPDATES } |
![]() | |
static span< const char *const > | getLevelStrings () |
static span< const char *const > | getUpdateStrings () |
![]() | |
CliComm ()=default | |
~CliComm ()=default | |
Definition at line 13 of file MSXCliComm.hh.
openmsx::MSXCliComm::MSXCliComm | ( | MSXMotherBoard & | motherBoard, |
GlobalCliComm & | cliComm | ||
) |
Definition at line 7 of file MSXCliComm.cc.
|
overridevirtual |
Implements openmsx::CliComm.
Definition at line 13 of file MSXCliComm.cc.
References openmsx::GlobalCliComm::log().
|
overridevirtual |
Implements openmsx::CliComm.
Definition at line 18 of file MSXCliComm.cc.
References openmsx::MSXMotherBoard::getMachineID(), and openmsx::CliComm::NUM_UPDATES.
|
overridevirtual |
Same as update(), but checks that the value for type-name is the same as in the previous call.
If so do nothing.
Implements openmsx::CliComm.
Definition at line 24 of file MSXCliComm.cc.
References openmsx::MSXMotherBoard::getMachineID(), and openmsx::CliComm::NUM_UPDATES.