#include <canobj.h>


Public Member Functions | |
| a2dDoUpdateImmediateData (bool final, a2dBaseTool *tool, a2dCanvasObject *parent) | |
| constructor | |
| void | RequestPhase (int i) |
| Set a bit in m_phaserequest. | |
| void | RequestSortPriorityBeforeNextPhase () |
| Request that on the next phase change, the objects in the update list are sorted by PROPID_UpdateImmediatePriority. | |
Public Attributes | |
| int | m_phase |
| Current phase of the update process. | |
| int | m_phaserequest |
| Set a bit in here to request execution of an update phase. | |
| int | m_phasedone |
| This has a bit set for every phase, that was already done. | |
| bool | m_phase_first |
| If true, the current phase is executed for the first time. | |
| bool | m_final |
| If true this is a final update of the original data, not an intermediate update of the editcopy. | |
| bool | m_original |
| If true, DoImmediateUpdate was called on an original object. | |
| bool | m_allowreconnectbegin |
| If true, allow reconnecting the begin pin. | |
| bool | m_allowreconnectend |
| If true, allow reconnecting the end pin. | |
| bool | m_sortbeforenextphase |
| If true, before the next phase change the update object list is sorted by PROPID_UpdateImmediatePriority. | |
| class a2dBaseTool * | m_tool |
| The tool, that issued this update, may be NULL, if not m_parent is set from it. | |
| a2dCanvasObjectPtr | m_parent |
| parent of the set of child objects to update. | |
Static Public Attributes | |
| static a2dPropertyIdRefObject * | PROPID_RouteData = NULL |
| Holds temporary routing data. | |
All this could be given as parameters as well, but for a recursive function with always identical parameters, using a struct is more efficient and easier to extend
This is derived from a2dPropObject, so that it can also be used as a means for communication between different objects (usually of the same class) during update.
Definition at line 1516 of file canobj.h.
| a2dCanvasObject::a2dDoUpdateImmediateData::a2dDoUpdateImmediateData | ( | bool | final, | |
| a2dBaseTool * | tool, | |||
| a2dCanvasObject * | parent | |||
| ) |
constructor
| final | true when last stage needs to be executed in an reroute cycle, resulting in commands being issued. | |
| tool | tool from which update is called, may be NULL | |
| parent | parent of which the object need to be updated, if NULL, m_tool->GetCanvasView()->GetShowObject() is taken as m_parent |
Definition at line 5928 of file canobj.cpp.