![]() |
VR-Link API Documentation for HLA 1516
|
00001 /********************************************************************* 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 #include "launcherInit.h" 00006 #include <matrix/vlVector.h> 00007 #include <matrix/vlTaitBryan.h> 00008 #include <vl/topoView.h> 00009 #include <matrix/vlDcm.h> 00010 00011 class DtExerciseConn; 00012 class DtEntityPublisher; 00013 00014 class Missile 00015 { 00016 public: 00017 00018 Missile(DtExerciseConn* conn, DtEntityPublisher* launcher, 00019 const DtLauncherInitializer &init); 00020 virtual ~Missile(); 00021 00022 virtual void setPos(DtConstVector vec); 00023 virtual void setVel(DtConstVector vec); 00024 virtual void tick(DtTime simTime); 00025 virtual DtEntityPublisher* entityPub(); 00026 00027 protected: 00028 00029 DtEntityPublisher* myPub; 00030 DtTopoView* myTopoView; 00031 DtVector position; 00032 DtVector velocity; 00033 DtVector localVel; 00034 DtVector localPos; 00035 DtTaitBryan initAngles; 00036 DtDcm erector2topo; 00037 DtVector initPosition; 00038 double myMissileMoveTime; 00039 double myMissileStopTime; 00040 };