VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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;
21 
28 {
29 private:
31 
36 
37 public:
40  DtVrfObject* owner,
41  DtSimManager* simManager,
42  DtComponentDescriptor* desc = 0,
43  DtReaderWriterRegistry* parentRegistry = 0);
44 
47 
50  virtual DtString type() const;
51 
53  virtual bool init();
54 
55 protected:
56 
57  //sets and queries the laser code of the controller
58  virtual void setTgtDesignatorCode(const int code);
59  virtual const int tgtDesignatorCode() const;
60 
63  virtual DtReflectedDesignator* findTarget();
64 
69  virtual bool targetTrackable(DtReflectedDesignator* target);
70 
74  virtual void registerSetLaserCodeRequestMsgCallbacks();
75 
77  static void setLaserCodeRequestCallback(DtSimMessage* msg, void* usr);
78 
81  virtual void processSetLaserCodeRequestCallback(DtSimMessage* msg);
82 
83  virtual bool setupControlPoint();
84 
85 public:
86  //creator
87  static DtSimComponent* creator(const DtString& name,
88  DtVrfObject* owner,
89  DtSimManager* simManager,
90  DtComponentDescriptor* desc = 0,
91  DtReaderWriterRegistry* parentRegistry = 0);
92 
93 protected:
94 
98 
101 };
102 

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)