VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
reflectedRunwayListDIS.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 
11 #pragma once
12 
13 #if DtDIS
14 
16 #include <vl/reflectedRunwayDIS.h>
18 
19 class DtExerciseConn;
20 
23 
25 {
26 
27 public:
28 
31 
33  virtual ~DtReflectedRunwayList();
34 
35 private:
36 
39 
42 
43 public:
44  virtual DtReflectedRunway* first() const;
45  virtual DtReflectedRunway* last() const;
46 
48  virtual void addRunwayAdditionCallback(
49  DtRunwayStateCallbackFunction cb, void* userData);
50  virtual void removeRunwayAdditionCallback(
51  DtRunwayStateCallbackFunction cb, void* userData);
52 
54  virtual void addRunwayRemovalCallback(
55  DtRunwayStateCallbackFunction cb, void* userData);
56  virtual void removeRunwayRemovalCallback(
57  DtRunwayStateCallbackFunction cb, void* userData);
58 
60  virtual void print();
61 
62 
65  virtual DtReflectedRunway* processRunwayState(
66  const DtRunwayPdu& pdu);
67 
68 protected:
69 
71  virtual DtReflectedObject* newReflectedObj(const DtStateMsg& msg);
72 
75 
78  virtual void objectAdded(DtReflectedObject* obj);
79 
82  virtual int acceptPdu(const DtStateMsg& msg) const;
83 
85  virtual const DtBaseHashKey&
87 
89  virtual DtReflectedRunway* newReflectedRunway() const;
90 
93  virtual void runwayAdded(DtReflectedRunway* agg);
94 
95 
96 protected:
97 
99  static void runwayStateCb(DtRunwayPdu* pdu, void* usr);
100 protected:
101 
103 };
104 
105 #endif
Instances of DtEntityIdentifierHashKey are hash keys made from DtEntityIdentifiers.
Definition: entityIdentifierHashKey.h:21
virtual void print() const
Print the SRs of all objects.
Instances of DtReflectedObjectList are lists of instances of classes derived from DtReflectedObject...
Definition: reflectedObjectListDIS.h:38
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnDIS.h:62
DtEntityIdentifierHashKey myHashKey
Definition: reflectedRunwayListDIS.h:102
virtual const DtBaseHashKey & hashKeyFromStateMessage(const DtStateMsg *msg)=0
Get a hash key from a state message.
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
DtBaseHashKey is an abstract base class for hash keys.
Definition: vlHashKeys.h:39
virtual int acceptPdu(const DtStateMsg &) const
Determines if a PDU should be processed or not.
Instances of DtRunwayPdu are used for DIS network packets which encode the DtAerodromeStateRepository...
Definition: runwayPdu.h:29
Definition: reflectedRunwayDIS.h:28
void(* DtRunwayStateCallbackFunction)(DtReflectedRunway *obj, void *userData)
Definition: reflectedRunwayDIS.h:24
DtReflectedObjectList & operator=(const DtReflectedObjectList &orig)
assignment operator – not implemented
This file declares DtEntityIdentifierHashKey.
Instances of this class provide a protocol independent interface to a list of Runways in a DIS enviro...
Definition: reflectedRunwayListDIS.h:24
Instances of DtReflectedObject are used to represent a simulation entity reflected across a network (...
Definition: reflectedObjectDIS.h:34
virtual DtReflectedObject * newReflectedObj(const DtStateMsg &msg)=0
Create a new object from a state message.
virtual void objectAdded(DtReflectedObject *object)
Called after a remote object has been added to the list.
Instances of DtStateMsg are used to represent state data communicated via the network in a DIS (as op...
Definition: stateMsgDIS.h:21
virtual DtReflectedObject * processStateMessage(const DtStateMsg &msg)
Process an incoming state message.

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)