VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes
makVrv::DtEventProcessorInterface Class Reference

The DtEventProcessorInterface defines the generic interface for classes which handle input events. More...

Inheritance diagram for makVrv::DtEventProcessorInterface:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtEventProcessorInterface ()
 CTOR.
virtual ~DtEventProcessorInterface ()
 DTOR.
virtual bool processMouseEvent (const DtMouseEvent &ev, DtChannel &channel)=0
 Processes a mouse event on the channel.
virtual bool processKeyboardEvent (const DtKeyEvent &ev, DtChannel &channel)=0
 Processes a keyboard event on the channel.
virtual const std::string & className ()=0
 Returns the name of the processor class, to be used for identifying an event processor.
virtual void setEnabled (bool b)
 Get/set enabled flag.
bool enabled () const

Protected Attributes

bool myEnabled

Detailed Description

The DtEventProcessorInterface defines the generic interface for classes which handle input events.

DtEventProcessorInterface instances are registered with the makVrv::DtInputDriver instance.

Examples

Constructor & Destructor Documentation

CTOR.

DTOR.


Member Function Documentation

virtual bool makVrv::DtEventProcessorInterface::processMouseEvent ( const DtMouseEvent ev,
DtChannel channel 
) [pure virtual]
virtual bool makVrv::DtEventProcessorInterface::processKeyboardEvent ( const DtKeyEvent ev,
DtChannel channel 
) [pure virtual]
virtual const std::string& makVrv::DtEventProcessorInterface::className ( ) [pure virtual]
virtual void makVrv::DtEventProcessorInterface::setEnabled ( bool  b) [virtual]

Get/set enabled flag.

Reimplemented in makVrv::DtBasicEditingEventProcessor.


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)