VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
reflectedAerodromeHLA.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2023 MAK Technologies, Inc
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtHLA
13 
15 #include <vl/reflectedObjectHLA.h>
16 
17 
19 
23 typedef void (*DtAerodromeCallbackFunction)(
24  DtReflectedAerodrome* obj, void* userData);
25 
31 {
32 public:
35  typedef DtAerodromeStateRepository* (*DtStateRepCreator)();
36 
37 public:
39  DtReflectedAerodrome(DtHlaObject* obj, DtExerciseConn* exConn);
40 
42  virtual ~DtReflectedAerodrome();
43 
45  virtual DtAerodromeStateRepository* aerodromeStateRep() const;
46 
48  virtual DtAerodromeStateRepository* asr() const;
49 
52  virtual DtReflectedAerodrome* next() const;
53 
56  virtual DtReflectedAerodrome* prev() const;
57 
60  virtual DtReflectedAerodrome* wrapNext() const;
61 
64  virtual DtReflectedAerodrome* wrapPrev() const;
65 
68  virtual void addPostUpdateCallback(
69  DtAerodromeCallbackFunction cb, void* userData);
70 
73  virtual void removePostUpdateCallback(
74  DtAerodromeCallbackFunction cb, void* userData);
75 
77  virtual void runwayUpdated();
78 
79 public:
81  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
82 
83 protected:
86 
89 
90 protected:
92  static DtStateRepCreator theStateRepCreator;
93 };
94 
96 {
98 }
99 
101 {
103 }
104 
105 #endif
void * next() const
Return next (previous) elements on the list, or NULL if hit the end (beginning) of the list...
Definition: vlList.h:272
DtAerodromeStateRepository * myStateRep
Definition: reflectedAerodromeDIS.h:116
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnDIS.h:62
virtual DtAerodromeStateRepository * aerodromeStateRep() const
Returns a pointer to the StateRepository - through which you can inspect current state information...
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
DtReflectedObject & operator=(const DtReflectedObject &orig)
assignment operator – not implemented
virtual DtAerodromeStateRepository * asr() const
Synonym for aerodromeStateRep().
Instances of DtReflectedObject are used to represent a simulation entity reflected across a network (...
Definition: reflectedObjectDIS.h:34
void * prev() const
Definition: vlList.h:277
void * wrapNext() const
Return next (previous) elements on the list, but wrap to the beginning (end) of the list when you hit...
Definition: vlList.h:282
Definition: reflectedAerodromeDIS.h:28
Contains the DtAerodromeStateRepository class declaration.
void * wrapPrev() const
Definition: vlList.h:288
Instances of DtAerodromeStateRepository are used to store state data for Aerodrome objects...
Definition: aerodromeStateRepository.h:25

Document ID: Generated on Thu Sep 19 02:12:35 EDT 2024 from SVN revision 269601
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)