1
This commit is contained in:
parent
56027b3c56
commit
70271a1b60
18
timer.go
18
timer.go
@ -133,6 +133,12 @@ func (this *Timer) AddDeadLineTimer(
|
|||||||
return this.AddDeadLineTimerEx(milli_seconds, init_func, timer_func, nil)
|
return this.AddDeadLineTimerEx(milli_seconds, init_func, timer_func, nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (this *Timer) AddSimpleDeadLineTimer(
|
||||||
|
milli_seconds int32,
|
||||||
|
timer_func func (params* XParams)) *TimerList {
|
||||||
|
return this.AddDeadLineTimer(milli_seconds, nil, timer_func);
|
||||||
|
}
|
||||||
|
|
||||||
func (this *Timer) AddDeadLineTimerEx(
|
func (this *Timer) AddDeadLineTimerEx(
|
||||||
milli_seconds int32,
|
milli_seconds int32,
|
||||||
init_func func (params* XParams),
|
init_func func (params* XParams),
|
||||||
@ -158,6 +164,12 @@ func (this *Timer) AddRepeatTimer(
|
|||||||
return this.AddRepeatTimerEx(milli_seconds, init_func, timer_func, nil)
|
return this.AddRepeatTimerEx(milli_seconds, init_func, timer_func, nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (this *Timer) AddSimpleRepeatTimer(
|
||||||
|
milli_seconds int32,
|
||||||
|
timer_func func (params* XParams)) *TimerList {
|
||||||
|
return this.AddRepeatTimer(milli_seconds, nil, timer_func)
|
||||||
|
}
|
||||||
|
|
||||||
func (this *Timer) AddRepeatTimerEx(
|
func (this *Timer) AddRepeatTimerEx(
|
||||||
milli_seconds int32,
|
milli_seconds int32,
|
||||||
init_func func (params* XParams),
|
init_func func (params* XParams),
|
||||||
@ -182,6 +194,12 @@ func (this *Timer) AddFixedTimer(
|
|||||||
return this.AddFixedTimerEx(milli_seconds, init_func, timer_func, nil)
|
return this.AddFixedTimerEx(milli_seconds, init_func, timer_func, nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (this *Timer) AddSimpleFixedTimer(
|
||||||
|
milli_seconds int32,
|
||||||
|
timer_func func (params* XParams)) *TimerList {
|
||||||
|
return this.AddFixedTimer(milli_seconds, nil, timer_func)
|
||||||
|
}
|
||||||
|
|
||||||
func (this *Timer) AddFixedTimerEx(
|
func (this *Timer) AddFixedTimerEx(
|
||||||
milli_seconds int32,
|
milli_seconds int32,
|
||||||
init_func func (params* XParams),
|
init_func func (params* XParams),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user