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

Base class for CPU breakpoints. More...

#include <BreakPoint.hh>

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

Public Member Functions

 BreakPoint (word address, TclObject command, TclObject condition, bool once)
 
word getAddress () const
 
unsigned getId () 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)
 

Additional Inherited Members

- Protected Member Functions inherited from openmsx::BreakPointBase
 BreakPointBase (TclObject command_, TclObject condition_, bool once_)
 

Detailed Description

Base class for CPU breakpoints.

For performance reasons every bp is associated with exactly one (immutable) address.

Definition at line 13 of file BreakPoint.hh.

Constructor & Destructor Documentation

◆ BreakPoint()

openmsx::BreakPoint::BreakPoint ( word  address,
TclObject  command,
TclObject  condition,
bool  once 
)

Definition at line 8 of file BreakPoint.cc.

References openmsx::BreakPointBase::BreakPointBase().

Member Function Documentation

◆ getAddress()

word openmsx::BreakPoint::getAddress ( ) const
inline

Definition at line 18 of file BreakPoint.hh.

Referenced by openmsx::CompareBreakpoints::operator()().

◆ getId()

unsigned openmsx::BreakPoint::getId ( ) const
inline

Definition at line 19 of file BreakPoint.hh.


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