VR-Forces 4.8 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 Referenceabstract

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. More...
 
virtual ~DtEventProcessorInterface ()
 DTOR. More...
 
virtual bool processMouseEvent (const DtMouseEvent &ev, DtChannel &channel)=0
 Processes a mouse event on the channel. More...
 
virtual bool processKeyboardEvent (const DtKeyEvent &ev, DtChannel &channel)=0
 Processes a keyboard event on the channel. More...
 
virtual bool processPinchGesture (const DtPinchGesture &ev, DtChannel &channel)
 Don't require a handler for pinch gestures, but make them available. More...
 
virtual const std::string & className ()=0
 Returns the name of the processor class, to be used for identifying an event processor. More...
 
virtual void setEnabled (bool b)
 Get/set enabled flag. More...
 
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 Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)