# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

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>

Inheritance diagram for NL3D::CPSForceIntensityHelper:

NL3D::CPSForce NL3D::CPSForceIntensity NL3D::CPSTargetLocatedBindable NL3D::CPSLocatedBindable NLMISC::IStreamable NLMISC::IClassable NL3D::CPSBrownianForce NL3D::CPSCentralGravity NL3D::CPSCylindricVortex NL3D::CPSDirectionnalForce NL3D::CPSGravity NL3D::CPSSpring NL3D::CPSMagneticForce List of all members.

Public Methods

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


Protected Methods

virtual CPSLocatedgetForceIntensityOwner (void)
 deriver must return the located that own them here. More...

virtual void newElement (CPSLocated *emitterLocated, uint32 emitterIndex)
 Generate a new element for this bindable. More...

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. More...

virtual void resize (uint32 size)
 Resize the bindable attributes containers DERIVERS SHOULD CALL THEIR PARENT VERSION should not be called directly. More...


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 218 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.

Definition at line 226 of file ps_force.h.

References NL3D::CPSForceIntensity::deleteForceIntensityElement, and index.

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.

Definition at line 224 of file ps_force.h.

References NL3D::CPSLocatedBindable::_Owner, and NL3D::CPSForce::CPSLocated.

virtual void NL3D::CPSForceIntensityHelper::newElement CPSLocated   emitterLocated,
uint32    emitterIndex
[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.

Definition at line 225 of file ps_force.h.

References NL3D::CPSForce::CPSLocated, and 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.

Definition at line 227 of file ps_force.h.

References NL3D::CPSForceIntensity::resizeForceIntensity.

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

Serial the force definition. MUST be called by deriver during their serialisation.

Reimplemented from NL3D::CPSForce.

Reimplemented in NL3D::CPSDirectionnalForce.

Definition at line 231 of file ps_force.cpp.


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