VR-Link API Documentation for HLA 4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
aerodromePublisherHLA.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 1992-2025 MAK Technologies, Inc
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtHLA
13 
14 #include <vl/objectPublisherHLA.h>
16 #include <vl/runwayPublisherHLA.h>
17 
18 
21 typedef std::vector<DtRunwayPublisher*> DtRunwayPublisherList;
22 
28 {
29 public:
31  typedef DtAerodromeStateRepository* (*DtStateRepCreator)();
32 
33 public:
36  DtAerodromeStateRepository* stateRepToUse,
37  DtExerciseConn* conn,
38  const char* name = 0,
39  const DtDDMRegionSet* regionSetToUse = 0);
40 
43  RTI::ObjectClassHandle h,
44  DtExerciseConn* conn,
45  const char* name = 0,
46  const DtDDMRegionSet* regionSetToUse = 0);
47 
50  DtExerciseConn* conn,
51  const char* name = 0,
52  const DtDDMRegionSet* regionSetToUse = 0);
53 
60 
64  virtual const char * objectClassName();
65 
67  virtual ~DtAerodromePublisher();
68 
72  virtual bool tick();
73 
74 private:
77 
80  const DtAerodromePublisher& orig);
81 
82 public:
83 
86  virtual DtAerodromeStateRepository* aerodromeStateRep();
87 
89  virtual DtAerodromeStateRepository* asr();
90 
92  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
93 
94 
95 protected:
96 
97 
101  virtual void syncRunwayList();
102 
105  virtual bool publisherForRsr(DtRunwayStateRepository* rsr);
106 
109  virtual bool runwayStateRepForPublisher(DtRunwayPublisher* runwayPub);
110 
111 protected:
112  static DtStateRepCreator theStateRepCreator;
114 };
115 
117 {
119 }
120 
122 {
124 }
125 
126 
127 #endif
DtStateRepository * myStateRep
Definition: objectPublisherHLA.h:221
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Instances of DtObjectPublisher are used for local or source simulations of objects, (i.e.
Definition: objectPublisherHLA.h:34
std::set< DtDDMRegionSP > DtDDMRegionSet
Definition: region13.h:34
DtRunwayPublisherList myRunwayPubs
Definition: aerodromePublisherHLA.h:113
virtual bool tick()
Tick (update) this object.
virtual DtAerodromeStateRepository * aerodromeStateRep()
Returns a pointer to the DtAerodromeStateRepository - through which you can set or inspect current st...
Definition: aerodromePublisherHLA.h:116
Instances of DtAerodromePublisher publish Aerodrome objects to the network.
Definition: aerodromePublisherHLA.h:27
std::vector< DtRunwayPublisher * > DtRunwayPublisherList
Definition: aerodromePublisherHLA.h:20
DtObjectPublisher & operator=(const DtObjectPublisher &orig)
assignment operator – not implemented
Instances of DtRunwayStateRepository are used to store state data for runway objects.
Definition: runwayStateRepository.h:19
Contains the DtRunwayStateRepository class declaration.
Contains the DtRunwayPublisher class declaration.
virtual DtAerodromeStateRepository * asr()
Synonym for aerodromeStateRep().
Definition: aerodromePublisherHLA.h:121
static DtStateRepCreator theStateRepCreator
Definition: aerodromePublisherHLA.h:112
This file provides a declaration of the class DtObjectPublisher.
Instances of DtRunwayPublisher publish Runway objects to the network.
Definition: runwayPublisherHLA.h:23
class DtHlaObjectWithStateRep:
Definition: hlaObjectWithStateRep.h:28
Instances of DtAerodromeStateRepository are used to store state data for Aerodrome objects...
Definition: aerodromeStateRepository.h:25

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)