VR-Forces Development_Version 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 
16 #include "vrfobjcore/simRadio.h"
17 
18 class DtString;
19 class DtSimManager;
21 class DtJoyDevice;
25 
32 {
33 public:
34 
38  DtSimManager* simManager, DtComponentDescriptor* desc,
39  DtReaderWriterRegistry * parentRegistry = 0);
40 
43 
46  virtual const char* type() const;
47 
49  virtual bool createPortGroups();
50 
52  virtual bool createPorts();
53 
57  static DtSimComponent * creator(const DtString& name,
58  DtVrfObject* owner,
59  DtSimManager* simManager,
60  DtComponentDescriptor* desc = 0,
61  DtReaderWriterRegistry* parentRegistry = 0);
62 
63 private:
64 
67 
71 
75 
76 protected:
77 
78  virtual void calcAndSetPortValues(const DtString& functionGroup, const DtString& function, double value, bool repeat);
79  virtual void joystickConnected();
80  virtual void joystickDisconnected();
81 
82  virtual void tick();
83 
84 protected:
85 
88 
91 
99 
101 
104 };
105 

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)