VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtVrlinkReflectedAerodromeList.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2023 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <vrvVrl/vrvVrl.h>
13 #include <vl/reflectedAerodromeList.h>
15 
16 #include <unordered_set>
17 
18 class DtReflectedObject;
22 class DtHlaObject;
23 
24 namespace makVrv
25 {
26  namespace DT_PROTOCOL_NAMESPACE
27  {
28  class DtVrlinkConnection;
29  class DtAerodromeExistenceListener;
30 
38  template <typename T_Class, typename T_StateRepClass>
40  {
41  public:
44 
45 #if DtHLA
46  DtVrlinkReflectedAerodromeList(DtAerodromeExistenceListener& listener , const DtDDMRegionSet* regionsToUse);
47 #endif
48 
51 
53  virtual void removeAndDelete(DtReflectedObject* obj, char* msg) override;
54 
56  virtual void objectAdded(DtReflectedObject* obj) override;
57 
62  virtual void processRunwayUpdate(DtReflectedRunway* refRunway) override;
63 
64  // VR-Link calls this method when a reflected runway is about tot be removed.
65  virtual void processRunwayRemoval(DtReflectedRunway* refRunway) override;
66 
67  protected:
68 
72 
73  protected:
74 
76  std::unordered_set<std::string> myDiscoveredRunways;
77  };
78 
79 
83  {
84  public:
86 
88 
90 
91 #if DtHLA
92  virtual DtReflectedAerodromeList* create(DtAerodromeExistenceListener&, const DtDDMRegionSet*);
93 #endif
94 
95  protected:
97 
98  protected:
100 
101  };
102  }
103 }
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
DtAerodromeExistenceListener is a rooted singleton that creates a reflected aerodrome list and provid...
Definition: DtAerodromeExistenceListener.h:40
#define DL_DLL_IGCONVRLINK
Definition: dllExport.h:26
#define DT_PROTOCOL_NAMESPACE
Contains DLL export macros.
Definition: vrfDis.h:17
Contains makVrv::DtVirtualBaseClass class.
Contains makVrv::DtRunwayElementProcessor class.
Contains DLL export macros.

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)