openMSX
Public Member Functions | List of all members
openmsx::RomDebuggable Class Referencefinal
Inheritance diagram for openmsx::RomDebuggable:
Inheritance graph
[legend]
Collaboration diagram for openmsx::RomDebuggable:
Collaboration graph
[legend]

Public Member Functions

 RomDebuggable (Debugger &debugger, Rom &rom)
 
 ~RomDebuggable ()
 
unsigned getSize () const override
 
const std::string & getDescription () const override
 
byte read (unsigned address) override
 
void write (unsigned address, byte value) override
 
void moved (Rom &r)
 

Additional Inherited Members

- Protected Member Functions inherited from openmsx::Debuggable
 Debuggable ()
 
 ~Debuggable ()
 

Detailed Description

Definition at line 30 of file Rom.cc.

Constructor & Destructor Documentation

◆ RomDebuggable()

openmsx::RomDebuggable::RomDebuggable ( Debugger debugger,
Rom rom 
)

Definition at line 380 of file Rom.cc.

References openmsx::Rom::getName(), and openmsx::Debugger::registerDebuggable().

◆ ~RomDebuggable()

openmsx::RomDebuggable::~RomDebuggable ( )

Definition at line 386 of file Rom.cc.

References openmsx::Rom::getName(), and openmsx::Debugger::unregisterDebuggable().

Member Function Documentation

◆ getDescription()

const string & openmsx::RomDebuggable::getDescription ( ) const
overridevirtual

Implements openmsx::Debuggable.

Definition at line 396 of file Rom.cc.

References openmsx::Rom::getDescription().

◆ getSize()

unsigned openmsx::RomDebuggable::getSize ( ) const
overridevirtual

Implements openmsx::Debuggable.

Definition at line 391 of file Rom.cc.

References openmsx::Rom::getSize().

Referenced by read().

◆ moved()

void openmsx::RomDebuggable::moved ( Rom r)

Definition at line 412 of file Rom.cc.

◆ read()

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

Implements openmsx::Debuggable.

Definition at line 401 of file Rom.cc.

References getSize().

◆ write()

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

Implements openmsx::Debuggable.

Definition at line 407 of file Rom.cc.


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