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])
 
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
 
bool checkAndExecute (GlobalCliComm &cliComm, Interpreter &interp)
 

Friends

class MSXWatchIODevice
 

Additional Inherited Members

- Public Types inherited from openmsx::WatchPoint
enum  Type { READ_IO = 0 , WRITE_IO = 1 , READ_MEM = 2 , WRITE_MEM = 3 }
 
- 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 19 of file MSXWatchIODevice.cc.

References openmsx::MSXMotherBoard::getMachineConfig().

Member Function Documentation

◆ getDevice()

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

Definition at line 33 of file MSXWatchIODevice.cc.

References begin(), and openmsx::WatchPoint::getBeginAddress().

Friends And Related Symbol Documentation

◆ MSXWatchIODevice

friend class MSXWatchIODevice
friend

Definition at line 32 of file MSXWatchIODevice.hh.


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