VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtKeyEvent.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtInputDriver.h,v $ $Revision: 1.80 $ $State: Exp $
7 ******************************************************************************/
11 
12 #pragma once
13 #include <vrvCore/DtKeyState.h>
14 
15 namespace makVrv
16 {
20  {
21  public:
23  enum KeyEventType {
24  NO_EVENT = 0,
26  KEY_UP
27  };
28 
29  public:
30 
32  DtKeyEvent();
33 
35  DtKeyEvent( KeyEventType eventType, const DtKeyState& KeyState );
36 
38  virtual ~DtKeyEvent();
39 
41  DtKeyEvent(const DtKeyEvent& );
42 
44  DtKeyEvent &operator=( const DtKeyEvent& );
45 
47  inline const DtKeyState& keyState() const
48  {
49  return myKeyState;
50  }
51 
53  inline DtKeyState& keyState()
54  {
55  return myKeyState;
56  }
57 
59  virtual void setKeyState( const DtKeyState& keyState );
60 
62  inline DtKeyEvent::KeyEventType eventType() const
63  {
64  return myEventType;
65  }
66 
68  virtual void setEventType( DtKeyEvent::KeyEventType eventType );
69 
70  protected:
71 
74 
75  };
76 } //end namespace

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)