VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
joystickControllerInterface.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 
13 class DtVrfObject;
14 class DtSimManager;
17 class DtSimMessage;
18 class DtString;
19 
24 {
25 public:
28  DtSimManager* simManager, DtComponentDescriptor* desc);
29 
32 
33  virtual bool joystickEnabled() const;
34 
35 protected:
36  virtual void processJoyDeviceRequest(DtSimMessage* msg);
37  static void joyDeviceRequestCallback(DtSimMessage* msg, void* usr);
38 
39  virtual void processJoystickControlMessage(DtSimMessage* msg);
40  static void joystickControlMessageCallback(DtSimMessage* msg, void* usr);
41 
43  virtual void calcAndSetPortValues(const DtString& functionGroup, const DtString& function, double value, bool repeat) = 0;
44 
46  virtual void joystickConnected() = 0;
47 
49  virtual void joystickDisconnected() = 0;
50 
51 private:
52 
55 
58  const DtJoystickControllerInterface& orig);
59 
62  const DtJoystickControllerInterface& orig);
63 
64 protected:
70 };
71 

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)