VR-Forces 4.0.4 Class Documentation
include/vrvGlStudioShared/DtGlStudioEventProcessor.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtGlStudioEventProcessor.h,v $ $Revision: 1.4 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #pragma once
00014 
00015 #include <vrvGlStudioShared/DtGlStudioShared.h>
00016 #include <vrvCore/DtEventProcessorInterface.h>
00017 
00018 namespace makVrv
00019 {
00020    class DtDe;
00021    class DtOsgGlStudioCockpit;
00022 
00025    class DT_DLL_VRVGLSTUDIOSHARED DtGlStudioEventProcessor : public DtEventProcessorInterface
00026    {
00027    public:
00029       DtGlStudioEventProcessor( DtDe& de, DtOsgGlStudioCockpit* cockpit );
00030 
00032       virtual ~DtGlStudioEventProcessor();
00033 
00036       virtual bool processMouseEvent(const DtMouseEvent& ev, DtChannel& channel);
00037 
00040       virtual bool processKeyboardEvent(const DtKeyEvent& ev, DtChannel& channel);
00041       
00043       virtual bool processWidgetEvent(const DtUniqueID& id, 
00044          DtMouseEvent::EventType& eventType, const DtMouseState& mouseState, 
00045          DtChannel& channel) { return false; }
00046 
00048       virtual const std::string& className();
00049 
00050    protected:
00051       DtDe& myDe;
00052       DtOsgGlStudioCockpit* myCockpit;
00053    };
00054 }

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)