C# Class Universe.Modules.SimProtection.SimProtection

This module helps keep the sim running when it begins to slow down, or if it freezes, restarts it
Inheritance: INonSharedRegionModule
Show file Open project: Virtual-Universe/Virtual-Universe

Protected Properties

Property Type Description
AllowDisablePhysics bool
AllowDisableScripts bool
DisabledPhysicsStartTime System.DateTime
DisabledScriptStartTime System.DateTime
KillSimOnZeroFPS bool
MinutesBeforeZeroFPSKills float
PercentToBeginShutDownOfServices float
SimZeroFPSStartTime System.DateTime
TimeAfterToReenablePhysics float
TimeAfterToReenableScripts float
TimeBetweenChecks float
TimerToCheckHeartbeat System.Timers.Timer
m_Enabled bool
m_scene IScene
m_statsReporter ISimFrameMonitor

Public Methods

Method Description
AddRegion ( IScene scene ) : void
Close ( ) : void
Initialize ( IConfigSource source ) : void
RegionLoaded ( IScene scene ) : void
RemoveRegion ( IScene scene ) : void

Protected Methods

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

Method Details

AddRegion() public method

public AddRegion ( IScene scene ) : void
scene IScene
return void

Close() public method

public Close ( ) : void
return void

Initialize() public method

public Initialize ( IConfigSource source ) : void
source IConfigSource
return void

OnCheck() protected method

protected OnCheck ( object sender, System.Timers.ElapsedEventArgs e ) : void
sender object
e System.Timers.ElapsedEventArgs
return void

RegionLoaded() public method

public RegionLoaded ( IScene scene ) : void
scene IScene
return void

RemoveRegion() public method

public RemoveRegion ( IScene scene ) : void
scene IScene
return void

Property Details

AllowDisablePhysics protected property

protected bool AllowDisablePhysics
return bool

AllowDisableScripts protected property

protected bool AllowDisableScripts
return bool

DisabledPhysicsStartTime protected property

protected DateTime,System DisabledPhysicsStartTime
return System.DateTime

DisabledScriptStartTime protected property

protected DateTime,System DisabledScriptStartTime
return System.DateTime

KillSimOnZeroFPS protected property

protected bool KillSimOnZeroFPS
return bool

MinutesBeforeZeroFPSKills protected property

protected float MinutesBeforeZeroFPSKills
return float

PercentToBeginShutDownOfServices protected property

protected float PercentToBeginShutDownOfServices
return float

SimZeroFPSStartTime protected property

protected DateTime,System SimZeroFPSStartTime
return System.DateTime

TimeAfterToReenablePhysics protected property

protected float TimeAfterToReenablePhysics
return float

TimeAfterToReenableScripts protected property

protected float TimeAfterToReenableScripts
return float

TimeBetweenChecks protected property

protected float TimeBetweenChecks
return float

TimerToCheckHeartbeat protected property

protected Timer,System.Timers TimerToCheckHeartbeat
return System.Timers.Timer

m_Enabled protected property

protected bool m_Enabled
return bool

m_scene protected property

protected IScene m_scene
return IScene

m_statsReporter protected property

protected ISimFrameMonitor m_statsReporter
return ISimFrameMonitor