VR-Forces Developer's Guide
 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 
19 namespace makVrf
20 {
21  class DtStateData;
22 }
23 
25 
27 {
28 public:
29 
32  DtRadarWarningReceiver(const DtString& name, DtLocalObject* owner, DtSimulationServices* simManager,
33  DtComponentDescriptor* desc = 0, DtReaderWriterRegistry* parentRegistry = 0);
34 
36  virtual ~DtRadarWarningReceiver() override;
37 
39  virtual void tick() override;
40 
41  virtual bool init() override;
42 
44  virtual void preFirstTickInit() override;
45 
48  virtual const char* type() const override;
49 
53  static DtSimComponent* creator(const DtString& name, DtLocalObject* owner, DtSimulationServices* simManager,
54  DtComponentDescriptor* desc = 0, DtReaderWriterRegistry* parentRegistry = 0);
55 
56 protected:
57 
58  virtual void updateTrackedByList(const DtSimObjectReferenceList& trackingObjs);
59 
60  virtual void processEntityRestored();
61 
62  virtual void initializeTrackedByList();
63 
64 private:
67 
70 
73 
74 
75 protected:
79 
80  boost::signals2::scoped_connection myRestoredConnection;
81 };
82 
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
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:49
Definition: readerWriterRegistry.h:39
virtual bool init()
Calls createPorts and createPortGroups Initializes myLastTickSimTime.
boost::signals2::scoped_connection myRestoredConnection
Definition: radarWarningReceiver.h:80
Definition: radarWarningReceiver.h:26
virtual void tick()
This gives the thread of control to the component. The component is ticked once each simulation from ...
DtSimComponent & operator=(const DtSimComponent &orig)
assignment operator, not implemented
This is a convenience list that will add DtSimObjectReference objects and modify the list as objects ...
Definition: simObjectReferenceList.h:25
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
Contains the DtSimComponent class declaration.
Acts as a DtRwList for properties. Only real difference between this class and a DtRwProperties class...
Definition: rwPropertiesList.h:38
DtRwPropertiesList * myTrackedByList
Contains a list of UUIDs (as strings) of entities that are currently tracking this entity...
Definition: radarWarningReceiver.h:78
virtual const char * type() const =0
Returns a string identifies the class type of component. Type values are defined in compTypes...
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)