#include <wx/evtloop.h>
A generic implementation of the GUI event loop. 
 
 | 
|   | wxGUIEventLoop () | 
|   | 
| virtual  | ~wxGUIEventLoop () | 
|   | 
| bool  | IsMain () const  | 
|   | Returns true if this is the main loop executed by wxApp::OnRun().  More...
  | 
|   | 
| virtual int  | Run ()=0 | 
|   | Start the event loop, return the exit code when it is finished.  More...
  | 
|   | 
| bool  | IsRunning () const  | 
|   | Return true if this event loop is currently running.  More...
  | 
|   | 
| virtual bool  | IsOk () const  | 
|   | Use this to check whether the event loop was successfully created before using it.  More...
  | 
|   | 
| virtual void  | Exit (int rc=0) | 
|   | Exit the currently running loop with the given exit code.  More...
  | 
|   | 
| virtual void  | ScheduleExit (int rc=0)=0 | 
|   | Schedule an exit from the loop with the given exit code.  More...
  | 
|   | 
| virtual bool  | Pending () const =0 | 
|   | Return true if any events are available.  More...
  | 
|   | 
| virtual bool  | Dispatch ()=0 | 
|   | Dispatches the next event in the windowing system event queue.  More...
  | 
|   | 
| virtual int  | DispatchTimeout (unsigned long timeout)=0 | 
|   | Dispatch an event but not wait longer than the specified timeout for it.  More...
  | 
|   | 
| virtual void  | WakeUp ()=0 | 
|   | Called by wxWidgets to wake up the event loop even if it is currently blocked inside Dispatch().  More...
  | 
|   | 
| virtual void  | WakeUpIdle () | 
|   | Makes sure that idle events are sent again.  More...
  | 
|   | 
| virtual bool  | ProcessIdle () | 
|   | This virtual function is called when the application becomes idle and normally just sends wxIdleEvent to all interested parties.  More...
  | 
|   | 
| virtual bool  | IsYielding () const  | 
|   | Returns true if called from inside Yield() or from inside YieldFor().  More...
  | 
|   | 
| bool  | Yield (bool onlyIfNeeded=false) | 
|   | Yields control to pending messages in the windowing system.  More...
  | 
|   | 
| bool  | YieldFor (long eventsToProcess) | 
|   | Works like Yield() with onlyIfNeeded == true, except that it allows the caller to specify a mask of the wxEventCategory values which indicates which events should be processed and which should instead be "delayed" (i.e.  More...
  | 
|   | 
| virtual bool  | IsEventAllowedInsideYield (wxEventCategory cat) const  | 
|   | Returns true if the given event category is allowed inside a YieldFor() call (i.e.  More...
  | 
|   | 
 | 
| static wxEventLoopBase *  | GetActive () | 
|   | Return the currently active (running) event loop.  More...
  | 
|   | 
| static void  | SetActive (wxEventLoopBase *loop) | 
|   | Set currently active (running) event loop.  More...
  | 
|   | 
| virtual void  | OnExit () | 
|   | This function is called before the event loop terminates, whether this happens normally (because of Exit() call) or abnormally (because of an exception thrown from inside the loop).  More...
  | 
|   | 
      
        
          | wxGUIEventLoop::wxGUIEventLoop  | 
          ( | 
           | ) | 
           | 
        
      
 
 
  
  
      
        
          | virtual wxGUIEventLoop::~wxGUIEventLoop  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   |