|
SHAPER
9.15.0
|
Updates the results of features when it is needed. More...

Public Member Functions | |
| Model_Update () | |
| Is called only once, on startup of the application. More... | |
| virtual void | processEvent (const std::shared_ptr< Events_Message > &theMessage) |
| Processes the feature argument update: executes the results. More... | |
| virtual EVENTS_EXPORT bool | groupMessages () |
| Listener that needs mostly grouped messages received returns true in this method. More... | |
Protected Member Functions | |
| bool | addModified (std::shared_ptr< ModelAPI_Feature > theFeature, std::shared_ptr< ModelAPI_Feature > theReason) |
| Appends the new modified feature to the myModified, clears myProcessed if needed Returns true if some feature really was marked as modified theReason is the object that causes modification of this feature returns true if something reallsy was added to the modified and must be processed. More... | |
| bool | processFeature (std::shared_ptr< ModelAPI_Feature > theFeature) |
| Recoursively checks and updates features if needed (calls the execute method) Returns true if feature was updated. More... | |
| void | updateArguments (std::shared_ptr< ModelAPI_Feature > theFeature) |
| Updates the selection and parametrical arguments before the later feature analysis Returns true if something really was updated. More... | |
| void | redisplayWithResults (std::shared_ptr< ModelAPI_Feature > theFeature, const ModelAPI_ExecState theState, bool theUpdateState=true) |
| Sends the redisplay events for feature and results, updates the updated status. More... | |
| void | processFeatures (const bool theFlushRedisplay=true) |
| On operation start/end/abort the "Just" fields must be cleared and processed in the right way. More... | |
| void | executeFeature (std::shared_ptr< ModelAPI_Feature > theFeature) |
| Performs the feature execution. More... | |
| void | updateStability (void *theSender) |
| Updates the properties of object because of stability state changes. More... | |
| bool | isReason (std::shared_ptr< ModelAPI_Feature > &theFeature, std::shared_ptr< ModelAPI_Object > theReason) |
| Returns true if theFeature modification was caused by theReason (may be feature of result of this feature) More... | |
| void | updateSelection (const std::set< std::shared_ptr< ModelAPI_Object > > &theObjects) |
| Updates a selection attributes for the features that possible were affected by creation or reorder of features upper in the history line (issue #1757) More... | |
| void | groupWhileFlush (const std::shared_ptr< Events_Message > &theMessage) |
| Allows to group messages while they are flushed (for flush for groupMessages=true listeners) More... | |
| EVENTS_EXPORT void | flushGrouped (const Events_ID &theID) |
| Sends myGroups on flush finish. More... | |
Updates the results of features when it is needed.
| Model_Update::Model_Update | ( | ) |
Is called only once, on startup of the application.
the only one instance initialized on load of the library
|
virtual |
Processes the feature argument update: executes the results.
Implements Events_Listener.
|
protected |
Appends the new modified feature to the myModified, clears myProcessed if needed Returns true if some feature really was marked as modified theReason is the object that causes modification of this feature returns true if something reallsy was added to the modified and must be processed.
|
protected |
Recoursively checks and updates features if needed (calls the execute method) Returns true if feature was updated.
|
protected |
Updates the selection and parametrical arguments before the later feature analysis Returns true if something really was updated.
|
protected |
Sends the redisplay events for feature and results, updates the updated status.
|
protected |
On operation start/end/abort the "Just" fields must be cleared and processed in the right way.
| theFlushRedisplay | a boolean value if the redisplay signal should be flushed |
|
protected |
Performs the feature execution.
|
protected |
Updates the properties of object because of stability state changes.
|
protected |
Returns true if theFeature modification was caused by theReason (may be feature of result of this feature)
|
protected |
Updates a selection attributes for the features that possible were affected by creation or reorder of features upper in the history line (issue #1757)
|
inlinevirtualinherited |
Listener that needs mostly grouped messages received returns true in this method.
In this case during the message is flushed, all the new messages are grouped, not sended immideately and then sent in the end of flush.
Reimplemented in SketchSolver_Manager, and SketchPlugin_OverConstraintsResolver.
|
protectedinherited |
Allows to group messages while they are flushed (for flush for groupMessages=true listeners)
|
protectedinherited |
Sends myGroups on flush finish.