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
Exibir arquivo 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_oe property

protected bool AllowDisablePhysics
return bool

AllowDisableScripts protected_oe property

protected bool AllowDisableScripts
return bool

DisabledPhysicsStartTime protected_oe property

protected DateTime,System DisabledPhysicsStartTime
return System.DateTime

DisabledScriptStartTime protected_oe property

protected DateTime,System DisabledScriptStartTime
return System.DateTime

KillSimOnZeroFPS protected_oe property

protected bool KillSimOnZeroFPS
return bool

MinutesBeforeZeroFPSKills protected_oe property

protected float MinutesBeforeZeroFPSKills
return float

PercentToBeginShutDownOfServices protected_oe property

protected float PercentToBeginShutDownOfServices
return float

SimZeroFPSStartTime protected_oe property

protected DateTime,System SimZeroFPSStartTime
return System.DateTime

TimeAfterToReenablePhysics protected_oe property

protected float TimeAfterToReenablePhysics
return float

TimeAfterToReenableScripts protected_oe property

protected float TimeAfterToReenableScripts
return float

TimeBetweenChecks protected_oe property

protected float TimeBetweenChecks
return float

TimerToCheckHeartbeat protected_oe property

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

m_Enabled protected_oe property

protected bool m_Enabled
return bool

m_scene protected_oe property

protected IScene m_scene
return IScene

m_statsReporter protected_oe property

protected ISimFrameMonitor m_statsReporter
return ISimFrameMonitor