Nana C++ Library. Reference for users.
What we need to use nana
|
Can repeatedly call a piece of code. More...
Classes | |
struct | implement |
Public Member Functions | |
timer () | |
timer (std::chrono::milliseconds ms) | |
~timer () | |
template<typename Function > | |
void | elapse (Function &&fn) |
void | reset () |
void | start () |
bool | started () const |
void | stop () |
void | interval (std::chrono::milliseconds ms) |
template<typename Duration = std::chrono::milliseconds> | |
Duration | interval () const |
Can repeatedly call a piece of code.
nana::timer::timer | ( | ) |
|
explicit |
nana::timer::~timer | ( | ) |
|
inline |
void nana::timer::interval | ( | std::chrono::milliseconds | ms | ) |
|
inline |
void nana::timer::reset | ( | ) |
void nana::timer::start | ( | ) |
bool nana::timer::started | ( | ) | const |
void nana::timer::stop | ( | ) |