KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PANE_ZONE_VIEWER Class Reference

#include <pane_zone_viewer.h>

Inheritance diagram for PANE_ZONE_VIEWER:
ZONE_SELECTION_CHANGE_NOTIFIER

Public Member Functions

 PANE_ZONE_VIEWER (wxWindow *aParent, PCB_BASE_FRAME *aPcbFrame)
 
 ~PANE_ZONE_VIEWER () override
 
void ActivateSelectedZone (ZONE *new_zone) override
 
void OnNotebook (wxNotebookEvent &aEvent)
 
PANEL_ZONE_GALGetZoneGAL () const
 
ZONEGetZone () const
 
void OnZoneSelectionChanged (ZONE *aZone)
 Inform the subscriber about the zone selection change.
 
ZONEGetSelectedZone () const
 

Private Attributes

PCB_BASE_FRAMEm_pcbFrame
 
std::unordered_map< int, PANEL_ZONE_GAL_CONTAINER * > m_zoneContainers
 
PANEL_ZONE_GALm_zoneGAL {}
 
ZONEm_zone {}
 

Detailed Description

Definition at line 39 of file pane_zone_viewer.h.

Constructor & Destructor Documentation

◆ PANE_ZONE_VIEWER()

PANE_ZONE_VIEWER::PANE_ZONE_VIEWER ( wxWindow *  aParent,
PCB_BASE_FRAME aPcbFrame 
)

◆ ~PANE_ZONE_VIEWER()

PANE_ZONE_VIEWER::~PANE_ZONE_VIEWER ( )
overridedefault

Member Function Documentation

◆ ActivateSelectedZone()

◆ GetSelectedZone()

ZONE * ZONE_SELECTION_CHANGE_NOTIFIER::GetSelectedZone ( ) const
inlineinherited

◆ GetZone()

ZONE * ZONE_SELECTION_CHANGE_NOTIFIER::GetZone ( ) const
inlineinherited

◆ GetZoneGAL()

PANEL_ZONE_GAL * PANE_ZONE_VIEWER::GetZoneGAL ( ) const
inline

◆ OnNotebook()

void PANE_ZONE_VIEWER::OnNotebook ( wxNotebookEvent &  aEvent)

◆ OnZoneSelectionChanged()

void ZONE_SELECTION_CHANGE_NOTIFIER::OnZoneSelectionChanged ( ZONE aZone)
inlineinherited

Inform the subscriber about the zone selection change.

Parameters
aZoneThe current zone selection from the publisher

Definition at line 46 of file zone_selection_change_notifier.h.

References ZONE_SELECTION_CHANGE_NOTIFIER::ActivateSelectedZone(), and ZONE_SELECTION_CHANGE_NOTIFIER::m_zone.

Member Data Documentation

◆ m_pcbFrame

PCB_BASE_FRAME* PANE_ZONE_VIEWER::m_pcbFrame
private

Definition at line 53 of file pane_zone_viewer.h.

Referenced by ActivateSelectedZone().

◆ m_zone

◆ m_zoneContainers

std::unordered_map<int, PANEL_ZONE_GAL_CONTAINER*> PANE_ZONE_VIEWER::m_zoneContainers
private

Definition at line 54 of file pane_zone_viewer.h.

Referenced by ActivateSelectedZone().

◆ m_zoneGAL

PANEL_ZONE_GAL* PANE_ZONE_VIEWER::m_zoneGAL {}
private

Definition at line 55 of file pane_zone_viewer.h.

Referenced by ActivateSelectedZone(), GetZoneGAL(), and OnNotebook().


The documentation for this class was generated from the following files: