VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
humanJoystickMovementController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2005 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
15 #include "vrfobjcore/simRadio.h"
16 
17 class DtString;
18 class DtSimManager;
20 class DtJoyDevice;
23 
30 {
31 public:
32 
36  DtSimManager* simManager, DtComponentDescriptor* desc,
37  DtReaderWriterRegistry * parentRegistry = 0);
38 
41 
43  virtual void tick();
44 
47  virtual DtString type() const;
48 
51  static void setJoyDeviceSwitchCallbacks(DtSimMessage * msg, void * usrData);
52 
53  virtual void processSetJoyDeviceSwitch(DtSimMessage * msg);
54 
55  virtual void calcAndSetPortValues();
56 
57  virtual bool joystickEnabled() const;
58 
60  virtual bool createPortGroups();
61 
65  static DtSimComponent * creator(const DtString& name,
66  DtVrfObject* owner,
67  DtSimManager* simManager,
68  DtComponentDescriptor* desc = 0,
69  DtReaderWriterRegistry* parentRegistry = 0);
70 
71 private:
72 
75 
79 
83 
84 protected:
85 
87  virtual void initializeJoyDevice();
88 
90  virtual void setRadio(DtSimRadio * radio);
91 
92 protected:
93 
96 
99 
101 
103 
104  DtJoyDevice * myJoyDevice;
105 
107 
109 
112 
115 };
116 

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)