Particle Universe  1.2
ParticleUniverse::DynamicAttributeFactory Class Reference

#include <ParticleUniverseDynamicAttributeFactory.h>

Inheritance diagram for ParticleUniverse::DynamicAttributeFactory:

Public Member Functions

 DynamicAttributeFactory (void)
 
virtual ~DynamicAttributeFactory (void)
 
template<class T >
T * createDynamicAttribute (void)
 
DynamicAttributecloneDynamicAttribute (DynamicAttribute *dynamicAttribute)
 
void destroyDynamicAttribute (DynamicAttribute *dynamicAttribute)
 
virtual void write (ParticleScriptSerializer *serializer, const IElement *element)
 
Real _getDefaultValue (const DynamicAttribute *dynAttribute)
 
- Public Member Functions inherited from ParticleUniverse::ScriptWriter
 ScriptWriter (void)
 
virtual ~ScriptWriter (void)
 

Protected Attributes

DynamicAttributeWriter mDynamicAttributeWriter
 

Detailed Description

This factory class is responsible for creating a DynamicAttribute object.

Constructor & Destructor Documentation

ParticleUniverse::DynamicAttributeFactory::DynamicAttributeFactory ( void  )
inline
virtual ParticleUniverse::DynamicAttributeFactory::~DynamicAttributeFactory ( void  )
inlinevirtual

Member Function Documentation

Real ParticleUniverse::DynamicAttributeFactory::_getDefaultValue ( const DynamicAttribute dynAttribute)
inline

Returns the default value of a DynamicAttribute. Not for general use.

DynamicAttribute* ParticleUniverse::DynamicAttributeFactory::cloneDynamicAttribute ( DynamicAttribute dynamicAttribute)
inline
template<class T >
T* ParticleUniverse::DynamicAttributeFactory::createDynamicAttribute ( void  )
inline
void ParticleUniverse::DynamicAttributeFactory::destroyDynamicAttribute ( DynamicAttribute dynamicAttribute)
inline

Delete a DynamicAttribute

virtual void ParticleUniverse::DynamicAttributeFactory::write ( ParticleScriptSerializer serializer,
const IElement element 
)
inlinevirtual

Member Data Documentation

DynamicAttributeWriter ParticleUniverse::DynamicAttributeFactory::mDynamicAttributeWriter
protected

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