VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
groundJoyTurretController.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 
28 {
29 public:
30 
33  DtSimManager* simManager, DtComponentDescriptor* desc,
34  DtReaderWriterRegistry * parentRegistry = 0);
35 
37  virtual ~DtGroundJoyTurretController();
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 protected:
53 
54  virtual void calcAndSetPortValues(const DtString& functionGroup, const DtString& function, double value, bool repeat);
55  virtual void joystickConnected();
56  virtual void joystickDisconnected();
57 
58 private:
61 
64  const DtGroundJoyTurretController& orig);
65 
68 };
69 
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
Definition: readerWriterRegistry.h:39
virtual const char * type() const =0
Returns a string identifies the class type of component.
virtual void joystickDisconnected()=0
Called when joystick is disconnected for this controller.
!!!!!!!!!!!! DtJoyDeviceControllerDescriptor
Definition: joyDeviceControllerDescriptor.h:93
virtual void joystickConnected()=0
Called when joystick is connected for this controller.
DtJoystickControllerInterface & operator=(const DtJoystickControllerInterface &orig)
assignment operator; not implemented.
DtTurretSlewController is a controller that has those capabilities common to all controllers that man...
Definition: turretSlewController.h:43
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
virtual void calcAndSetPortValues(const DtString &functionGroup, const DtString &function, double value, bool repeat)=0
Override to set.
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103
Will manage basic functionality of a joystick controller.
Definition: joystickControllerInterface.h:23
DtGroundJoyTurretController is a controller used to enable joystick control of a turret.
Definition: groundJoyTurretController.h:27

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)