SHAPER  9.12.0
ModuleBase_Tools::ModuleBase_RedisplayListener Class Reference

Waits for REDISPLAY message and set the Visible flag to the entities according to Preferences choice. More...

Inheritance diagram for ModuleBase_Tools::ModuleBase_RedisplayListener:
Inheritance graph

Public Member Functions

void processEvent (const std::shared_ptr< Events_Message > &theMessage)
 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...
 

Static Public Member Functions

static std::shared_ptr< ModuleBase_RedisplayListenerinstance ()
 

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...
 

Detailed Description

Waits for REDISPLAY message and set the Visible flag to the entities according to Preferences choice.

Member Function Documentation

◆ processEvent()

void ModuleBase_Tools::ModuleBase_RedisplayListener::processEvent ( const std::shared_ptr< Events_Message > &  theMessage)
inlinevirtual

This method is called by loop when the event is started to process.

Implements Events_Listener.

◆ groupMessages()

virtual EVENTS_EXPORT bool Events_Listener::groupMessages ( )
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.

◆ groupWhileFlush()

void Events_Listener::groupWhileFlush ( const std::shared_ptr< Events_Message > &  theMessage)
protectedinherited

Allows to group messages while they are flushed (for flush for groupMessages=true listeners)

◆ flushGrouped()

void Events_Listener::flushGrouped ( const Events_ID theID)
protectedinherited

Sends myGroups on flush finish.