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

EventFactory.h File Reference

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

Include dependency graph for EventFactory.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_EVENT_CREATOR(EventType, id)
 Register a creator for the PositionFilter classes. More...


Define Documentation

#define GADGET_REGISTER_EVENT_CREATOR EventType,
id   
 

Value:

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

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

Definition at line 44 of file EventFactory.h.


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