breakpoint_change
interface is implemented by
objects that wish to get notified when breakpoints are added,
removed, or changed in some way.
The object that wants to get notified of changes to breakpoints in
a another object would use the simple_dispatcher
in
the breakpoint_change port of that other object. The other object
will then lookup the breakpoint_change
interface in
the object to notify and use that when breakpoint updates occur.
The breakpoint_change port is implemented by objects of the cell class, and a listener that registers on a cell with get notified on any breakpoint changes in that cell.
SIM_INTERFACE(breakpoint_change) { void (*breakpoint_added)(conf_object_t *obj, conf_object_t *bp_obj, breakpoint_handle_t handle); void (*breakpoint_removed)(conf_object_t *obj, conf_object_t *bp_obj, breakpoint_handle_t handle); }; #define BREAKPOINT_CHANGE_INTERFACE "breakpoint_change"