KiCad PCB EDA Suite
Loading...
Searching...
No Matches
INTERACTIVE_PLACER_BASE Struct Referenceabstract

#include <pcb_tool_base.h>

Public Member Functions

virtual ~INTERACTIVE_PLACER_BASE ()
 
virtual std::unique_ptr< BOARD_ITEMCreateItem ()=0
 
virtual void SnapItem (BOARD_ITEM *aItem)
 
virtual bool PlaceItem (BOARD_ITEM *aItem, BOARD_COMMIT &aCommit)
 

Public Attributes

PCB_BASE_EDIT_FRAMEm_frame
 
BOARDm_board
 
int m_modifiers
 

Detailed Description

Definition at line 52 of file pcb_tool_base.h.

Constructor & Destructor Documentation

◆ ~INTERACTIVE_PLACER_BASE()

virtual INTERACTIVE_PLACER_BASE::~INTERACTIVE_PLACER_BASE ( )
inlinevirtual

Definition at line 54 of file pcb_tool_base.h.

Member Function Documentation

◆ CreateItem()

virtual std::unique_ptr< BOARD_ITEM > INTERACTIVE_PLACER_BASE::CreateItem ( )
pure virtual

◆ PlaceItem()

bool INTERACTIVE_PLACER_BASE::PlaceItem ( BOARD_ITEM aItem,
BOARD_COMMIT aCommit 
)
virtual

Definition at line 346 of file pcb_tool_base.cpp.

References COMMIT::Add().

Referenced by PCB_TOOL_BASE::doInteractiveItemPlacement().

◆ SnapItem()

void INTERACTIVE_PLACER_BASE::SnapItem ( BOARD_ITEM aItem)
virtual

Definition at line 340 of file pcb_tool_base.cpp.

Referenced by PCB_TOOL_BASE::doInteractiveItemPlacement().

Member Data Documentation

◆ m_board

BOARD* INTERACTIVE_PLACER_BASE::m_board

Definition at line 65 of file pcb_tool_base.h.

Referenced by PCB_TOOL_BASE::doInteractiveItemPlacement().

◆ m_frame

PCB_BASE_EDIT_FRAME* INTERACTIVE_PLACER_BASE::m_frame

Definition at line 64 of file pcb_tool_base.h.

Referenced by PCB_TOOL_BASE::doInteractiveItemPlacement().

◆ m_modifiers

int INTERACTIVE_PLACER_BASE::m_modifiers

Definition at line 66 of file pcb_tool_base.h.

Referenced by PCB_TOOL_BASE::doInteractiveItemPlacement().


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