![]() |
VR-Forces 4.2 Class Documentation
|
The event handler factory will map event handler types to create functions to allow for the creation of event handlers. More...
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 DtEventHandler * | createHandler (int type) |
| This routine will create the handler in question. | |
| virtual DtEventController * | eventController () const |
| Returns the controller with this factory. | |
Protected Attributes | |
| QHash< int, DtHandlerCreateInfo > | myHandlers |
| DtEventController * | myEventController |
The event handler factory will map event handler types to create functions to allow for the creation of event handlers.
| DtEventHandlerFactory::DtEventHandlerFactory | ( | DtEventController * | controller | ) |
|
virtual |
|
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 |
|
virtual |
This routine will create the handler in question.
|
virtual |
Returns the controller with this factory.
|
protected |
|
protected |