C# Class Artemis.Managers.MainManager

Contains all the other managers and non-loop related components
Inheritance: IDisposable
Show file Open project: SpoinkyNL/Artemis Class Usage Examples

Private Properties

Property Type Description
ScanProcesses void

Public Methods

Method Description
DisableProgram ( ) : void

Stops the program

Dispose ( ) : void
EnableProgram ( ) : void

Loads the last active effect and starts the program

MainManager ( ILogger logger, LoopManager loopManager, DeviceManager deviceManager, EffectManager effectManager, ProfileManager profileManager, PipeServer pipeServer ) : System

Protected Methods

Method Description
RaiseEnabledChangedEvent ( EnabledChangedEventArgs e ) : void

Private Methods

Method Description
ScanProcesses ( object sender, System.Timers.ElapsedEventArgs e ) : void

Manages active games by keeping an eye on their processes

Method Details

DisableProgram() public method

Stops the program
public DisableProgram ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

EnableProgram() public method

Loads the last active effect and starts the program
public EnableProgram ( ) : void
return void

MainManager() public method

public MainManager ( ILogger logger, LoopManager loopManager, DeviceManager deviceManager, EffectManager effectManager, ProfileManager profileManager, PipeServer pipeServer ) : System
logger ILogger
loopManager LoopManager
deviceManager DeviceManager
effectManager EffectManager
profileManager ProfileManager
pipeServer Artemis.Utilities.DataReaders.PipeServer
return System

RaiseEnabledChangedEvent() protected method

protected RaiseEnabledChangedEvent ( EnabledChangedEventArgs e ) : void
e Artemis.Events.EnabledChangedEventArgs
return void