26class WatchPoint :
public Clock::HandlerBase::AttachPoint,
public Event::HandlerBase::AttachPoint
36 virtual bool check() = 0;
37 virtual ~Logic() =
default;
41 Clock::HandlerBase::AttachPoint(),
42 Event::HandlerBase::AttachPoint(),
51 uintptr_t registerHandler(
const AttachPointMetaData& UNUSED(mdata))
override {
return 0; }
54 void beforeHandler(uintptr_t UNUSED(key),
const Event* UNUSED(ev))
override { check(); }
56 void afterHandler(uintptr_t UNUSED(key))
override {}
59 void beforeHandler(uintptr_t UNUSED(key),
const Cycle_t& UNUSED(cycle))
override {}
61 void afterHandler(uintptr_t UNUSED(key),
const bool& UNUSED(ret))
override { check(); }
63 std::string getName() {
return name_; }
66 void setEnterInteractive();
67 void setInteractiveMsg(
const std::string& msg);
70 Core::Serialization::ObjectMapComparison* obj_;
75 if ( obj_->compare() ) {
76 setEnterInteractive();
77 setInteractiveMsg(format_string(
"Watch point %s triggered", name_.c_str()));