KiCad PCB EDA Suite
|
#include <item_modification_routine.h>
Public Member Functions | |
virtual | ~CHANGE_HANDLER ()=default |
virtual void | AddNewItem (std::unique_ptr< BOARD_ITEM > aItem)=0 |
Report that the tools wants to add a new item to the board. | |
virtual void | MarkItemModified (BOARD_ITEM &aItem)=0 |
Report that the tool has modified an item on the board. | |
virtual void | DeleteItem (BOARD_ITEM &aItem)=0 |
Report that the tool has deleted an item on the board. | |
Definition at line 62 of file item_modification_routine.h.
|
virtualdefault |
|
pure virtual |
Report that the tools wants to add a new item to the board.
aItem | the new item |
Implemented in ITEM_MODIFICATION_ROUTINE::CALLABLE_BASED_HANDLER.
Referenced by POLYGON_BOOLEAN_ROUTINE::Finalize(), OUTSET_ROUTINE::ProcessItem(), LINE_FILLET_ROUTINE::ProcessLinePair(), LINE_CHAMFER_ROUTINE::ProcessLinePair(), and DOGBONE_CORNER_ROUTINE::ProcessLinePair().
|
pure virtual |
Report that the tool has deleted an item on the board.
aItem | the deleted item |
Implemented in ITEM_MODIFICATION_ROUTINE::CALLABLE_BASED_HANDLER.
Referenced by ITEM_MODIFICATION_ROUTINE::ModifyLineOrDeleteIfZeroLength(), OUTSET_ROUTINE::ProcessItem(), and POLYGON_BOOLEAN_ROUTINE::ProcessShape().
|
pure virtual |
Report that the tool has modified an item on the board.
aItem | the modified item |
Implemented in ITEM_MODIFICATION_ROUTINE::CALLABLE_BASED_HANDLER.
Referenced by ITEM_MODIFICATION_ROUTINE::ModifyLineOrDeleteIfZeroLength(), and LINE_EXTENSION_ROUTINE::ProcessLinePair().