VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
groundJoyMoveController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2005 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 #pragma once
11 
14 #include "vrfobjcore/simRadio.h"
15 
16 class DtString;
17 class DtSimManager;
19 
20 
27 {
28 public:
29 
33  DtSimManager* simManager, DtComponentDescriptor* desc,
34  DtReaderWriterRegistry * parentRegistry = 0);
35 
37  virtual ~DtGroundJoyMoveController();
38 
41  virtual const char* type() const;
42 
46  static DtSimComponent * creator(const DtString& name,
47  DtVrfObject* owner,
48  DtSimManager* simManager,
49  DtComponentDescriptor* desc = 0,
50  DtReaderWriterRegistry* parentRegistry = 0);
51 
52  virtual bool collisionDetected();
53 
54 private:
55 
58 
61  const DtGroundJoyMoveController& orig);
62 
65  const DtGroundJoyMoveController& orig);
66 
67 protected:
68  virtual bool detectCollision();
69 
70  // Process colliding with a lifeform. Default will destroy if the lifeform shares
71  // the same parent as the vehicle
72  virtual void collideWithLifeform(DtVrfObject*);
73 
74  virtual void calcAndSetPortValues(const DtString& functionGroup, const DtString& function, double value, bool repeat);
75  virtual void joystickConnected();
76  virtual void joystickDisconnected();
77 
78 protected:
80 
83 };
84 

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)