VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtGlStudioEventProcessor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtGlStudioEventProcessor.h,v $ $Revision: 1.4 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 
17 
18 namespace makVrv
19 {
20  class DtDe;
21  class DtOsgGlStudioCockpit;
22 
26  {
27  public:
30 
32  virtual ~DtGlStudioEventProcessor();
33 
36  virtual bool processMouseEvent(const DtMouseEvent& ev, DtChannel& channel);
37 
40  virtual bool processKeyboardEvent(const DtKeyEvent& ev, DtChannel& channel);
41 
43  virtual bool processWidgetEvent(const DtUniqueID& id,
44  DtMouseEvent::EventType& eventType, const DtMouseState& mouseState,
45  DtChannel& channel) { return false; }
46 
48  virtual const std::string& className();
49 
50  protected:
53  };
54 }
Processor to handle events for the osgWidget overlay on a channel.
Definition: DtGlStudioEventProcessor.h:25
This class encapsulates a Key event.
Definition: DtKeyEvent.h:19
EventType
Describe the types of mouse events supported.
Definition: DtMouseEvent.h:26
This class encapsulates a mouse button event.
Definition: DtMouseEvent.h:22
The abstract Channel Class.
Definition: DtChannel.h:29
Interface for an event processor for a channel.
DtOsgGlStudioCockpit is the implementation of the distributed object of the same name (and under our ...
Definition: DtOsgGlStudioCockpit.h:48
virtual bool processWidgetEvent(const DtUniqueID &id, DtMouseEvent::EventType &eventType, const DtMouseState &mouseState, DtChannel &channel)
Ignore.
Definition: DtGlStudioEventProcessor.h:43
This class encapsulates the state associated with a mouse button event.
Definition: DtMouseState.h:23
unsigned long long DtUniqueID
Definition: DtUniqueID.h:22
#define DT_DLL_VRVGLSTUDIOSHARED
Definition: DtGlStudioShared.h:25
DtOsgGlStudioCockpit * myCockpit
Definition: DtGlStudioEventProcessor.h:52
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtDe & myDe
Definition: DtGlStudioEventProcessor.h:51
The DtEventProcessorInterface defines the generic interface for classes which handle input events...
Definition: DtEventProcessorInterface.h:37

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)