VR-Forces 4.8 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) 2018 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
15 #include "vrfmodel/setController.h"
16 
17 class DtSimMessage;
19 
25 {
26 
27 public:
28 
31  DtNavalMineSetController(const DtString& name, DtVrfObject* owner,
32  DtSimManager* simManager,
33  DtComponentDescriptor* desc = 0,
34  DtReaderWriterRegistry* parentRegistry = 0);
35 
37  virtual ~DtNavalMineSetController();
38 
41  virtual const char* type() const;
42 
46  static void setOrderedAltitudeCallback(DtSimMessage * msg, void* usr);
47  virtual void setOrderedAltitude(double, bool aboveGroundLevel = false);
48 
50  static void setAltitudeCallback(DtSimMessage * msg, void* usr);
51  virtual void setAltitude(double, bool aboveGroundLevel = false);
52 
59  static void setLocationCallback(DtSimMessage * msg, void* usr);
60 
63  virtual void setLocation(DtVector geocentricLocation);
64 
68  static DtSimComponent * creator(const DtString& name,
69  DtVrfObject* owner,
70  DtSimManager* simManager,
71  DtComponentDescriptor* desc = 0,
72  DtReaderWriterRegistry* parentRegistry = 0);
73 
74  virtual void tick();
75 
76 protected:
77  virtual bool createPSR();
78  virtual bool init();
79 
81  virtual void initializeSetsToRegister();
82 
83 private:
87 
90 
92  const DtNavalMineSetController & operator=(const
94 
95 protected:
96 
100 };
101 
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
DtLocalEntitySetControllerPSR * myProcessState
Container for state data associated with this component.
Definition: navalMineSetController.h:99
class DtLocalEntitySetControllerPSR:
Definition: localEntitySetControllerPSR.h:23
virtual bool init()
Calls setRadio()
const DtSetController & operator=(const DtSetController &orig)
assignment operator; not implemented
virtual const char * type() const =0
This returns a string from compTypes.h, and identifies the type of component.
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
Definition: readerWriterRegistry.h:39
File: simMsg.h.
Definition: simMessage.h:35
virtual void tick()
This gives the thread of control to the component.
This class will define a basic set controller that will allow for adding sets of that can be register...
Definition: setController.h:21
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
DtNavalMineSetController is a controller component responsible for handling DtSetDataRequests for nav...
Definition: navalMineSetController.h:24

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)