KiCad PCB EDA Suite
|
Subscriber who is interested in the zone selection change. More...
#include <zone_selection_change_notifier.h>
Public Member Functions | |
virtual | ~ZONE_SELECTION_CHANGE_NOTIFIER ()=default |
ZONE * | GetZone () const |
void | OnZoneSelectionChanged (ZONE *aZone) |
Inform the subscriber about the zone selection change. | |
ZONE * | GetSelectedZone () const |
Protected Member Functions | |
virtual void | ActivateSelectedZone (ZONE *new_zone)=0 |
Private Attributes | |
ZONE * | m_zone {} |
Subscriber who is interested in the zone selection change.
Definition at line 35 of file zone_selection_change_notifier.h.
|
virtualdefault |
|
protectedpure virtual |
Implemented in PANEL_ZONE_GAL, PANE_ZONE_VIEWER, and PANEL_ZONE_PROPERTIES.
Referenced by OnZoneSelectionChanged().
|
inline |
Definition at line 54 of file zone_selection_change_notifier.h.
References m_zone.
|
inline |
Definition at line 40 of file zone_selection_change_notifier.h.
References m_zone.
Referenced by DIALOG_ZONE_MANAGER::OnZoneNameUpdate().
|
inline |
Inform the subscriber about the zone selection change.
aZone | The current zone selection from the publisher |
Definition at line 46 of file zone_selection_change_notifier.h.
References ActivateSelectedZone(), and m_zone.
|
private |
Definition at line 60 of file zone_selection_change_notifier.h.
Referenced by GetSelectedZone(), GetZone(), and OnZoneSelectionChanged().