Helper event class responsible for initializing SALOME_Event mechanism by the main thread ID. More...

Public Member Functions | |
| InitEvent () | |
| Constructor, initializes the event mechanism by the current thread ID. It is asssumed to be the main thread ID, so be careful! More... | |
| virtual | ~InitEvent () |
| Destructor, does nothing. More... | |
| virtual void | Execute () |
| Nothing to be executed for this kind of event. More... | |
Public Member Functions inherited from SALOME_Event | |
| SALOME_Event () | |
| Constructor. More... | |
| virtual | ~SALOME_Event () |
| Destructor. More... | |
| void | ExecutePostedEvent () |
| This method should be called by the main GUI thread in order to execute the code specific for this event and finally to inform the calling thread that the event has been processed waking it up with help of the semaphore . More... | |
| void | process () |
| Post the event and wait for its completion. process() should be called from a secondary thread only. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from SALOME_Event | |
| static bool | IsSessionThread () |
| Check if the processing is in the main application thread. More... | |
Protected Member Functions inherited from SALOME_Event | |
| void | processed () |
| Use this method to signal that this event has been processed. More... | |
Static Protected Member Functions inherited from SALOME_Event | |
| static void | GetSessionThread () |
| Initialize event mechanism. More... | |
Helper event class responsible for initializing SALOME_Event mechanism by the main thread ID.
| InitEvent::InitEvent | ( | ) |
Constructor, initializes the event mechanism by the current thread ID. It is asssumed to be the main thread ID, so be careful!
References SALOME_Event::GetSessionThread().
|
virtual |
Destructor, does nothing.
|
virtual |
Nothing to be executed for this kind of event.
Implements SALOME_Event.