C# Class Moe.StateMachine.Extensions.Timers.TimerPlugin

Inheritance: IPlugIn, IDisposable
ファイルを表示 Open project: sstuddard/Moe.StateMachine

Public Methods

Method Description
AddTimer ( ITimer timer ) : void
Dispose ( ) : void
Initialize ( StateMachine sm ) : void
PostEvent ( object eventToPost ) : void
RemoveTimer ( ITimer timer ) : void
TimerPlugin ( ) : System

Private Methods

Method Description
GetNextAlarm ( ) : ITimer
Log ( string message ) : void
OnActiveTimerChanged ( object sender, EventArgs args ) : void
RunAlarm ( ) : void
Start ( ) : void
Stop ( ) : void

Method Details

AddTimer() public method

public AddTimer ( ITimer timer ) : void
timer ITimer
return void

Dispose() public method

public Dispose ( ) : void
return void

Initialize() public method

public Initialize ( StateMachine sm ) : void
sm StateMachine
return void

PostEvent() public method

public PostEvent ( object eventToPost ) : void
eventToPost object
return void

RemoveTimer() public method

public RemoveTimer ( ITimer timer ) : void
timer ITimer
return void

TimerPlugin() public method

public TimerPlugin ( ) : System
return System