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

PositionFilterFactory.h File Reference

#include <gadget/gadgetConfig.h>
#include <vpr/Util/Factory.h>
#include <vpr/Util/Singleton.h>

Include dependency graph for PositionFilterFactory.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  gadget

Defines

#define GADGET_REGISTER_POSFILTER_CREATOR(FilterType)
 Register a creator for the PositionFilter classes. More...


Define Documentation

#define GADGET_REGISTER_POSFILTER_CREATOR FilterType   
 

Value:

class FilterType; \
const bool reg_ctr_ ## FilterType = gadget::PositionFilterFactory::instance()->registerCreator( FilterType::getElementType(), \
                                             vpr::CreateProduct<PositionFilter, FilterType>);
Register a creator for the PositionFilter classes.

Precondition:
Requires that the method std::string getElementType() be defined for class FilterClass.
Ex: GADGET_REGISTER_POSFILTER_CREATOR( PosXformFilter )

Definition at line 45 of file PositionFilterFactory.h.


Generated on Sun May 2 14:26:22 2004 for Gadgeteer by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002