KiCad PCB EDA Suite
|
Workaround to keep the original priorities if user didn't change any. More...
#include <managed_zone.h>
Public Member Functions | |
MANAGED_ZONE (std::shared_ptr< ZONE > aZone, unsigned aInitialIndex) | |
MANAGED_ZONE ()=delete | |
~MANAGED_ZONE () override=default | |
bool | PriorityChanged () const |
unsigned | GetCurrentPriority () const |
void | OnUserConfirmChange () override |
ZONE const & | GetZone () const |
ZONE & | GetZone () |
Private Attributes | |
std::shared_ptr< ZONE > | m_zone |
const unsigned | m_initialPriority |
unsigned | m_currentPriority |
Friends | |
class | MODEL_ZONES_OVERVIEW_TABLE |
Workaround to keep the original priorities if user didn't change any.
Definition at line 37 of file managed_zone.h.
|
inline |
Definition at line 42 of file managed_zone.h.
|
delete |
|
overridedefault |
|
inline |
Definition at line 55 of file managed_zone.h.
References m_currentPriority.
|
inline |
Definition at line 61 of file managed_zone.h.
References m_zone.
|
inline |
Definition at line 59 of file managed_zone.h.
References m_zone.
|
inlineoverridevirtual |
Implements ZONE_MANAGEMENT_BASE.
Definition at line 57 of file managed_zone.h.
References m_currentPriority, and m_zone.
|
inline |
Definition at line 53 of file managed_zone.h.
References m_currentPriority, and m_initialPriority.
|
friend |
Definition at line 39 of file managed_zone.h.
|
private |
Definition at line 66 of file managed_zone.h.
Referenced by GetCurrentPriority(), OnUserConfirmChange(), and PriorityChanged().
|
private |
Definition at line 65 of file managed_zone.h.
Referenced by PriorityChanged().
|
private |
Definition at line 64 of file managed_zone.h.
Referenced by GetZone(), and OnUserConfirmChange().