VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lasingMissileTrackController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 #pragma once
9 
10 
12 
13 #include "vlutil/vlString.h"
14 #include <matrix/vlVector.h>
16 
17 class DtSimManager;
18 class DtSimMessage;
19 class DtReflectedDesignator;
20 class DtLaserTrackerPSR;
22 
29 {
30 private:
32 
37 
38 public:
41  DtVrfObject* owner,
42  DtSimManager* simManager,
43  DtComponentDescriptor* desc = 0,
44  DtReaderWriterRegistry* parentRegistry = 0);
45 
48 
51  virtual const char* type() const;
52 
54  virtual bool init();
55 
56 protected:
57 
58  //sets and queries the laser code of the controller
59  virtual void setTgtDesignatorCode(const int code);
60  virtual const int tgtDesignatorCode() const;
61 
64  virtual DtReflectedDesignator* findTarget();
65 
70  virtual bool targetTrackable(DtReflectedDesignator* target);
71 
75  virtual void registerSetLaserCodeRequestMsgCallbacks();
76 
78  static void setLaserCodeRequestCallback(DtSimMessage* msg, void* usr);
79 
82  virtual void processSetLaserCodeRequestCallback(DtSimMessage* msg);
83 
84  virtual bool setupControlPoint();
85 
86 public:
87  //creator
88  static DtSimComponent* creator(const DtString& name,
89  DtVrfObject* owner,
90  DtSimManager* simManager,
91  DtComponentDescriptor* desc = 0,
92  DtReaderWriterRegistry* parentRegistry = 0);
93 
94 protected:
95 
99 
102 
104 };
105 

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)