openMSX
|
CRTP base class for CPU break and watch points. More...
#include <BreakPointBase.hh>
Public Member Functions | |
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) |
Protected Member Functions | |
BreakPointBase () | |
Protected Attributes | |
unsigned | id |
CRTP base class for CPU break and watch points.
Definition at line 18 of file BreakPointBase.hh.
|
inlineprotected |
Definition at line 59 of file BreakPointBase.hh.
|
inline |
Definition at line 40 of file BreakPointBase.hh.
References openmsx::TclObject::executeCommand(), openmsx::BreakPointBase< Derived >::onlyOnce(), and openmsx::CliComm::printWarning().
|
inline |
Definition at line 25 of file BreakPointBase.hh.
|
inline |
Definition at line 24 of file BreakPointBase.hh.
|
inline |
Definition at line 21 of file BreakPointBase.hh.
References openmsx::BreakPointBase< Derived >::id.
|
inline |
Definition at line 22 of file BreakPointBase.hh.
References strCat().
Referenced by openmsx::MSXCPUInterface::insertBreakPoint(), openmsx::MSXCPUInterface::removeBreakPoint(), openmsx::MSXCPUInterface::removeCondition(), openmsx::Debugger::removeProbeBreakPoint(), and openmsx::MSXCPUInterface::setCondition().
|
inline |
Definition at line 26 of file BreakPointBase.hh.
|
inline |
Definition at line 27 of file BreakPointBase.hh.
Referenced by openmsx::BreakPointBase< Derived >::checkAndExecute().
|
inline |
Definition at line 30 of file BreakPointBase.hh.
|
inline |
Definition at line 29 of file BreakPointBase.hh.
|
inline |
Definition at line 34 of file BreakPointBase.hh.
|
inline |
Definition at line 31 of file BreakPointBase.hh.
References openmsx::BreakPointBase< Derived >::setEnabled().
Referenced by openmsx::BreakPointBase< Derived >::setEnabled().
|
inline |
Definition at line 38 of file BreakPointBase.hh.
|
inline |
Definition at line 35 of file BreakPointBase.hh.
References openmsx::TclObject::getBoolean(), and openmsx::BreakPointBase< Derived >::setOnce().
Referenced by openmsx::MSXCPUInterface::doStep(), and openmsx::BreakPointBase< Derived >::setOnce().
|
protected |
Definition at line 60 of file BreakPointBase.hh.
Referenced by openmsx::BreakPointBase< Derived >::getId(), and openmsx::WatchPoint::WatchPoint().