VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
radarWarningReceiver.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 
10 #pragma once
11 
14 #include <matrix/coordTransform.h>
15 
16 //class DtRadarWarningReceiverDescriptor;
17 class DtRwPropertiesList;
18 
20 {
21 public:
22 
25  DtRadarWarningReceiver(const DtString& name, DtVrfObject* owner, DtSimManager* simManager,
26  DtComponentDescriptor* desc = 0, DtReaderWriterRegistry* parentRegistry = 0);
27 
29  virtual ~DtRadarWarningReceiver();
30 
32  virtual void tick();
33 
34  bool init();
35 
37  virtual void preFirstTickInit();
38 
41  virtual const char* type() const;
42 
46  static DtSimComponent* creator(const DtString& name, DtVrfObject* owner, DtSimManager* simManager,
47  DtComponentDescriptor* desc = 0, DtReaderWriterRegistry* parentRegistry = 0);
48 
49 protected:
50 
51  virtual void updateTrackedByList(const std::set<const DtVrfObject*>& trackingObjs);
52 
53  static void entityRestoredCallback(const DtVrfObject*, void* userData);
54  virtual void processEntityRestoredCallback(const DtVrfObject*);
55 
56  virtual void initializeTrackedByList();
57 
58 private:
61 
64 
67 
68 
69 protected:
73 };
74 
#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
virtual void preFirstTickInit()
This function can be overridden to initialize a component before it is ticked for the first time...
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
virtual bool init()
Calls createPorts and createPortGroups Initializes myLastTickSimTime.
Definition: radarWarningReceiver.h:19
virtual void tick()
This gives the thread of control to the component.
DtSimComponent & operator=(const DtSimComponent &orig)
assignment operator, not implemented
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
Acts as a DtRwList for properties.
Definition: rwPropertiesList.h:38
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
DtRwPropertiesList * myTrackedByList
Contains a list of UUIDs (as strings) of entities that are currently tracking this entity...
Definition: radarWarningReceiver.h:72
virtual const char * type() const =0
Returns a string identifies the class type of component.

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)