VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vrfEditManagerEventProcessor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtVrfEditManagerEventProcessor.h,v $ $Revision: 1.4 $ $State: Exp $
7 ******************************************************************************/
8 
11 
13 
14 #pragma once
15 
16 #include <vrfGuiCore/vrfGuiCore.h>
17 
19 #include <vrvCore/DtUniqueID.h>
20 #include <vrvCore/DtMouseEvent.h>
21 
23 
24 namespace makVrv
25 {
26  class DtDe;
27  class DtChannel;
28  class DtKeyEvent;
29 }
30 
31 namespace makVrf
32 {
37  {
38 
39  public:
42 
45 
46  void setAllowEditing(bool b)
47  {
48  myAllowEditing = b;
49  }
50 
51  bool allowEditing() const
52  {
53  return myAllowEditing;
54  }
55 
56  protected:
57 
58  virtual bool processMouseEvent(const makVrv::DtMouseEvent& ev,
59  makVrv::DtChannel& channel);
60 
62  virtual bool processKeyboardEvent(const makVrv::DtKeyEvent& ev,
63  makVrv::DtChannel& channel);
64 
66  virtual const std::string& className();
67 
68  protected:
71 
72  };
73 
76  {
77 
78  public:
82 
84  static void registerInstance( makVrv::DtDe& de,
86 
88  virtual DtVrfEditManagerEventProcessor* create( makVrv::DtDe& de );
89  };
90 }

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)