VR-Forces 5.0.1 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();
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  DtLocalObject* owner,
70  DtSimulationServices* 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
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
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:49
Definition: readerWriterRegistry.h:39
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:89
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:70
DtNavalMineSetController is a controller component responsible for handling DtSetDataRequests for nav...
Definition: navalMineSetController.h:24
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)