Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

RetinalObjectFactory Class Reference

This class can create most or all of the Retinal_Object types contained in retinalobjs.h from a (fairly) simple string specification. More...

#include <retinalobjs.h>

List of all members.

Public Methods

virtual ~RetinalObjectFactory ()
virtual Retinal_Objectcreate (const string& name, RetinalObjectStringArgs sa, Retinal_Composite* basecomposite, int eyewidth, int eyeheight) const
 Allocate and return an object based on the given state, defaults, and arguments. More...


Detailed Description

This class can create most or all of the Retinal_Object types contained in retinalobjs.h from a (fairly) simple string specification.

If you need to support more types defined in other files, derive a new class from this one and have it call this create() for anything your class doesn't handle.

Definition at line 789 of file retinalobjs.h.


Constructor & Destructor Documentation

RetinalObjectFactory::~RetinalObjectFactory ( ) [inline, virtual]
 

Definition at line 791 of file retinalobjs.h.


Member Function Documentation

Retinal_Object * RetinalObjectFactory::create ( const string & name,
RetinalObjectStringArgs sa,
Retinal_Composite * basecomposite,
int eyewidth,
int eyeheight ) const [inline, virtual]
 

Allocate and return an object based on the given state, defaults, and arguments.

Definition at line 794 of file retinalobjs.h.

Referenced by WorldViews::create_object().


The documentation for this class was generated from the following file:
Generated at Mon Aug 21 00:31:25 2000 for RF-LISSOM by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000