openMSX
MSXCliComm.hh
Go to the documentation of this file.
1 #ifndef MSXCLICOMM_HH
2 #define MSXCLICOMM_HH
3 
4 #include "CliComm.hh"
5 #include "hash_map.hh"
6 #include "xxhash.hh"
7 
8 namespace openmsx {
9 
10 class MSXMotherBoard;
11 class GlobalCliComm;
12 
13 class MSXCliComm final : public CliComm
14 {
15 public:
16  MSXCliComm(MSXMotherBoard& motherBoard, GlobalCliComm& cliComm);
17 
18  void log(LogLevel level, std::string_view message) override;
19  void update(UpdateType type, std::string_view name,
20  std::string_view value) override;
21 
22 private:
23  MSXMotherBoard& motherBoard;
24  GlobalCliComm& cliComm;
26 };
27 
28 } // namespace openmsx
29 
30 #endif
xxhash.hh
openmsx::CliComm::UpdateType
UpdateType
Definition: CliComm.hh:20
openmsx::CliComm::LogLevel
LogLevel
Definition: CliComm.hh:13
openmsx::GlobalCliComm
Definition: GlobalCliComm.hh:15
openmsx::MSXCliComm::update
void update(UpdateType type, std::string_view name, std::string_view value) override
Definition: MSXCliComm.cc:18
openmsx::MSXCliComm::log
void log(LogLevel level, std::string_view message) override
Definition: MSXCliComm.cc:13
openmsx::CliComm::NUM_UPDATES
Definition: CliComm.hh:31
openmsx::MSXMotherBoard
Definition: MSXMotherBoard.hh:59
openmsx::MSXCliComm::MSXCliComm
MSXCliComm(MSXMotherBoard &motherBoard, GlobalCliComm &cliComm)
Definition: MSXCliComm.cc:7
hash_map.hh
openmsx::MSXCliComm
Definition: MSXCliComm.hh:13
openmsx::CliComm
Definition: CliComm.hh:10
CliComm.hh
openmsx
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5
hash_map< std::string, std::string, XXHasher >