Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

BaseParticleFactory Class Reference

#include <baseParticleFactory.h>

Inheritance diagram for BaseParticleFactory:

ReferenceCount OrientedParticleFactory PointParticleFactory ZSpinParticleFactory List of all members.

Protected Member Functions

 BaseParticleFactory (void)
 BaseParticleFactory (const BaseParticleFactory &copy)
INLINE void set_lifespan_base (float lb)
INLINE void set_lifespan_spread (float ls)
INLINE void set_mass_base (float mb)
INLINE void set_mass_spread (float ms)
INLINE void set_terminal_velocity_base (float tvb)
INLINE void set_terminal_velocity_spread (float tvs)
INLINE float get_lifespan_base (void) const
INLINE float get_lifespan_spread (void) const
INLINE float get_mass_base (void) const
INLINE float get_mass_spread (void) const
INLINE float get_terminal_velocity_base (void) const
INLINE float get_terminal_velocity_spread (void) const
virtual BaseParticlealloc_particle (void) const=0
void populate_particle (BaseParticle *bp)

Protected Attributes

PUBLISHED __pad0__: virtual ~BaseParticleFactory(void)

Private Member Functions

virtual void populate_child_particle (BaseParticle *bp) const=0

Private Attributes

float _lifespan_base
float _lifespan_spread
float _mass_base
float _mass_spread
float _terminal_velocity_base
float _terminal_velocity_spread

Constructor & Destructor Documentation

BaseParticleFactory::BaseParticleFactory void   )  [protected]
 

Definition at line 27 of file baseParticleFactory.cxx.

References PhysicsObject::_default_terminal_velocity, _lifespan_base, _lifespan_spread, _mass_base, _mass_spread, _terminal_velocity_base, and _terminal_velocity_spread.

BaseParticleFactory::BaseParticleFactory const BaseParticleFactory &  copy  )  [protected]
 

Definition at line 44 of file baseParticleFactory.cxx.

References _lifespan_base, _lifespan_spread, _terminal_velocity_base, and _terminal_velocity_spread.


Member Function Documentation

virtual BaseParticle* BaseParticleFactory::alloc_particle void   )  const [protected, pure virtual]
 

Implemented in OrientedParticleFactory, PointParticleFactory, and ZSpinParticleFactory.

INLINE float BaseParticleFactory::get_lifespan_base void   )  const [protected]
 

INLINE float BaseParticleFactory::get_lifespan_spread void   )  const [protected]
 

INLINE float BaseParticleFactory::get_mass_base void   )  const [protected]
 

INLINE float BaseParticleFactory::get_mass_spread void   )  const [protected]
 

INLINE float BaseParticleFactory::get_terminal_velocity_base void   )  const [protected]
 

INLINE float BaseParticleFactory::get_terminal_velocity_spread void   )  const [protected]
 

virtual void BaseParticleFactory::populate_child_particle BaseParticle bp  )  const [private, pure virtual]
 

Implemented in OrientedParticleFactory, PointParticleFactory, and ZSpinParticleFactory.

Referenced by populate_particle().

void BaseParticleFactory::populate_particle BaseParticle bp  )  [protected]
 

Definition at line 65 of file baseParticleFactory.cxx.

References _lifespan_base, _lifespan_spread, _mass_base, _mass_spread, _terminal_velocity_base, _terminal_velocity_spread, populate_child_particle(), BaseParticle::set_age(), BaseParticle::set_alive(), BaseParticle::set_lifespan(), and SPREAD.

INLINE void BaseParticleFactory::set_lifespan_base float  lb  )  [protected]
 

INLINE void BaseParticleFactory::set_lifespan_spread float  ls  )  [protected]
 

INLINE void BaseParticleFactory::set_mass_base float  mb  )  [protected]
 

INLINE void BaseParticleFactory::set_mass_spread float  ms  )  [protected]
 

INLINE void BaseParticleFactory::set_terminal_velocity_base float  tvb  )  [protected]
 

INLINE void BaseParticleFactory::set_terminal_velocity_spread float  tvs  )  [protected]
 


Member Data Documentation

PUBLISHED BaseParticleFactory::__pad0__ [protected]
 

Reimplemented from ReferenceCount.

Reimplemented in OrientedParticleFactory, PointParticleFactory, and ZSpinParticleFactory.

Definition at line 52 of file baseParticleFactory.h.

float BaseParticleFactory::_lifespan_base [private]
 

Definition at line 36 of file baseParticleFactory.h.

Referenced by BaseParticleFactory(), and populate_particle().

float BaseParticleFactory::_lifespan_spread [private]
 

Definition at line 37 of file baseParticleFactory.h.

Referenced by BaseParticleFactory(), and populate_particle().

float BaseParticleFactory::_mass_base [private]
 

Definition at line 39 of file baseParticleFactory.h.

Referenced by BaseParticleFactory(), and populate_particle().

float BaseParticleFactory::_mass_spread [private]
 

Definition at line 40 of file baseParticleFactory.h.

Referenced by BaseParticleFactory(), and populate_particle().

float BaseParticleFactory::_terminal_velocity_base [private]
 

Definition at line 42 of file baseParticleFactory.h.

Referenced by BaseParticleFactory(), and populate_particle().

float BaseParticleFactory::_terminal_velocity_spread [private]
 

Definition at line 43 of file baseParticleFactory.h.

Referenced by BaseParticleFactory(), and populate_particle().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 00:11:22 2003 for Panda by doxygen1.3