openMSX
Debuggable.hh
Go to the documentation of this file.
1 #ifndef DEBUGGABLE_HH
2 #define DEBUGGABLE_HH
3 
4 #include "openmsx.hh"
5 #include <string>
6 
7 namespace openmsx {
8 
9 class Debuggable
10 {
11 public:
12  [[nodiscard]] virtual unsigned getSize() const = 0;
13  [[nodiscard]] virtual const std::string& getDescription() const = 0;
14  [[nodiscard]] virtual byte read(unsigned address) = 0;
15  virtual void write(unsigned address, byte value) = 0;
16 
17 protected:
18  Debuggable() = default;
19  ~Debuggable() = default;
20 };
21 
22 } // namespace openmsx
23 
24 #endif
openmsx.hh
openmsx::Debuggable::getDescription
virtual const std::string & getDescription() const =0
openmsx::Debuggable
Definition: Debuggable.hh:10
openmsx::Debuggable::~Debuggable
~Debuggable()=default
openmsx::Debuggable::read
virtual byte read(unsigned address)=0
openmsx::Debuggable::Debuggable
Debuggable()=default
openmsx::Debuggable::getSize
virtual unsigned getSize() const =0
openmsx::Debuggable::write
virtual void write(unsigned address, byte value)=0
openmsx
This file implemented 3 utility functions:
Definition: Autofire.cc:5