VR-Forces Developer's Guide
 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. DtEventProcessorInterface instances are registered with the makVrv::DtInputDriver instance.

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

Public Member Functions

 DtEventProcessorInterface ()
 
virtual ~DtEventProcessorInterface ()
 
virtual bool processMouseEvent (const DtMouseEvent &ev, DtChannel &channel)=0
 
virtual bool processKeyboardEvent (const DtKeyEvent &ev, DtChannel &channel)=0
 
virtual bool processPinchGesture (const DtPinchGesture &ev, DtChannel &channel)
 
virtual const std::string & className ()=0
 
virtual void setEnabled (bool b)
 
bool enabled () const
 

Protected Attributes

bool myEnabled
 

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 Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)