|
SHAPER
9.15.0
|
Interface common for any plugin: allows to use plugin by the plugins manager. More...

Public Member Functions | |
| virtual SKETCHPLUGIN_EXPORT FeaturePtr | createFeature (std::string theFeatureID) |
| Creates the feature object of this plugin by the feature string ID. More... | |
| SKETCHPLUGIN_EXPORT | SketchPlugin_Plugin () |
| Constructor that registers features and other plugin elements. More... | |
| virtual SKETCHPLUGIN_EXPORT void | processEvent (const std::shared_ptr< Events_Message > &theMessage) |
| Redefinition of Events_Listener method. More... | |
| virtual EVENTS_EXPORT bool | groupMessages () |
| Listener that needs mostly grouped messages received returns true in this method. More... | |
Protected Member Functions | |
| std::shared_ptr< ModelAPI_FeatureStateMessage > | getFeaturesState (const std::shared_ptr< ModelAPI_Feature > &theFeature) const |
| Returns the state of the feature in the WorkBench: enabled or disabled for the moment. 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... | |
Interface common for any plugin: allows to use plugin by the plugins manager.
| SketchPlugin_Plugin::SketchPlugin_Plugin | ( | ) |
Constructor that registers features and other plugin elements.
|
virtual |
Creates the feature object of this plugin by the feature string ID.
Implements ModelAPI_Plugin.
|
virtual |
Redefinition of Events_Listener method.
Implements Events_Listener.
|
protected |
Returns the state of the feature in the WorkBench: enabled or disabled for the moment.
|
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.