| 
    KiCad PCB EDA Suite
    
   | 
 
#include <undo_redo_container.h>
Public Member Functions | |
| ITEM_PICKER () | |
| ITEM_PICKER (BASE_SCREEN *aScreen, EDA_ITEM *aItem, UNDO_REDO aStatus=UNDO_REDO::UNSPECIFIED) | |
| EDA_ITEM * | GetItem () const | 
| void | SetItem (EDA_ITEM *aItem) | 
| void | SetStatus (UNDO_REDO aStatus) | 
| UNDO_REDO | GetStatus () const | 
| void | SetFlags (EDA_ITEM_FLAGS aFlags) | 
| EDA_ITEM_FLAGS | GetFlags () const | 
| void | SetLink (EDA_ITEM *aItem) | 
| EDA_ITEM * | GetLink () const | 
| KIID | GetGroupId () const | 
| KIID_VECT_LIST | GetGroupMembers () const | 
| BASE_SCREEN * | GetScreen () const | 
Private Attributes | |
| EDA_ITEM_FLAGS | m_pickerFlags | 
| UNDO_REDO | m_undoRedoStatus | 
| EDA_ITEM * | m_pickedItem | 
| KICAD_T | m_pickedItemType | 
| EDA_ITEM * | m_link | 
| KIID | m_groupId | 
| KIID_VECT_LIST | m_groupMembers | 
| BASE_SCREEN * | m_screen | 
Definition at line 75 of file undo_redo_container.h.
| ITEM_PICKER::ITEM_PICKER | ( | ) | 
Definition at line 31 of file undo_redo_container.cpp.
References m_link, m_pickerFlags, m_screen, m_undoRedoStatus, SetItem(), and UNSPECIFIED.
| ITEM_PICKER::ITEM_PICKER | ( | BASE_SCREEN * | aScreen, | 
| EDA_ITEM * | aItem, | ||
| UNDO_REDO | aStatus = UNDO_REDO::UNSPECIFIED ) | 
Definition at line 41 of file undo_redo_container.cpp.
References m_link, m_pickerFlags, m_screen, m_undoRedoStatus, and SetItem().
      
  | 
  inline | 
Definition at line 89 of file undo_redo_container.h.
References m_pickerFlags.
      
  | 
  inline | 
Definition at line 94 of file undo_redo_container.h.
References m_groupId.
      
  | 
  inline | 
Definition at line 95 of file undo_redo_container.h.
References m_groupMembers.
      
  | 
  inline | 
Definition at line 82 of file undo_redo_container.h.
References m_pickedItem.
Referenced by PL_EDITOR_FRAME::GetLayoutFromRedoList(), PL_EDITOR_FRAME::GetLayoutFromUndoList(), SYMBOL_EDIT_FRAME::GetSymbolFromRedoList(), SYMBOL_EDIT_FRAME::GetSymbolFromUndoList(), and PL_EDITOR_FRAME::RollbackFromUndo().
      
  | 
  inline | 
Definition at line 92 of file undo_redo_container.h.
References m_link.
      
  | 
  inline | 
Definition at line 97 of file undo_redo_container.h.
References m_screen.
      
  | 
  inline | 
Definition at line 86 of file undo_redo_container.h.
References m_undoRedoStatus.
Referenced by SYMBOL_EDIT_FRAME::GetSymbolFromRedoList(), and SYMBOL_EDIT_FRAME::GetSymbolFromUndoList().
      
  | 
  inline | 
Definition at line 88 of file undo_redo_container.h.
References m_pickerFlags.
Referenced by SCH_EDIT_FRAME::SaveCopyInUndoList().
| void ITEM_PICKER::SetItem | ( | EDA_ITEM * | aItem | ) | 
Definition at line 61 of file undo_redo_container.cpp.
References EDA_ITEM::GetParentGroupId(), group, m_groupId, m_groupMembers, m_pickedItem, m_pickedItemType, EDA_ITEM::Type(), and TYPE_NOT_INIT.
Referenced by ITEM_PICKER(), and ITEM_PICKER().
| void ITEM_PICKER::SetLink | ( | EDA_ITEM * | aItem | ) | 
Definition at line 79 of file undo_redo_container.cpp.
References EDA_ITEM::GetParentGroupId(), group, m_groupId, m_groupMembers, and m_link.
Referenced by BOOST_AUTO_TEST_CASE(), PCB_BASE_FRAME::PlaceFootprint(), DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::processItem(), BOARD_COMMIT::Push(), SCH_COMMIT::pushSchEdit(), SCH_EDIT_FRAME::SaveCopyInUndoList(), SaveCopyOfZones(), and PCB_EDIT_FRAME::SetTrackSegmentWidth().
      
  | 
  inline | 
Definition at line 85 of file undo_redo_container.h.
References m_undoRedoStatus.
      
  | 
  private | 
Definition at line 114 of file undo_redo_container.h.
Referenced by GetGroupId(), SetItem(), and SetLink().
      
  | 
  private | 
Definition at line 115 of file undo_redo_container.h.
Referenced by GetGroupMembers(), SetItem(), and SetLink().
      
  | 
  private | 
Definition at line 108 of file undo_redo_container.h.
Referenced by GetLink(), ITEM_PICKER(), ITEM_PICKER(), and SetLink().
      
  | 
  private | 
Definition at line 103 of file undo_redo_container.h.
      
  | 
  private | 
Definition at line 106 of file undo_redo_container.h.
Referenced by SetItem().
      
  | 
  private | 
Definition at line 100 of file undo_redo_container.h.
Referenced by GetFlags(), ITEM_PICKER(), ITEM_PICKER(), and SetFlags().
      
  | 
  private | 
Definition at line 117 of file undo_redo_container.h.
Referenced by GetScreen(), ITEM_PICKER(), and ITEM_PICKER().
      
  | 
  private | 
Definition at line 102 of file undo_redo_container.h.
Referenced by GetStatus(), ITEM_PICKER(), ITEM_PICKER(), and SetStatus().