|
KiCad PCB EDA Suite
|
#include <zone_settings_bag.h>
Public Member Functions | |
| ZONE_SETTINGS_BAG (BOARD *aBoard) | |
| ZONE_SETTINGS_BAG (ZONE_SETTINGS *aSettings) | |
| ZONE_SETTINGS_BAG ()=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 () |
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 38 of file zone_settings_bag.h.
| ZONE_SETTINGS_BAG::ZONE_SETTINGS_BAG | ( | BOARD * | aBoard | ) |
Definition at line 33 of file zone_settings_bag.cpp.
References m_clonedZoneList, m_managedZones, m_zonesCloneMap, and BOARD::Zones().
| ZONE_SETTINGS_BAG::ZONE_SETTINGS_BAG | ( | ZONE_SETTINGS * | aSettings | ) |
Definition at line 64 of file zone_settings_bag.cpp.
References m_zoneSettings.
|
default |
| bool ZONE_SETTINGS_BAG::FlushPriorityChange | ( | ) |
Flush the priority change to the cloned ones.
Definition at line 119 of file zone_settings_bag.cpp.
References m_managedZones.
Referenced by OnUserConfirmChange().
| void ZONE_SETTINGS_BAG::FlushZoneSettingsChange | ( | ) |
Flush the zone settings change to the cloned ones.
Definition at line 109 of file zone_settings_bag.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 58 of file zone_settings_bag.h.
References m_clonedZoneList.
|
inline |
Definition at line 46 of file zone_settings_bag.h.
References m_managedZones.
|
inline |
Used for restoring the zones in the board after refilling.
Definition at line 65 of file zone_settings_bag.h.
References m_originalZoneList.
| std::shared_ptr< ZONE_SETTINGS > ZONE_SETTINGS_BAG::GetZoneSettings | ( | ZONE * | zone | ) |
Definition at line 70 of file zone_settings_bag.cpp.
References m_zoneSettings.
| void ZONE_SETTINGS_BAG::OnUserConfirmChange | ( | ) |
Definition at line 82 of file zone_settings_bag.cpp.
References FlushPriorityChange(), FlushZoneSettingsChange(), ZONE::GetFilledPolysList(), ZONE::GetLayerSet(), m_zonesCloneMap, and LSET::RunOnLayers().
|
private |
Definition at line 86 of file zone_settings_bag.h.
Referenced by GetClonedZoneList(), and ZONE_SETTINGS_BAG().
|
private |
Definition at line 85 of file zone_settings_bag.h.
Referenced by FlushPriorityChange(), FlushZoneSettingsChange(), GetManagedZones(), and ZONE_SETTINGS_BAG().
|
private |
Definition at line 87 of file zone_settings_bag.h.
Referenced by GetOriginalZoneList().
Definition at line 83 of file zone_settings_bag.h.
Referenced by OnUserConfirmChange(), and ZONE_SETTINGS_BAG().
|
private |
Definition at line 84 of file zone_settings_bag.h.
Referenced by FlushZoneSettingsChange(), GetZoneSettings(), and ZONE_SETTINGS_BAG().