C# Class Codebreak.Framework.Generic.TaskProcessorBase

Datei anzeigen Open project: hussein-aitlahcen/codebreak

Public Methods

Method Description
AddLinkedMessages ( ) : void

AddLinkedMessages ( int index ) : void

AddMessage ( System.Action message ) : void

AddTimer ( int delay, System.Action callback, bool oneshot = false ) : UpdatableTimer

AddTimer ( UpdatableTimer timer ) : void

AddUpdatable ( Updatable updatable ) : void

RemoveTimer ( UpdatableTimer timer ) : void

RemoveUpdatable ( Updatable updatable ) : void

Start ( ) : void

Stop ( ) : void

TaskProcessorBase ( string name, int updateInterval = 10 ) : System

Private Methods

Method Description
InternalStart ( ) : void

InternalUpdate ( ) : void

Method Details

AddLinkedMessages() public method

public AddLinkedMessages ( ) : void
return void

AddLinkedMessages() public method

public AddLinkedMessages ( int index ) : void
index int
return void

AddMessage() public method

public AddMessage ( System.Action message ) : void
message System.Action
return void

AddTimer() public method

public AddTimer ( int delay, System.Action callback, bool oneshot = false ) : UpdatableTimer
delay int
callback System.Action
oneshot bool
return UpdatableTimer

AddTimer() public method

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

AddUpdatable() public method

public AddUpdatable ( Updatable updatable ) : void
updatable Updatable
return void

RemoveTimer() public method

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

RemoveUpdatable() public method

public RemoveUpdatable ( Updatable updatable ) : void
updatable Updatable
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

TaskProcessorBase() public method

public TaskProcessorBase ( string name, int updateInterval = 10 ) : System
name string
updateInterval int
return System