VR-Forces Developer's Guide
 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 
32  DtSimulationServices* simManager,
33  DtComponentDescriptor* desc = 0,
34  DtReaderWriterRegistry* parentRegistry = 0);
35 
37  virtual ~DtNavalMineSetController() override;
38 
41  virtual const char* type() const override;
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  DtLocalObject* owner,
70  DtSimulationServices* simManager,
71  DtComponentDescriptor* desc = 0,
72  DtReaderWriterRegistry* parentRegistry = 0);
73 
74  virtual void tick() override;
75 
76 protected:
77  virtual bool createPSR();
78  virtual bool init() override;
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
DtLocalEntitySetControllerPSR * myProcessState
Container for state data associated with this component. This state is saved and restored as part of ...
Definition: navalMineSetController.h:99
class DtLocalEntitySetControllerPSR:
Definition: localEntitySetControllerPSR.h:23
const DtSetController & operator=(const DtSetController &orig)
assignment operator; not implemented
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
virtual const char * type() const override=0
This returns a string from compTypes.h, and identifies the type of component.
Definition: readerWriterRegistry.h:39
virtual bool init() override
Calls setRadio()
File: simMsg.h.
Definition: simMessage.h:35
virtual void tick()
This gives the thread of control to the component. The component is ticked once each simulation from ...
This class will define a basic set controller that will allow for adding sets of that can be register...
Definition: setController.h:21
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:96
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
DtNavalMineSetController is a controller component responsible for handling DtSetDataRequests for nav...
Definition: navalMineSetController.h:24
A locally simulated VRF object.
Definition: localObject.h:98

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)