se_core::AreaFactory Class Reference

#include <AreaFactory.hpp>

Inheritance diagram for se_core::AreaFactory:

se_core::CompositeFactory se_basic::NavMeshAreaFactory se_basic::SimpleAreaFactory List of all members.

Public Member Functions

 AreaFactory (String *name)
virtual ~AreaFactory ()
virtual Compositecreate (String *name, int pageX, int pageY, int pageZ, int gridId) const =0
const char * name () const
int type () const
virtual Compositecreate () const
virtual void release (Composite *t) const
void addComponent (ComponentFactory *f)
void setTag (int t)
int tag ()

Static Public Member Functions

void addGenericComponent (CompositeType type, const ComponentFactory *f)

Protected Member Functions

void createComponents (Composite *owner) const
void createGenericComponents (Composite *owner) const

Static Protected Member Functions

Generic & gen ()

Protected Attributes

Stringname_
CompositeType type_
int tag_
int componentCount_
ComponentFactorycomponents_ [MAX_COMPONENTS]

Static Protected Attributes

const int MAX_COMPONENTS = 32

Constructor & Destructor Documentation

se_core::AreaFactory::AreaFactory String name  ) 
 

Definition at line 35 of file AreaFactory.cpp.

References se_core::st_AREA.

se_core::AreaFactory::~AreaFactory  )  [virtual]
 

Definition at line 41 of file AreaFactory.cpp.


Member Function Documentation

void se_core::CompositeFactory::addComponent ComponentFactory f  )  [inherited]
 

Definition at line 76 of file CompositeFactory.cpp.

References Assert.

Referenced by se_core::CompositeParser::parse(), se_ogre::O3dThingParser::parse(), and se_basic::SimpleActorParser::parse().

void se_core::CompositeFactory::addGenericComponent CompositeType  type,
const ComponentFactory f
[inline, static, inherited]
 

Definition at line 43 of file CompositeFactory.hpp.

Composite * se_core::CompositeFactory::create  )  const [virtual, inherited]
 

Reimplemented in se_basic::SimpleActorFactory.

Definition at line 55 of file CompositeFactory.cpp.

Referenced by se_core::SpawnManager::create().

virtual Composite* se_core::AreaFactory::create String name,
int  pageX,
int  pageY,
int  pageZ,
int  gridId
const [pure virtual]
 

Referenced by se_core::AreaManager::createArea().

void se_core::CompositeFactory::createComponents Composite owner  )  const [protected, inherited]
 

Definition at line 83 of file CompositeFactory.cpp.

References se_core::ComponentFactory::create().

void se_core::CompositeFactory::createGenericComponents Composite owner  )  const [protected, inherited]
 

Definition at line 91 of file CompositeFactory.cpp.

CompositeFactory::Generic & se_core::CompositeFactory::gen  )  [static, protected, inherited]
 

Definition at line 31 of file CompositeFactory.cpp.

const char * se_core::CompositeFactory::name  )  const [inherited]
 

Definition at line 70 of file CompositeFactory.cpp.

Referenced by se_core::SpawnManager::addFactory(), and se_ogre::O3dManager::updateStats().

void se_core::CompositeFactory::release Composite t  )  const [virtual, inherited]
 

Definition at line 64 of file CompositeFactory.cpp.

Referenced by se_core::SpawnManager::performDestructions(), and se_core::AreaManager::resetAll().

void se_core::CompositeFactory::setTag int  t  )  [inline, inherited]
 

Definition at line 47 of file CompositeFactory.hpp.

Referenced by se_basic::SimpleActorParser::parse().

int se_core::CompositeFactory::tag  )  [inline, inherited]
 

Definition at line 48 of file CompositeFactory.hpp.

int se_core::CompositeFactory::type  )  const [inline, inherited]
 

Definition at line 36 of file CompositeFactory.hpp.


Member Data Documentation

int se_core::CompositeFactory::componentCount_ [protected, inherited]
 

Definition at line 59 of file CompositeFactory.hpp.

ComponentFactory* se_core::CompositeFactory::components_[MAX_COMPONENTS] [protected, inherited]
 

Definition at line 60 of file CompositeFactory.hpp.

const int se_core::CompositeFactory::MAX_COMPONENTS = 32 [static, protected, inherited]
 

Definition at line 58 of file CompositeFactory.hpp.

String* se_core::CompositeFactory::name_ [protected, inherited]
 

Definition at line 51 of file CompositeFactory.hpp.

int se_core::CompositeFactory::tag_ [protected, inherited]
 

Definition at line 53 of file CompositeFactory.hpp.

CompositeType se_core::CompositeFactory::type_ [protected, inherited]
 

Definition at line 52 of file CompositeFactory.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:26 2007 by Doxygen version 1.3.9.1.

SourceForge.net Logo