#include <Factory.h>
Inherited by Eris::UI::FrameFactory, and Eris::UI::SlotFactory.
Public Member Functions | |
| virtual bool | accept (const Atlas::Objects::Entity::RootEntity &ge, TypeInfo *type)=0 |
| Accept is called by the world to test if this factory can instantiate the specified object. | |
| virtual Entity * | instantiate (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. | |
| virtual bool Eris::Factory::accept | ( | const Atlas::Objects::Entity::RootEntity & | ge, | |
| TypeInfo * | type | |||
| ) | [pure virtual] |
Accept is called by the world to test if this factory can instantiate the specified object.
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.
| 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.
1.5.4