VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes
DtEventHandlerFactory Class Reference

The event handler factory will map event handler types to create functions to allow for the creation of event handlers. More...

List of all members.

Public Member Functions

 DtEventHandlerFactory (DtEventController *controller)
virtual ~DtEventHandlerFactory ()
virtual void addHandlerCreate (int type, DtHandlerCreate fcn, void *usr=NULL)
 Accessors to add/remove callbacks for handler types.
virtual void removeHandlerCreate (int type)
virtual DtEventHandlercreateHandler (int type)
 This routine will create the handler in question.
virtual DtEventControllereventController () const
 Returns the controller with this factory.

Protected Attributes

QHash< int, DtHandlerCreateInfomyHandlers
DtEventControllermyEventController

Detailed Description

The event handler factory will map event handler types to create functions to allow for the creation of event handlers.


Constructor & Destructor Documentation


Member Function Documentation

virtual void DtEventHandlerFactory::addHandlerCreate ( int  type,
DtHandlerCreate  fcn,
void *  usr = NULL 
) [virtual]

Accessors to add/remove callbacks for handler types.

Note that the add will also act as a replace if the handler creation routine exists

virtual void DtEventHandlerFactory::removeHandlerCreate ( int  type) [virtual]
virtual DtEventHandler* DtEventHandlerFactory::createHandler ( int  type) [virtual]

This routine will create the handler in question.

Returns the controller with this factory.


Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)