ZFFramework
 
Loading...
Searching...
No Matches
ZFTimer.h File Reference

timer utility More...

#include "ZFObject.h"

Go to the source code of this file.

Classes

class  ZFTimer
 timer utility More...
 

Functions

zfautoT< ZFTimerZFTimerStart (zftimet interval, const ZFListener &timerCallback)
 util to start timer
 
zfautoT< ZFTimerZFTimerOnce (zftimet delay, const ZFListener &timerCallback)
 util to start timer to run only once
 

Detailed Description

timer utility

Function Documentation

◆ ZFTimerOnce()

zfautoT< ZFTimer > ZFTimerOnce ( zftimet delay,
const ZFListener & timerCallback )
extern

util to start timer to run only once

we would try to run the timerCallback in the same thread that call this method