openMSX
BreakPoint.hh
Go to the documentation of this file.
1 #ifndef BREAKPOINT_HH
2 #define BREAKPOINT_HH
3 
4 #include "BreakPointBase.hh"
5 #include "openmsx.hh"
6 
7 namespace openmsx {
8 
13 class BreakPoint final : public BreakPointBase
14 {
15 public:
16  BreakPoint(word address, TclObject command, TclObject condition);
17 
18  word getAddress() const { return address; }
19  unsigned getId() const { return id; }
20 
21 private:
22  unsigned id;
23  word address;
24 
25  static unsigned lastId;
26 };
27 
28 } // namespace openmsx
29 
30 #endif
word getAddress() const
Definition: BreakPoint.hh:18
BreakPoint(word address, TclObject command, TclObject condition)
Definition: BreakPoint.cc:8
Base class for CPU breakpoints.
Definition: BreakPoint.hh:13
Base class for CPU break and watch points.
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5
uint16_t word
16 bit unsigned integer
Definition: openmsx.hh:29
unsigned getId() const
Definition: BreakPoint.hh:19