![]() |
Power System Platform
2026w23a-beta
|


Public Member Functions | |
| ControlEditor (wxWindow *parent, PropertiesData *properties) | |
| ControlEditor (wxWindow *parent, PropertiesData *properties, int ioflags=IOControl::IN_TERMINAL_VOLTAGE|IOControl::IN_VELOCITY|IOControl::OUT_FIELD_VOLTAGE|IOControl::OUT_MEC_POWER) | |
| virtual void | AddElement (ControlElementButtonID id) |
| virtual void | Redraw () |
| virtual void | SetJustOpened (bool justOpened) |
| virtual void | RotateSelectedElements (bool clockwise) |
| virtual void | DeleteSelectedElements () |
| virtual void | CheckConnections () |
| virtual std::vector< std::shared_ptr< ConnectionLine > > | GetConnectionLineList () const |
| virtual std::vector< std::shared_ptr< ControlElement > > | GetControlElementList () const |
| virtual void | SetElementsList (const std::vector< std::shared_ptr< ControlElement > > &elementList) |
| virtual void | SetConnectionsList (const std::vector< std::shared_ptr< ConnectionLine > > &connectionList) |
| virtual void | SetControlContainer (ControlElementContainer *ctrlContainer) |
| virtual ControlElementContainer * | GetControlContainer () |
| virtual void | SetPlotLib (int plotLib) |
| virtual void | SetManager (ControlEditorManager *manager) |
| virtual std::vector< Element * > | GetElementList () const |
| virtual void | Fit () |
| virtual void | OnClose (wxCloseEvent &event) |
| virtual void | OnTestClick (wxCommandEvent &event) |
| virtual void | OnButtonOKClick (wxCommandEvent &event) |
| virtual void | OnImportClick (wxCommandEvent &event) |
| virtual void | OnExportClick (wxCommandEvent &event) |
| virtual void | OnKeyDown (wxKeyEvent &event) |
| virtual void | OnIdle (wxIdleEvent &event) |
| virtual void | OnScroll (wxMouseEvent &event) |
| virtual void | OnDoubleClick (wxMouseEvent &event) |
| virtual void | OnLeftClickDown (wxMouseEvent &event) |
| virtual void | OnLeftClickUp (wxMouseEvent &event) |
| virtual void | OnMiddleDown (wxMouseEvent &event) |
| virtual void | OnMiddleUp (wxMouseEvent &event) |
| virtual void | OnMouseMotion (wxMouseEvent &event) |
| virtual void | OnPaint (wxPaintEvent &event) |
| virtual void | LeftClickDown (wxMouseEvent &event) |
| virtual void | BuildColourList () |
| virtual wxColour | GetNextColour () |
| void | BuildControlElementPanel () |
Protected Member Functions | |
| virtual void | OnMiddleDoubleClick (wxMouseEvent &event) |
| virtual void | OnFitClick (wxCommandEvent &event) |
| virtual void | OnCopyClick (wxCommandEvent &event) |
| virtual void | OnDeleteClick (wxCommandEvent &event) |
| virtual void | OnDragClick (wxCommandEvent &event) |
| virtual void | OnMoveClick (wxCommandEvent &event) |
| virtual void | OnNewClick (wxCommandEvent &event) |
| virtual void | OnPasteClick (wxCommandEvent &event) |
| virtual void | OnRedoClick (wxCommandEvent &event) |
| virtual void | OnUndoClick (wxCommandEvent &event) |
| int | GetNextID () |
| std::vector< std::shared_ptr< ConnectionLine > >::iterator | DeleteLineFromList (std::vector< std::shared_ptr< ConnectionLine > >::iterator &it) |
| void | UnselectAll () |
| void | CopySelectionToClipboard () |
| bool | PasteFromClipboard () |
| void | SaveCurrentState () |
| void | SetPreviousState () |
| void | SetNextState () |
| void | ClearStates () |
| bool | GetElementsCorners (wxPoint2DDouble &leftUpCorner, wxPoint2DDouble &rightDownCorner, const std::vector< Element * > &elementList) const |
| void | ApplyFontToElements () |
| wxPoint | GetEditorMouseClientPoint () const |
| wxPoint2DDouble | GetEditorMouseWorldPoint () const |
Protected Attributes | |
| Camera * | m_camera = nullptr |
| PropertiesData * | m_properties = nullptr |
| wxFont | m_font |
| ControlEditorMode | m_mode = ControlEditorMode::MODE_EDIT |
| wxRect2DDouble | m_selectionRect |
| wxPoint2DDouble | m_startSelRect |
| std::vector< std::shared_ptr< ControlElement > > | m_elementList |
| std::vector< std::shared_ptr< ConnectionLine > > | m_connectionList |
| ControlElementContainer * | m_ctrlContainer = nullptr |
| ControlEditorManager * | m_ctrlManager = nullptr |
| bool | m_justOpened = false |
| int | m_ioFlags = 0 |
| int | m_inputType = 0 |
| double | m_startTime = 1.0 |
| double | m_slope = 1.0 |
| double | m_timeStep = 1e-4 |
| double | m_simTime = 10.0 |
| int | m_plotLib = 0 |
| std::vector< wxColour > | m_colourList |
| std::vector< wxColour >::iterator | m_itColourList |
| std::vector< std::vector< std::shared_ptr< ControlElement > > > | m_elementListState |
| std::vector< std::vector< std::shared_ptr< ConnectionLine > > > | m_connectionListState |
| int | m_currentState = -1 |
| int | m_maxStates = 100 |
Definition at line 121 of file ControlEditor.h.
|
strong |
Definition at line 124 of file ControlEditor.h.
|
inline |
Definition at line 136 of file ControlEditor.h.
| ControlEditor::ControlEditor | ( | wxWindow * | parent, |
| PropertiesData * | properties, | ||
| int | ioflags = IOControl::IN_TERMINAL_VOLTAGE | IOControl::IN_VELOCITY | IOControl::OUT_FIELD_VOLTAGE | IOControl::OUT_MEC_POWER |
||
| ) |
Definition at line 244 of file ControlEditor.cpp.
|
virtual |
Definition at line 261 of file ControlEditor.cpp.
|
virtual |
Definition at line 417 of file ControlEditor.cpp.
|
protected |
Definition at line 1278 of file ControlEditor.cpp.
|
virtual |
Definition at line 1519 of file ControlEditor.cpp.
| void ControlEditor::BuildControlElementPanel | ( | ) |
Definition at line 284 of file ControlEditor.cpp.
|
virtual |
Definition at line 1013 of file ControlEditor.cpp.
|
protected |
Definition at line 1302 of file ControlEditor.cpp.
|
protected |
Definition at line 1380 of file ControlEditor.cpp.
|
protected |
Definition at line 984 of file ControlEditor.cpp.
|
virtual |
Definition at line 945 of file ControlEditor.cpp.
|
virtual |
Definition at line 1234 of file ControlEditor.cpp.
|
inlinevirtual |
Definition at line 149 of file ControlEditor.h.
|
inlinevirtual |
Definition at line 154 of file ControlEditor.h.
|
inlinevirtual |
Definition at line 150 of file ControlEditor.h.
|
protected |
Definition at line 269 of file ControlEditor.cpp.
|
protected |
Definition at line 275 of file ControlEditor.cpp.
|
virtual |
Definition at line 1225 of file ControlEditor.cpp.
|
protected |
Definition at line 1285 of file ControlEditor.cpp.
|
virtual |
Definition at line 1539 of file ControlEditor.cpp.
|
protected |
Definition at line 1506 of file ControlEditor.cpp.
|
virtual |
Definition at line 411 of file ControlEditor.cpp.
|
inlinevirtual |
Definition at line 162 of file ControlEditor.h.
|
virtual |
Definition at line 1262 of file ControlEditor.cpp.
|
protectedvirtual |
Definition at line 1548 of file ControlEditor.cpp.
|
protectedvirtual |
Definition at line 1552 of file ControlEditor.cpp.
|
virtual |
Definition at line 517 of file ControlEditor.cpp.
|
protectedvirtual |
Definition at line 1557 of file ControlEditor.cpp.
|
virtual |
Definition at line 1035 of file ControlEditor.cpp.
|
protectedvirtual |
Definition at line 1642 of file ControlEditor.cpp.
|
virtual |
Definition at line 856 of file ControlEditor.cpp.
|
virtual |
Definition at line 1048 of file ControlEditor.cpp.
|
virtual |
Definition at line 870 of file ControlEditor.cpp.
|
virtual |
Definition at line 542 of file ControlEditor.cpp.
|
virtual |
Definition at line 609 of file ControlEditor.cpp.
|
protectedvirtual |
Definition at line 1646 of file ControlEditor.cpp.
|
virtual |
Definition at line 708 of file ControlEditor.cpp.
|
virtual |
Definition at line 725 of file ControlEditor.cpp.
|
virtual |
Definition at line 744 of file ControlEditor.cpp.
|
protectedvirtual |
Definition at line 1564 of file ControlEditor.cpp.
|
protectedvirtual |
Definition at line 1614 of file ControlEditor.cpp.
|
virtual |
Definition at line 485 of file ControlEditor.cpp.
|
protectedvirtual |
Definition at line 1630 of file ControlEditor.cpp.
|
protectedvirtual |
Definition at line 1634 of file ControlEditor.cpp.
|
virtual |
Definition at line 846 of file ControlEditor.cpp.
|
virtual |
Definition at line 1070 of file ControlEditor.cpp.
|
protectedvirtual |
Definition at line 1638 of file ControlEditor.cpp.
|
protected |
Definition at line 1424 of file ControlEditor.cpp.
|
inlinevirtual |
Definition at line 144 of file ControlEditor.h.
|
virtual |
Definition at line 930 of file ControlEditor.cpp.
|
protected |
Definition at line 1309 of file ControlEditor.cpp.
|
inlinevirtual |
Definition at line 152 of file ControlEditor.h.
|
inlinevirtual |
Definition at line 153 of file ControlEditor.h.
|
virtual |
Definition at line 1026 of file ControlEditor.cpp.
|
inlinevirtual |
Definition at line 145 of file ControlEditor.h.
|
inlinevirtual |
Definition at line 156 of file ControlEditor.h.
|
protected |
Definition at line 1358 of file ControlEditor.cpp.
|
inlinevirtual |
Definition at line 155 of file ControlEditor.h.
|
protected |
Definition at line 1334 of file ControlEditor.cpp.
|
protected |
Definition at line 1272 of file ControlEditor.cpp.
|
protected |
Definition at line 218 of file ControlEditor.h.
|
protected |
Definition at line 246 of file ControlEditor.h.
|
protected |
Definition at line 231 of file ControlEditor.h.
|
protected |
Definition at line 251 of file ControlEditor.h.
|
protected |
Definition at line 233 of file ControlEditor.h.
|
protected |
Definition at line 234 of file ControlEditor.h.
|
protected |
Definition at line 252 of file ControlEditor.h.
|
protected |
Definition at line 229 of file ControlEditor.h.
|
protected |
Definition at line 250 of file ControlEditor.h.
|
protected |
Definition at line 221 of file ControlEditor.h.
|
protected |
Definition at line 239 of file ControlEditor.h.
|
protected |
Definition at line 237 of file ControlEditor.h.
|
protected |
Definition at line 247 of file ControlEditor.h.
|
protected |
Definition at line 236 of file ControlEditor.h.
|
protected |
Definition at line 253 of file ControlEditor.h.
|
protected |
Definition at line 223 of file ControlEditor.h.
|
protected |
Definition at line 244 of file ControlEditor.h.
|
protected |
Definition at line 220 of file ControlEditor.h.
|
protected |
Definition at line 225 of file ControlEditor.h.
|
protected |
Definition at line 243 of file ControlEditor.h.
|
protected |
Definition at line 241 of file ControlEditor.h.
|
protected |
Definition at line 226 of file ControlEditor.h.
|
protected |
Definition at line 240 of file ControlEditor.h.
|
protected |
Definition at line 242 of file ControlEditor.h.