VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 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 const std::string& makVrv::DtEventProcessorInterface::className ( )
pure virtual
virtual void makVrv::DtEventProcessorInterface::setEnabled ( bool  b)
virtual

Get/set enabled flag.

Reimplemented in makVrv::DtBasicEditingEventProcessor.

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 Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)