VR-Forces 4.2 Class Documentation
balGunJoyCtlDesc.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2005 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: balGunJoyCtlDesc.h,v $ $Revision: 1.6 $ $State: Exp $
7 *******************************************************************************/
8 
11 
14 
15 #ifndef DtBallisticGunJoyControllerDescriptor_H_
16 #define DtBallisticGunJoyControllerDescriptor_H_
17 
19 #include "vrfutil/rwBoolean.h"
20 #include "vrfutil/rwInt.h"
21 
27 {
28 public:
31  DtReaderWriterRegistry* parentRegistry = NULL);
32 
34  DtBallisticGunJoyControllerDescriptor(const DtSymbolString& name,
35  DtReaderWriterRegistry* parentRegistry = NULL);
36 
39 
43  DtReaderWriterRegistry* parentRegistry = NULL);
44 
48 
50  parentRegistry = NULL) const;
51 
54  virtual DtString type() const;
55 
58  virtual int fireButton() const;
59  virtual void setFireButton(int button);
61 
64  virtual int changeAmmoButton() const;
65  virtual void setChangeAmmoButton(int button);
67 
70  virtual int elevationAxis() const;
71  virtual void setElevationAxis(int axis);
73 
76  virtual bool invertElevationAxis() const;
77  virtual void setInvertElevationAxis(bool invert);
79 
82 
83 protected:
85  virtual void setDefaults();
86 
88  virtual void copyValues(const DtBallisticGunJoyControllerDescriptor& orig);
89 
90 protected:
93 
94 protected:
98 
103 
108 
113 
118 
120 
123  static const char theFireButtonName[];
124  static const char theChangeAmmoButtonName[];
125  static const char theElevationAxisName[];
126  static const char theInvertElevationAxisName[];
128 };
129 
130 #endif

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)