![]() |
LibrePCB Developers Documentation
|
The SES_Base (SchematicEditorState Base) class. More...
#include <ses_base.h>
Public Types | |
enum | ProcRetVal |
process() return values More... | |
Public Member Functions | |
SES_Base (SchematicEditor &editor, Ui::SchematicEditor &editorUi, GraphicsView &editorGraphicsView, UndoStack &undoStack) | |
virtual | ~SES_Base () |
virtual ProcRetVal | process (SEE_Base *event) noexcept=0 |
virtual bool | entry (SEE_Base *event) noexcept |
virtual bool | exit (SEE_Base *event) noexcept |
Protected Attributes | |
workspace::Workspace & | mWorkspace |
Project & | mProject |
Circuit & | mCircuit |
SchematicEditor & | mEditor |
Ui::SchematicEditor & | mEditorUi |
allows access to SchematicEditor UI More... | |
GraphicsView & | mEditorGraphicsView |
UndoStack & | mUndoStack |
The SES_Base (SchematicEditorState Base) class.
enum ProcRetVal |
process() return values
Enumerator | |
---|---|
ForceStayInState |
event handled, stay in the current state |
ForceLeaveState |
event handled, leave the current state |
PassToParentState |
event unhandled, pass it to the parent |
|
explicit |
|
virtual |
|
pure virtualnoexcept |
Implemented in SES_AddComponent, SES_FSM, SES_Select, SES_AddNetLabel, and SES_DrawWire.
|
inlinevirtualnoexcept |
Reimplemented in SES_AddComponent, SES_Select, SES_AddNetLabel, and SES_DrawWire.
|
inlinevirtualnoexcept |
Reimplemented in SES_AddComponent, SES_Select, SES_AddNetLabel, and SES_DrawWire.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
allows access to SchematicEditor UI
|
protected |
allows access to the schematic editor graphics view
|
protected |