Nui
Classes | Namespaces | Functions
timer.hpp File Reference
#include <functional>
#include <nui/frontend/rpc_client.hpp>
#include <cstdint>
Include dependency graph for timer.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Nui::TimerHandle
 

Namespaces

 Nui
 

Functions

void Nui::setInterval (int milliseconds, std::function< void()> toWrap, std::function< void(TimerHandle &&)> callback)
 Creates a new timer that calls "toWrap" every "milliseconds" milliseconds. More...
 
void Nui::setTimeout (int milliseconds, std::function< void()> toWrap, std::function< void(TimerHandle)> callback)
 Creates a new delayed function that calls "toWrap" after "milliseconds" milliseconds. More...