openMSX
Public Member Functions | Protected Member Functions | List of all members
openmsx::SimpleDebuggable Class Reference

#include <SimpleDebuggable.hh>

Inheritance diagram for openmsx::SimpleDebuggable:
Inheritance graph
[legend]
Collaboration diagram for openmsx::SimpleDebuggable:
Collaboration graph
[legend]

Public Member Functions

unsigned getSize () const final override
 
const std::string & getDescription () const final override
 
byte read (unsigned address) override
 
virtual byte read (unsigned address, EmuTime::param time)
 
void write (unsigned address, byte value) override
 
virtual void write (unsigned address, byte value, EmuTime::param time)
 
const std::string & getName () const
 
MSXMotherBoardgetMotherBoard () const
 

Protected Member Functions

 SimpleDebuggable (MSXMotherBoard &motherBoard, std::string name, std::string description, unsigned size)
 
 ~SimpleDebuggable ()
 
- Protected Member Functions inherited from openmsx::Debuggable
 Debuggable ()=default
 
 ~Debuggable ()=default
 

Detailed Description

Definition at line 11 of file SimpleDebuggable.hh.

Constructor & Destructor Documentation

◆ SimpleDebuggable()

openmsx::SimpleDebuggable::SimpleDebuggable ( MSXMotherBoard motherBoard,
std::string  name,
std::string  description,
unsigned  size 
)
protected

◆ ~SimpleDebuggable()

openmsx::SimpleDebuggable::~SimpleDebuggable ( )
protected

Member Function Documentation

◆ getDescription()

const std::string & openmsx::SimpleDebuggable::getDescription ( ) const
finaloverridevirtual

Implements openmsx::Debuggable.

Definition at line 29 of file SimpleDebuggable.cc.

◆ getMotherBoard()

MSXMotherBoard& openmsx::SimpleDebuggable::getMotherBoard ( ) const
inline

Definition at line 23 of file SimpleDebuggable.hh.

References SimpleDebuggable(), and ~SimpleDebuggable().

Referenced by openmsx::JoyPortDebuggable::read().

◆ getName()

const std::string& openmsx::SimpleDebuggable::getName ( ) const
inline

Definition at line 22 of file SimpleDebuggable.hh.

◆ getSize()

unsigned openmsx::SimpleDebuggable::getSize ( ) const
finaloverridevirtual

Implements openmsx::Debuggable.

Definition at line 24 of file SimpleDebuggable.cc.

◆ read() [1/2]

byte openmsx::SimpleDebuggable::read ( unsigned  address)
overridevirtual

◆ read() [2/2]

byte openmsx::SimpleDebuggable::read ( unsigned  address,
EmuTime::param  time 
)
virtual

Reimplemented in openmsx::JoyPortDebuggable.

Definition at line 39 of file SimpleDebuggable.cc.

References UNREACHABLE.

◆ write() [1/2]

void openmsx::SimpleDebuggable::write ( unsigned  address,
byte  value 
)
overridevirtual

◆ write() [2/2]

void openmsx::SimpleDebuggable::write ( unsigned  address,
byte  value,
EmuTime::param  time 
)
virtual

Definition at line 49 of file SimpleDebuggable.cc.


The documentation for this class was generated from the following files: