C# Class BEPUphysics.DeactivationManagement.DeactivationManager

Manages the sleeping states of objects.
Inheritance: MultithreadedProcessingStage
Show file Open project: Indiefreaks/igf Class Usage Examples

Public Methods

Method Description
Add ( BEPUphysics.DeactivationManagement.SimulationIslandConnection connection ) : void

Adds a simulation island connection to the deactivation manager.

Add ( SimulationIslandMember simulationIslandMember ) : void

Adds a simulation island member to the manager.

AddSimulationIslandToMember ( SimulationIslandMember member ) : void

Adds a simulation island to a member.

DeactivationManager ( TimeStepSettings timeStepSettings ) : System

Constructs a deactivation manager.

DeactivationManager ( TimeStepSettings timeStepSettings, IThreadManager threadManager ) : System

Constructs a deactivation manager.

Remove ( BEPUphysics.DeactivationManagement.SimulationIslandConnection connection ) : void

Removes a simulation island connection from the manager.

Remove ( SimulationIslandMember simulationIslandMember ) : void

Removes the member from this island.

RemoveSimulationIslandFromMember ( SimulationIslandMember member ) : void

Strips a member of its simulation island.

Protected Methods

Method Description
UpdateMultithreaded ( ) : void
UpdateSingleThreaded ( ) : void

Private Methods

Method Description
DeactivateObjects ( ) : void
FlushSplits ( ) : void
GiveBackIsland ( SimulationIsland island ) : void
Merge ( SimulationIsland s1, SimulationIsland s2 ) : SimulationIsland
MultithreadedCandidacyLoop ( int i ) : void
TryToSplit ( SimulationIslandMember member1, SimulationIslandMember member2 ) : bool

Tries to split connections between the two island members.

Method Details

Add() public method

Adds a simulation island connection to the deactivation manager.
Thrown if the connection already belongs to a manager.
public Add ( BEPUphysics.DeactivationManagement.SimulationIslandConnection connection ) : void
connection BEPUphysics.DeactivationManagement.SimulationIslandConnection Connection to add.
return void

Add() public method

Adds a simulation island member to the manager.
Thrown if the member already belongs to a manager.
public Add ( SimulationIslandMember simulationIslandMember ) : void
simulationIslandMember SimulationIslandMember Member to add.
return void

AddSimulationIslandToMember() public method

Adds a simulation island to a member.
Thrown if the member already has a simulation island.
public AddSimulationIslandToMember ( SimulationIslandMember member ) : void
member SimulationIslandMember Member to gain a simulation island.
return void

DeactivationManager() public method

Constructs a deactivation manager.
public DeactivationManager ( TimeStepSettings timeStepSettings ) : System
timeStepSettings TimeStepSettings The time step settings used by the manager.
return System

DeactivationManager() public method

Constructs a deactivation manager.
public DeactivationManager ( TimeStepSettings timeStepSettings, IThreadManager threadManager ) : System
timeStepSettings TimeStepSettings The time step settings used by the manager.
threadManager IThreadManager Thread manager used by the manager.
return System

Remove() public method

Removes a simulation island connection from the manager.
Thrown if the connection does not belong to this manager.
public Remove ( BEPUphysics.DeactivationManagement.SimulationIslandConnection connection ) : void
connection BEPUphysics.DeactivationManagement.SimulationIslandConnection Connection to remove from the manager.
return void

Remove() public method

Removes the member from this island.
public Remove ( SimulationIslandMember simulationIslandMember ) : void
simulationIslandMember SimulationIslandMember Removes the member from the manager.
return void

RemoveSimulationIslandFromMember() public method

Strips a member of its simulation island.
public RemoveSimulationIslandFromMember ( SimulationIslandMember member ) : void
member SimulationIslandMember Member to be stripped.
return void

UpdateMultithreaded() protected method

protected UpdateMultithreaded ( ) : void
return void

UpdateSingleThreaded() protected method

protected UpdateSingleThreaded ( ) : void
return void