26#ifndef ZONES_CONTAINER_H 
   27#define ZONES_CONTAINER_H 
   30#include <unordered_map> 
Information pertinent to a Pcbnew printed circuit board.
 
Workaround to keep the original priorities if user didn't change any.
 
std::shared_ptr< ZONE_SETTINGS > GetZoneSettings(ZONE *zone)
 
std::vector< ZONE * > m_clonedZoneList
 
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.
 
~ZONES_CONTAINER() override=default
 
std::unordered_map< ZONE *, std::shared_ptr< ZONE > > m_zonesCloneMap
 
std::vector< std::shared_ptr< MANAGED_ZONE > > GetManagedZones() const
 
std::vector< ZONE * > m_originalZoneList
 
void OnUserConfirmChange() override
 
std::vector< ZONE * > & GetClonedZoneList()
Adapter for the zone filler ,zones are actually managed the smart ptr.
 
std::unordered_map< ZONE *, std::shared_ptr< ZONE_SETTINGS > > m_zoneSettings
 
std::vector< std::shared_ptr< MANAGED_ZONE > > m_managedZones
 
ZONES_CONTAINER(BOARD *board)
 
Classes need post progress after user click OK.
 
Handle a list of polygons defining a copper zone.
 
Class ZONE_SETTINGS used to handle zones parameters in dialogs.