VR-Forces 4.1.1 Class Documentation
bombActuator.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #include "vrfobjcore/actCmpnt.h"
14 
15 class DtSimManager;
17 class DtVectorInputPort;
18 class DtVector;
19 class DtTaitBryan;
20 class DtMissileManeuverActPortIntf;
21 class DtBombPSR;
22 class DtVrfObject;
23 
38 {
39 public:
42  DtBombActuator(const DtString& name, DtVrfObject* owner,
43  DtSimManager* simManager, DtComponentDescriptor* desc = 0,
44  DtReaderWriterRegistry* parentRegistry = 0);
45 
47  virtual ~DtBombActuator();
48 
51  virtual bool init();
52 
55  virtual DtString type() const;
56 
60  virtual void tick();
61 
65  static DtSimComponent * creator(const DtString& name, DtVrfObject* owner,
66  DtSimManager* simManager, DtComponentDescriptor* desc = 0,
67  DtReaderWriterRegistry* parentRegistry = 0);
68 
69 protected:
71  virtual bool createPorts();
72 
79  virtual bool createPSR();
80 
89  virtual void calculateTargetErrorOffset();
90 
99  virtual void calculateTargetCircle();
100 
106  virtual DtVector calculateAimPoint();
107 
108 private:
110  DtBombActuator();
112  DtBombActuator(const DtBombActuator & orig);
114  const DtBombActuator & operator=(const
115  DtBombActuator & orig);
116 
117 protected:
120 
124 
127 
128 #ifdef _DEBUG
129  DtVrfObject* myAimPointWaypoint;
130 #endif
131 
134 
142 
144 };
145 

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)