|
SHAPER
9.15.0
|
Base interface for any event listener. More...

Public Member Functions | |
| virtual EVENTS_EXPORT void | processEvent (const std::shared_ptr< Events_Message > &theMessage)=0 |
| This method is called by loop when the event is started to process. 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... | |
Friends | |
| class | Events_Loop |
Base interface for any event listener.
If some object wants to listen some events it must inherit this class and register in the Loop.
|
pure virtual |
This method is called by loop when the event is started to process.
Implemented in XGUI_WorkshopListener, XGUI_SketchConstraintsBrowser, XGUI_MenuMgr, XGUI_DataModel, XGUI_ActionsMgr, SketchSolver_Manager, SketchPlugin_Plugin, SketchPlugin_OverConstraintsResolver, PartSetPlugin_Plugin, PartSet_SketcherMgr, PartSet_OverconstraintListener, PartSet_Module, PartSet_IconFactory, PartSet_DataModel, PartSet_CustomPrs, ParametersPlugin_EvalListener, ModuleBase_Tools::ModuleBase_RedisplayListener, Model_Update, Model_Session, InitializationPlugin_Plugin, and InitializationPlugin_EvalListener.
|
inlinevirtual |
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.
|
protected |
Allows to group messages while they are flushed (for flush for groupMessages=true listeners)
|
protected |
Sends myGroups on flush finish.