openMSX
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
openmsx::BreakPointBase< Derived > Class Template Reference

CRTP base class for CPU break and watch points. More...

#include <BreakPointBase.hh>

Inheritance diagram for openmsx::BreakPointBase< Derived >:
Inheritance graph
[legend]

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
 

Detailed Description

template<typename Derived>
class openmsx::BreakPointBase< Derived >

CRTP base class for CPU break and watch points.

Definition at line 18 of file BreakPointBase.hh.

Constructor & Destructor Documentation

◆ BreakPointBase()

template<typename Derived >
openmsx::BreakPointBase< Derived >::BreakPointBase ( )
inlineprotected

Definition at line 59 of file BreakPointBase.hh.

Member Function Documentation

◆ checkAndExecute()

template<typename Derived >
bool openmsx::BreakPointBase< Derived >::checkAndExecute ( GlobalCliComm cliComm,
Interpreter interp 
)
inline

◆ getCommand()

template<typename Derived >
TclObject openmsx::BreakPointBase< Derived >::getCommand ( ) const
inline

Definition at line 25 of file BreakPointBase.hh.

◆ getCondition()

template<typename Derived >
TclObject openmsx::BreakPointBase< Derived >::getCondition ( ) const
inline

Definition at line 24 of file BreakPointBase.hh.

◆ getId()

template<typename Derived >
unsigned openmsx::BreakPointBase< Derived >::getId ( ) const
inline

Definition at line 21 of file BreakPointBase.hh.

References openmsx::BreakPointBase< Derived >::id.

◆ getIdStr()

template<typename Derived >
std::string openmsx::BreakPointBase< Derived >::getIdStr ( ) const
inline

◆ isEnabled()

template<typename Derived >
bool openmsx::BreakPointBase< Derived >::isEnabled ( ) const
inline

Definition at line 26 of file BreakPointBase.hh.

◆ onlyOnce()

template<typename Derived >
bool openmsx::BreakPointBase< Derived >::onlyOnce ( ) const
inline

◆ setCommand()

template<typename Derived >
void openmsx::BreakPointBase< Derived >::setCommand ( const TclObject c)
inline

Definition at line 30 of file BreakPointBase.hh.

◆ setCondition()

template<typename Derived >
void openmsx::BreakPointBase< Derived >::setCondition ( const TclObject c)
inline

Definition at line 29 of file BreakPointBase.hh.

◆ setEnabled() [1/2]

template<typename Derived >
void openmsx::BreakPointBase< Derived >::setEnabled ( bool  e)
inline

Definition at line 34 of file BreakPointBase.hh.

◆ setEnabled() [2/2]

template<typename Derived >
void openmsx::BreakPointBase< Derived >::setEnabled ( Interpreter interp,
const TclObject e 
)
inline

◆ setOnce() [1/2]

template<typename Derived >
void openmsx::BreakPointBase< Derived >::setOnce ( bool  o)
inline

Definition at line 38 of file BreakPointBase.hh.

◆ setOnce() [2/2]

template<typename Derived >
void openmsx::BreakPointBase< Derived >::setOnce ( Interpreter interp,
const TclObject o 
)
inline

Member Data Documentation

◆ id

template<typename Derived >
unsigned openmsx::BreakPointBase< Derived >::id
protected

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