KiCad PCB EDA Suite
BOARD_THAWER Struct Reference

Public Member Functions

 BOARD_THAWER (PCB_EDIT_FRAME *aBoardEditor)
 
 ~BOARD_THAWER ()
 

Protected Attributes

PCB_EDIT_FRAMEm_boardEditor
 
int m_freezeCount
 

Detailed Description

Definition at line 57 of file dialog_drc.cpp.

Constructor & Destructor Documentation

BOARD_THAWER::BOARD_THAWER ( PCB_EDIT_FRAME aBoardEditor)
inline

Definition at line 59 of file dialog_drc.cpp.

References m_boardEditor, and m_freezeCount.

60  {
61  m_boardEditor = aBoardEditor;
62  m_freezeCount = 0;
63 
64  while( m_boardEditor->IsFrozen() )
65  {
66  m_boardEditor->Thaw();
67  m_freezeCount++;
68  }
69  }
PCB_EDIT_FRAME * m_boardEditor
Definition: dialog_drc.cpp:81
BOARD_THAWER::~BOARD_THAWER ( )
inline

Definition at line 71 of file dialog_drc.cpp.

References m_boardEditor, and m_freezeCount.

72  {
73  while( m_freezeCount > 0 )
74  {
75  m_boardEditor->Freeze();
76  m_freezeCount--;
77  }
78  }
PCB_EDIT_FRAME * m_boardEditor
Definition: dialog_drc.cpp:81

Member Data Documentation

PCB_EDIT_FRAME* BOARD_THAWER::m_boardEditor
protected

Definition at line 81 of file dialog_drc.cpp.

Referenced by BOARD_THAWER(), and ~BOARD_THAWER().

int BOARD_THAWER::m_freezeCount
protected

Definition at line 82 of file dialog_drc.cpp.

Referenced by BOARD_THAWER(), and ~BOARD_THAWER().


The documentation for this struct was generated from the following file: