// $Id: BreakPoint.hh 5854 2006-11-06 18:24:21Z m9710797 $ #ifndef BREAKPOINT_HH #define BREAKPOINT_HH #include "BreakPointBase.hh" #include "openmsx.hh" namespace openmsx { class MSXCliComm; class TclObject; /** Base class for CPU breakpoints. * For performance reasons every bp is associated with exactly one * (immutable) address. */ class BreakPoint : public BreakPointBase { public: BreakPoint(MSXCliComm& CliComm, word address, std::auto_ptr command, std::auto_ptr condition); word getAddress() const; unsigned getId() const; private: word address; unsigned id; static unsigned lastId; }; } // namespace openmsx #endif