openMSX
Public Member Functions | Friends | List of all members
openmsx::WatchIO Class Referencefinal

#include <MSXWatchIODevice.hh>

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

Public Member Functions

 WatchIO (MSXMotherBoard &motherboard, WatchPoint::Type type, unsigned beginAddr, unsigned endAddr, TclObject command, TclObject condition, bool once, unsigned newId=-1)
 
MSXWatchIODevicegetDevice (byte port)
 
- Public Member Functions inherited from openmsx::WatchPoint
 WatchPoint (TclObject command_, TclObject condition_, Type type_, unsigned beginAddr_, unsigned endAddr_, bool once_, unsigned newId=-1)
 Begin and end address are inclusive (IOW range = [begin, end]) More...
 
virtual ~WatchPoint ()=default
 
unsigned getId () const
 
Type getType () const
 
unsigned getBeginAddress () const
 
unsigned getEndAddress () const
 
- Public Member Functions inherited from openmsx::BreakPointBase
std::string_view getCondition () const
 
std::string_view getCommand () const
 
TclObject getConditionObj () const
 
TclObject getCommandObj () const
 
bool onlyOnce () const
 
void checkAndExecute (GlobalCliComm &cliComm, Interpreter &interp)
 

Friends

class MSXWatchIODevice
 

Additional Inherited Members

- Public Types inherited from openmsx::WatchPoint
enum  Type { READ_IO, WRITE_IO, READ_MEM, WRITE_MEM }
 
- Protected Member Functions inherited from openmsx::BreakPointBase
 BreakPointBase (TclObject command_, TclObject condition_, bool once_)
 

Detailed Description

Definition at line 12 of file MSXWatchIODevice.hh.

Constructor & Destructor Documentation

◆ WatchIO()

openmsx::WatchIO::WatchIO ( MSXMotherBoard motherboard,
WatchPoint::Type  type,
unsigned  beginAddr,
unsigned  endAddr,
TclObject  command,
TclObject  condition,
bool  once,
unsigned  newId = -1 
)

Definition at line 14 of file MSXWatchIODevice.cc.

References openmsx::MSXMotherBoard::getMachineConfig().

Member Function Documentation

◆ getDevice()

MSXWatchIODevice & openmsx::WatchIO::getDevice ( byte  port)

Definition at line 28 of file MSXWatchIODevice.cc.

References openmsx::WatchPoint::getBeginAddress().

Friends And Related Function Documentation

◆ MSXWatchIODevice

friend class MSXWatchIODevice
friend

Definition at line 31 of file MSXWatchIODevice.hh.


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