NL3D::CPSForceIntensityHelper Class Reference

this class defines the newElement, deleteElement, and resize method of a class that derives from CPSForceIntensity And that don't add per paerticle attribute More...

#include <ps_force.h>

Inherits NL3D::CPSForce, and NL3D::CPSForceIntensity.

Inherited by NL3D::CPSBrownianForce, NL3D::CPSCentralGravity, NL3D::CPSCylindricVortex, NL3D::CPSDirectionnalForce, NL3D::CPSGravity, and NL3D::CPSSpring.

List of all members.

Public Member Functions

void serial (NLMISC::IStream &f) throw (NLMISC::EStream)
 Serial the force definition. MUST be called by deriver during their serialisation.

Protected Member Functions

virtual CPSLocatedgetForceIntensityOwner (void)
 deriver must return the located that own them here
virtual void newElement (const CPSEmitterInfo &info)
 Generate a new element for this bindable.
virtual void deleteElement (uint32 index)
 Delete an element given its index Attributes of the located that hold this bindable are still accessible for of the index given index out of range -> nl_assert.
virtual void resize (uint32 size)
 Resize the bindable attributes containers DERIVERS SHOULD CALL THEIR PARENT VERSION should not be called directly.

Detailed Description

this class defines the newElement, deleteElement, and resize method of a class that derives from CPSForceIntensity And that don't add per paerticle attribute

Definition at line 216 of file ps_force.h.


Member Function Documentation

virtual void NL3D::CPSForceIntensityHelper::deleteElement ( uint32  index  )  [inline, protected, virtual]

Delete an element given its index Attributes of the located that hold this bindable are still accessible for of the index given index out of range -> nl_assert.

Implements NL3D::CPSForce.

Reimplemented in NL3D::CPSBrownianForce, and NL3D::CPSCylindricVortex.

Definition at line 224 of file ps_force.h.

References NL3D::CPSForceIntensity::deleteForceIntensityElement().

virtual CPSLocated* NL3D::CPSForceIntensityHelper::getForceIntensityOwner ( void   )  [inline, protected, virtual]

deriver must return the located that own them here

Implements NL3D::CPSForceIntensity.

Reimplemented in NL3D::CPSBrownianForce, and NL3D::CPSCylindricVortex.

Definition at line 222 of file ps_force.h.

References NL3D::CPSLocatedBindable::_Owner.

virtual void NL3D::CPSForceIntensityHelper::newElement ( const CPSEmitterInfo info  )  [inline, protected, virtual]

Generate a new element for this bindable.

They are generated according to the propertie of the class

Implements NL3D::CPSForce.

Reimplemented in NL3D::CPSBrownianForce, and NL3D::CPSCylindricVortex.

Definition at line 223 of file ps_force.h.

References NL3D::CPSForceIntensity::newForceIntensityElement().

virtual void NL3D::CPSForceIntensityHelper::resize ( uint32  size  )  [inline, protected, virtual]

Resize the bindable attributes containers DERIVERS SHOULD CALL THEIR PARENT VERSION should not be called directly.

Call CPSLOcated::resize instead

Implements NL3D::CPSForce.

Reimplemented in NL3D::CPSBrownianForce, and NL3D::CPSCylindricVortex.

Definition at line 225 of file ps_force.h.

References NL3D::CPSForceIntensity::resizeForceIntensity().

void NL3D::CPSForceIntensityHelper::serial ( NLMISC::IStream f  )  throw (NLMISC::EStream) [virtual]

The documentation for this class was generated from the following files:

Generated on Thu Jan 7 08:30:08 2010 for NeL by  doxygen 1.6.1