se_core::ComponentFactory Class Reference

#include <ComponentFactory.hpp>

Inheritance diagram for se_core::ComponentFactory:

se_basic::NavMeshAreaComponentFactory se_basic::NavMeshComponentFactory se_core::ActorFactory se_core::CollisionComponentFactory se_core::CutsceneAreaComponentFactory se_core::CutsceneComponentFactory se_core::PhysicsComponentFactory se_core::ScriptComponentFactory se_core::SignalComponentFactory se_core::SpawnAreaComponentFactory se_core::SpawnComponentFactory se_core::StatComponentFactory se_core::ZoneAreaComponentFactory se_core::ZoneComponentFactory se_ogre::O3dAreaComponentFactory se_ogre::O3dThingComponentFactory List of all members.

Public Member Functions

 ComponentFactory (int type)
virtual ~ComponentFactory ()
virtual Componentcreate (Composite *owner) const =0
virtual void release (Component *t) const
bool doDestroy () const
void setDoDestroy (bool f)

Protected Attributes

int type_
bool doDestroy_

Constructor & Destructor Documentation

se_core::ComponentFactory::ComponentFactory int  type  ) 
 

Definition at line 29 of file ComponentFactory.cpp.

se_core::ComponentFactory::~ComponentFactory  )  [virtual]
 

Definition at line 34 of file ComponentFactory.cpp.


Member Function Documentation

virtual Component* se_core::ComponentFactory::create Composite owner  )  const [pure virtual]
 

Implemented in se_core::StatComponentFactory, se_core::CutsceneAreaComponentFactory, se_core::CutsceneComponentFactory, se_core::PhysicsComponentFactory, se_core::CollisionComponentFactory, se_core::ScriptComponentFactory, se_core::SignalComponentFactory, se_core::SpawnAreaComponentFactory, se_core::SpawnComponentFactory, se_core::ActorFactory, se_core::ZoneAreaComponentFactory, and se_core::ZoneComponentFactory.

Referenced by se_core::CompositeFactory::Generic::createComponents(), and se_core::CompositeFactory::createComponents().

bool se_core::ComponentFactory::doDestroy  )  const [inline]
 

Definition at line 35 of file ComponentFactory.hpp.

void se_core::ComponentFactory::release Component t  )  const [virtual]
 

Definition at line 44 of file ComponentFactory.cpp.

Referenced by se_core::Composite::releaseComponents().

void se_core::ComponentFactory::setDoDestroy bool  f  ) 
 

Definition at line 39 of file ComponentFactory.cpp.

References Assert.

Referenced by se_core::ParseManager::parseComponent().


Member Data Documentation

bool se_core::ComponentFactory::doDestroy_ [protected]
 

Definition at line 40 of file ComponentFactory.hpp.

int se_core::ComponentFactory::type_ [protected]
 

Definition at line 39 of file ComponentFactory.hpp.


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

Home Page | SagaEngine trunk (updated nightly) reference generated Sun Dec 2 20:06:23 2007 by Doxygen version 1.3.9.1.

SourceForge.net Logo