VR-Forces 4.2 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 #ifdef _DEBUG
109  static void objectAboutToBeRemovedCallback(DtVrfObject* object, void* usr);
110  virtual void processObjectAboutToBeRemoved(DtVrfObject* object);
111 #endif
112 
113 private:
115  DtBombActuator();
117  DtBombActuator(const DtBombActuator & orig);
119  const DtBombActuator & operator=(const
120  DtBombActuator & orig);
121 
122 protected:
125 
129 
132 
133 #ifdef _DEBUG
134  DtVrfObject* myAimPointWaypoint;
135 #endif
136 
139 
147 
149 };
150 

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)