VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
navalMineSetController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
16 #include "vrfobjcore/simRadio.h"
17 
18 class DtSimMessage;
20 
26 {
27 
28 public:
29 
32  DtNavalMineSetController(const DtString& name, DtVrfObject* owner,
33  DtSimManager* simManager,
34  DtComponentDescriptor* desc = 0,
35  DtReaderWriterRegistry* parentRegistry = 0);
36 
38  virtual ~DtNavalMineSetController();
39 
42  virtual const char* type() const;
43 
47  static void setOrderedAltitudeCallback(DtSimMessage * msg, void* usr);
48  virtual void setOrderedAltitude(double, bool aboveGroundLevel = false);
49 
51  static void setAltitudeCallback(DtSimMessage * msg, void* usr);
52  virtual void setAltitude(double, bool aboveGroundLevel = false);
53 
60  static void setLocationCallback(DtSimMessage * msg, void* usr);
61 
64  virtual void setLocation(DtVector geocentricLocation);
65 
69  static DtSimComponent * creator(const DtString& name,
70  DtVrfObject* owner,
71  DtSimManager* simManager,
72  DtComponentDescriptor* desc = 0,
73  DtReaderWriterRegistry* parentRegistry = 0);
74 
75  virtual void tick();
76  virtual void setRadio(DtSimRadio* radio);
77 
78 protected:
79  virtual void removeSetDataCallbacks();
80  virtual void addSetDataCallbacks();
81  virtual void enable();
82  virtual void disable();
83  virtual bool createPSR();
84  virtual bool init();
85 
86 private:
90 
93 
95  const DtNavalMineSetController & operator=(const
97 
98 protected:
99 
103 };
104 

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)