SPH
Public Member Functions | List of all members
MainLoopEvent Class Reference

Custom event holding a callback. More...

#include <MainLoop.h>

Inheritance diagram for MainLoopEvent:

Public Member Functions

 MainLoopEvent (const Function< void()> &callback)
 
 MainLoopEvent (const MainLoopEvent &evt)
 
wxEvent * Clone () const
 
void execute ()
 

Detailed Description

Custom event holding a callback.

Application must handle this event using MainLoopEventFunction and execute callback using MainLoopEvent::execute().

Definition at line 26 of file MainLoop.h.

Constructor & Destructor Documentation

◆ MainLoopEvent() [1/2]

MainLoopEvent::MainLoopEvent ( const Function< void()> &  callback)
inline

Definition at line 31 of file MainLoop.h.

◆ MainLoopEvent() [2/2]

MainLoopEvent::MainLoopEvent ( const MainLoopEvent evt)
inline

Definition at line 35 of file MainLoop.h.

Member Function Documentation

◆ Clone()

wxEvent* MainLoopEvent::Clone ( ) const
inline

Definition at line 39 of file MainLoop.h.

◆ execute()

void MainLoopEvent::execute ( )
inline

Definition at line 43 of file MainLoop.h.


The documentation for this class was generated from the following file: