se_basic::NavMeshAreaFactory Class Reference

#include <NavMeshAreaFactory.hpp>

Inheritance diagram for se_basic::NavMeshAreaFactory:

se_core::AreaFactory se_core::CompositeFactory List of all members.

Public Member Functions

 NavMeshAreaFactory (se_core::String *name, coor_tile_t w, coor_tile_t h, se_core::ByteArray *data)
 ~NavMeshAreaFactory ()
se_core::Compositecreate (se_core::String *name, int pageX, int pageY, int pageZ, int gridId) const
void release (se_core::Composite *t) const
virtual Composite * create (String *name, int pageX, int pageY, int pageZ, int gridId) const =0
virtual Composite * create () const
const char * name () const
int type () 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

se_core::ByteArraydata_
coor_tile_t width_
coor_tile_t height_
const NavMeshnavMesh_
String * name_
CompositeType type_
int tag_
int componentCount_
ComponentFactory * components_ [MAX_COMPONENTS]

Static Protected Attributes

const int MAX_COMPONENTS = 32

Constructor & Destructor Documentation

se_basic::NavMeshAreaFactory::NavMeshAreaFactory se_core::String name,
coor_tile_t  w,
coor_tile_t  h,
se_core::ByteArray data
 

Definition at line 33 of file NavMeshAreaFactory.cpp.

References se_core::ByteArray::get().

se_basic::NavMeshAreaFactory::~NavMeshAreaFactory  ) 
 

Definition at line 40 of file NavMeshAreaFactory.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, inherited]
 

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

Composite * se_basic::NavMeshAreaFactory::create se_core::String name,
int  pageX,
int  pageY,
int  pageZ,
int  gridId
const
 

Definition at line 47 of file NavMeshAreaFactory.cpp.

References se_core::String::copyValue(), se_core::Area::height(), and se_core::Area::width().

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_basic::NavMeshAreaFactory::release se_core::Composite t  )  const
 

Definition at line 65 of file NavMeshAreaFactory.cpp.

References se_core::Composite::component().

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.

se_core::ByteArray* se_basic::NavMeshAreaFactory::data_ [protected]
 

Definition at line 40 of file NavMeshAreaFactory.hpp.

coor_tile_t se_basic::NavMeshAreaFactory::height_ [protected]
 

Definition at line 41 of file NavMeshAreaFactory.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.

const NavMesh* se_basic::NavMeshAreaFactory::navMesh_ [protected]
 

Definition at line 42 of file NavMeshAreaFactory.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.

coor_tile_t se_basic::NavMeshAreaFactory::width_ [protected]
 

Definition at line 41 of file NavMeshAreaFactory.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:21 2007 by Doxygen version 1.3.9.1.

SourceForge.net Logo