VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
fixedWingGunneryController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
17 
18 
22 
30 {
31 
32 public:
33 
37  DtVrfObject* owner,
38  DtSimManager* simManager,
39  DtComponentDescriptor* desc = 0,
40  DtReaderWriterRegistry* parentRegistry = 0);
41 
44 
47  virtual DtString type() const;
48 
50  virtual bool init();
51 
55  virtual bool postAddComponentsInit();
56 
60  virtual void tick();
61 
65  static DtSimComponent * creator(const DtString& name,
66  DtVrfObject* owner,
67  DtSimManager* simManager,
68  DtComponentDescriptor* desc = 0,
69  DtReaderWriterRegistry* parentRegistry = 0);
70 
74  virtual double entryAltitude() const;
75  virtual double entryAirspeed() const;
76  virtual double diveAngle() const;
77  virtual double strafeRange() const;
78  virtual double aaEngageRange() const;
79  virtual double aaBreakoffRange() const;
81 
87  static DtReaderWriter* provideEntryAltitude(void* controller);
88  static DtReaderWriter* provideEntryAirspeed(void* controller);
89  static DtReaderWriter* provideDiveAngle(void* controller);
90  static DtReaderWriter* provideStrafeRange(void* controller);
91  static DtReaderWriter* provideAaEngageRange(void* controller);
92  static DtReaderWriter* provideAaBreakoffRange(void* controller);
94 
95 protected:
96 
99 
102 
105  orig);
106 
108  virtual bool createPorts();
109 
117  virtual void lookupAndCacheProcessSR();
118 
120  virtual DtVrfObject* chooseTarget(const DtEntityTargetList& targetList);
121 
124 
127 
134 
136 
143 };

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)