C# 클래스 Ros_CSharp.TimerManager

The timer manager.
상속: IDisposable
파일 보기 프로젝트 열기: uml-robotics/ROS.NET

공개 메소드들

메소드 설명
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