Simulant  21.06-50
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Member Functions | List of all members
smlt::IdleTaskManager Class Reference

Public Member Functions

 IdleTaskManager (Window &window)
 
IdleConnectionID add (std::function< bool()> callback)
 
IdleConnectionID add_once (std::function< void()> callback)
 
IdleConnectionID add_timeout (const Seconds &seconds, std::function< bool()> callback)
 
IdleConnectionID add_timeout_once (const Seconds &seconds, std::function< void()> callback)
 
void run_sync (std::function< void()> callback)
 
void remove (IdleConnectionID connection)
 
void execute ()
 
void wait ()
 

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