Eris::Factory Class Reference

Factory is used to allow custom entity creation by client libraries. More...

#include <Factory.h>

List of all members.

Public Member Functions

virtual bool accept (const Atlas::Objects::Entity::RootEntity &ge, TypeInfo *type)=0
 Accept is called when an entity must be constructed; this will be called every time an object is created, so avoid lengthy processing if possible.
virtual Entityinstantiate (const Atlas::Objects::Entity::RootEntity &ge, TypeInfo *type, View *v)=0
 create whatever entity the client desires
virtual int priority ()
 retrieve this factory's priority level; higher priority factories get first chance to process a recieved Atlas entity.


Detailed Description

Factory is used to allow custom entity creation by client libraries.


Member Function Documentation

int Eris::Factory::priority (  )  [virtual]

retrieve this factory's priority level; higher priority factories get first chance to process a recieved Atlas entity.

The default implementation returns one.


The documentation for this class was generated from the following files:
Generated on Mon Jan 29 21:38:58 2007 for Eris by  doxygen 1.5.1