| 
    KiCad PCB EDA Suite
    
   | 
 
#include <zones_container.h>
  
Public Member Functions | |
| ZONES_CONTAINER (BOARD *board) | |
| ~ZONES_CONTAINER () override=default | |
| std::vector< std::shared_ptr< MANAGED_ZONE > > | GetManagedZones () const | 
| std::shared_ptr< ZONE_SETTINGS > | GetZoneSettings (ZONE *zone) | 
| std::vector< ZONE * > & | GetClonedZoneList () | 
| Adapter for the zone filler ,zones are actually managed the smart ptr.   | |
| std::vector< ZONE * > & | GetOriginalZoneList () | 
| Used for restoring the zones in the board after refilling.   | |
| void | FlushZoneSettingsChange () | 
| Flush the zone settings change to the cloned ones.   | |
| bool | FlushPriorityChange () | 
| Flush the priority change to the cloned ones.   | |
| void | OnUserConfirmChange () override | 
Private Attributes | |
| std::unordered_map< ZONE *, std::shared_ptr< ZONE > > | m_zonesCloneMap | 
| std::unordered_map< ZONE *, std::shared_ptr< ZONE_SETTINGS > > | m_zoneSettings | 
| std::vector< std::shared_ptr< MANAGED_ZONE > > | m_managedZones | 
| std::vector< ZONE * > | m_clonedZoneList | 
| std::vector< ZONE * > | m_originalZoneList | 
Definition at line 39 of file zones_container.h.
| ZONES_CONTAINER::ZONES_CONTAINER | ( | BOARD * | board | ) | 
Definition at line 34 of file zones_container.cpp.
References m_originalZoneList, and BOARD::Zones().
      
  | 
  overridedefault | 
| bool ZONES_CONTAINER::FlushPriorityChange | ( | ) | 
Flush the priority change to the cloned ones.
Definition at line 112 of file zones_container.cpp.
References m_managedZones.
Referenced by OnUserConfirmChange().
| void ZONES_CONTAINER::FlushZoneSettingsChange | ( | ) | 
Flush the zone settings change to the cloned ones.
Definition at line 103 of file zones_container.cpp.
References m_managedZones, and m_zoneSettings.
Referenced by OnUserConfirmChange().
      
  | 
  inline | 
Adapter for the zone filler ,zones are actually managed the smart ptr.
Definition at line 56 of file zones_container.h.
References m_clonedZoneList.
      
  | 
  inline | 
Definition at line 45 of file zones_container.h.
References m_managedZones.
      
  | 
  inline | 
Used for restoring the zones in the board after refilling.
Definition at line 62 of file zones_container.h.
References m_originalZoneList.
| std::shared_ptr< ZONE_SETTINGS > ZONES_CONTAINER::GetZoneSettings | ( | ZONE * | zone | ) | 
Definition at line 65 of file zones_container.cpp.
References m_zoneSettings.
      
  | 
  overridevirtual | 
Implements ZONE_MANAGEMENT_BASE.
Definition at line 77 of file zones_container.cpp.
References FlushPriorityChange(), FlushZoneSettingsChange(), ZONE::GetFilledPolysList(), ZONE::GetLayerSet(), m_zonesCloneMap, and LSET::RunOnLayers().
      
  | 
  private | 
Definition at line 81 of file zones_container.h.
Referenced by GetClonedZoneList().
      
  | 
  private | 
Definition at line 80 of file zones_container.h.
Referenced by FlushPriorityChange(), FlushZoneSettingsChange(), and GetManagedZones().
      
  | 
  private | 
Definition at line 82 of file zones_container.h.
Referenced by GetOriginalZoneList(), and ZONES_CONTAINER().
Definition at line 78 of file zones_container.h.
Referenced by OnUserConfirmChange().
      
  | 
  private | 
Definition at line 79 of file zones_container.h.
Referenced by FlushZoneSettingsChange(), and GetZoneSettings().