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

#include <BreakPoint.hh>

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

Public Member Functions

std::optional< uint16_t > getAddress () const
 
TclObject getAddressString () const
 
void setAddress (Interpreter &interp, const TclObject &addr)
 
void evaluateAddress (Interpreter &interp)
 
std::string parseAddressError (Interpreter &interp) const
 
- Public Member Functions inherited from openmsx::BreakPointBase< BreakPoint >
unsigned getId () const
 
std::string getIdStr () const
 
TclObject getCondition () const
 
TclObject getCommand () const
 
bool isEnabled () const
 
bool onlyOnce () const
 
void setCondition (const TclObject &c)
 
void setCommand (const TclObject &c)
 
void setEnabled (Interpreter &interp, const TclObject &e)
 
void setEnabled (bool e)
 
void setOnce (Interpreter &interp, const TclObject &o)
 
void setOnce (bool o)
 
bool checkAndExecute (GlobalCliComm &cliComm, Interpreter &interp)
 

Static Public Attributes

static constexpr std::string_view prefix = "bp#"
 

Additional Inherited Members

- Protected Member Functions inherited from openmsx::BreakPointBase< BreakPoint >
 BreakPointBase ()
 
- Protected Attributes inherited from openmsx::BreakPointBase< BreakPoint >
unsigned id
 

Detailed Description

Definition at line 14 of file BreakPoint.hh.

Member Function Documentation

◆ evaluateAddress()

void openmsx::BreakPoint::evaluateAddress ( Interpreter interp)
inline

Definition at line 27 of file BreakPoint.hh.

Referenced by setAddress().

◆ getAddress()

std::optional< uint16_t > openmsx::BreakPoint::getAddress ( ) const
inline

Definition at line 20 of file BreakPoint.hh.

◆ getAddressString()

TclObject openmsx::BreakPoint::getAddressString ( ) const
inline

Definition at line 21 of file BreakPoint.hh.

◆ parseAddressError()

std::string openmsx::BreakPoint::parseAddressError ( Interpreter interp) const
inline

Definition at line 35 of file BreakPoint.hh.

◆ setAddress()

void openmsx::BreakPoint::setAddress ( Interpreter interp,
const TclObject addr 
)
inline

Definition at line 22 of file BreakPoint.hh.

References evaluateAddress().

Referenced by openmsx::createNew< BreakPoint >().

Member Data Documentation

◆ prefix

constexpr std::string_view openmsx::BreakPoint::prefix = "bp#"
staticconstexpr

Definition at line 17 of file BreakPoint.hh.


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