C# Класс Ros_CSharp.TimerManager

The timer manager.
Наследование: IDisposable
Показать файл Открыть проект

Открытые методы

Метод Описание
Dispose ( ) : void

clean up shop

MakeTimer ( TimerCallback cb, int d = Timeout.Infinite, int p = Timeout.Infinite ) : WrappedTimer

Wrap and start timer a with added functionality, and make sure it dies with this TimerManager This DOES NOT START IT.

MakeTimer ( WrappedTimer t ) : void

Add a wrapped timer to the hashset

RemoveTimer ( WrappedTimer &t ) : void

Stop tracking a timer, and kill it

StartTimer ( TimerCallback cb, int d = Timeout.Infinite, int p = Timeout.Infinite ) : WrappedTimer

Wrap a timer a with added functionality, and make sure it dies with this TimerManager This DOES NOT START IT.

Описание методов

Dispose() публичный Метод

clean up shop
public Dispose ( ) : void
Результат void

MakeTimer() публичный Метод

Wrap and start timer a with added functionality, and make sure it dies with this TimerManager This DOES NOT START IT.
public MakeTimer ( TimerCallback cb, int d = Timeout.Infinite, int p = Timeout.Infinite ) : WrappedTimer
cb TimerCallback /// The callback of the wrapped timer ///
d int /// The delay it should have ///
p int /// The period it should have ///
Результат WrappedTimer

MakeTimer() публичный Метод

Add a wrapped timer to the hashset
public MakeTimer ( WrappedTimer t ) : void
t WrappedTimer the wrapped timer
Результат void

RemoveTimer() публичный Метод

Stop tracking a timer, and kill it
public RemoveTimer ( WrappedTimer &t ) : void
t WrappedTimer The timer to forget and kill
Результат void

StartTimer() публичный Метод

Wrap a timer a with added functionality, and make sure it dies with this TimerManager This DOES NOT START IT.
public StartTimer ( TimerCallback cb, int d = Timeout.Infinite, int p = Timeout.Infinite ) : WrappedTimer
cb TimerCallback /// The callback of the wrapped timer ///
d int /// The delay it should have ///
p int /// The period it should have ///
Результат WrappedTimer