VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | 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]

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 bool processPinchGesture (const DtPinchGesture &ev, DtChannel &channel)
 Don't require a handler for pinch gestures, but make them available.
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

makVrv::DtEventProcessorInterface::DtEventProcessorInterface ( )

CTOR.

virtual makVrv::DtEventProcessorInterface::~DtEventProcessorInterface ( )
virtual

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 bool makVrv::DtEventProcessorInterface::processPinchGesture ( const DtPinchGesture ev,
DtChannel channel 
)
inlinevirtual

Don't require a handler for pinch gestures, but make them available.

Reimplemented in makVrv::DtObserverEventProcessor.

virtual const std::string& makVrv::DtEventProcessorInterface::className ( )
pure virtual
virtual void makVrv::DtEventProcessorInterface::setEnabled ( bool  b)
virtual
bool makVrv::DtEventProcessorInterface::enabled ( ) const
inline

Member Data Documentation

bool makVrv::DtEventProcessorInterface::myEnabled
protected

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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)