DeactivatorStandard Class Reference

#include <rimPhysicsDeactivatorStandard.h>

Inheritance diagram for DeactivatorStandard:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 DeactivatorStandard ()
 DeactivatorStandard (const DeactivationProfile &defaultDeactivationProfile)
 DeactivatorStandard (const DeactivatorStandard &deactivator)
DeactivatorStandardoperator= (const DeactivatorStandard &deactivator)
virtual ~DeactivatorStandard ()
virtual void updateActivity (Real dt)
 Update the activity of all rigid objects that the deactivator is managing.
virtual const DeactivationProfilegetDefaultDeactivationProfile () const
 Get the default deactivation profile that this deactivator uses.
virtual void setDefaultDeactivationProfile (const DeactivationProfile &profile)
 Set the default deactivation profile that this deactivator uses.
virtual bool addRigidObject (RigidObject *newRigidObject)
 Add a rigid object to the system.
virtual bool removeRigidObject (RigidObject *newRigidObject)
 Remove a rigid object from the system.
virtual bool containsRigidObject (RigidObject *newRigidObject) const
 Return whether or not a rigid object is contained in the system.
virtual void clearRigidObjects ()
 Clear all rigid objects from the system.
virtual int getNumberOfRigidObjects () const
 Get the number of rigid objects in the system.

Private Attributes

ArrayList< RigidObject * > rigidObjects
 The rigid objects that this deactivator is managing.
DeactivationProfiledefaultProfile
 The default deactivation profile for those deactivation states without one.


Constructor & Destructor Documentation

RIM_PHYSICS_NAMESPACE_START DeactivatorStandard::DeactivatorStandard (  ) 

DeactivatorStandard::DeactivatorStandard ( const DeactivationProfile defaultDeactivationProfile  ) 

DeactivatorStandard::DeactivatorStandard ( const DeactivatorStandard deactivator  ) 

DeactivatorStandard::~DeactivatorStandard (  )  [virtual]


Member Function Documentation

DeactivatorStandard & DeactivatorStandard::operator= ( const DeactivatorStandard deactivator  ) 

void DeactivatorStandard::updateActivity ( Real  dt  )  [virtual]

Update the activity of all rigid objects that the deactivator is managing.

Implements Deactivator.

const DeactivationProfile & DeactivatorStandard::getDefaultDeactivationProfile (  )  const [virtual]

Get the default deactivation profile that this deactivator uses.

Implements Deactivator.

void DeactivatorStandard::setDefaultDeactivationProfile ( const DeactivationProfile profile  )  [virtual]

Set the default deactivation profile that this deactivator uses.

Implements Deactivator.

bool DeactivatorStandard::addRigidObject ( RigidObject newRigidObject  )  [virtual]

Add a rigid object to the system.

Implements PhysicsSystem.

bool DeactivatorStandard::removeRigidObject ( RigidObject newRigidObject  )  [virtual]

Remove a rigid object from the system.

Implements PhysicsSystem.

bool DeactivatorStandard::containsRigidObject ( RigidObject newRigidObject  )  const [virtual]

Return whether or not a rigid object is contained in the system.

Implements PhysicsSystem.

void DeactivatorStandard::clearRigidObjects (  )  [virtual]

Clear all rigid objects from the system.

Implements PhysicsSystem.

int DeactivatorStandard::getNumberOfRigidObjects (  )  const [virtual]

Get the number of rigid objects in the system.

Implements PhysicsSystem.


Member Data Documentation

ArrayList<RigidObject*> DeactivatorStandard::rigidObjects [private]

The rigid objects that this deactivator is managing.

DeactivationProfile* DeactivatorStandard::defaultProfile [private]

The default deactivation profile for those deactivation states without one.


The documentation for this class was generated from the following files:
Generated on Tue Aug 26 00:03:20 2008 for Rim Physics by  doxygen 1.5.4