SHAPER
9.12.0
|
The main class for management the part set operations as plugin. More...
Public Member Functions | |
virtual PARTSETPLUGIN_EXPORT FeaturePtr | createFeature (std::string theFeatureID) |
Creates the feature object of this plugin by the feature string ID. More... | |
PARTSETPLUGIN_EXPORT | PartSetPlugin_Plugin () |
Is needed for python wrapping by swig. More... | |
virtual PARTSETPLUGIN_EXPORT void | processEvent (const std::shared_ptr< Events_Message > &theMessage) |
Redefinition of Events_Listener method. More... | |
PARTSETPLUGIN_EXPORT std::shared_ptr< ModelAPI_FeatureStateMessage > | getFeaturesState () |
Performs the chenges of enabled/disabled state in the toolbar due to the current state of the application. More... | |
virtual EVENTS_EXPORT bool | groupMessages () |
Listener that needs mostly grouped messages received returns true in this method. More... | |
Protected Member Functions | |
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... | |
The main class for management the part set operations as plugin.
PartSetPlugin_Plugin::PartSetPlugin_Plugin | ( | ) |
Is needed for python wrapping by swig.
|
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.
std::shared_ptr< ModelAPI_FeatureStateMessage > PartSetPlugin_Plugin::getFeaturesState | ( | ) |
Performs the chenges of enabled/disabled state in the toolbar due to the current state of the application.
|
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.