VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
reflectedLandSurfaceListDIS.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2023 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
10 
11 #pragma once
12 
13 #if DtDIS
14 
17 #include <vl/metocPdu.h>
19 
20 
22 class DtExerciseConn;
23 
24 
32 {
33 public:
36 
38  virtual ~DtReflectedLandSurfaceList();
39 
40 private:
43 
46 
47 public:
48  virtual DtReflectedLandSurface* first() const;
49  virtual DtReflectedLandSurface* last() const;
50 
52  virtual void addLandSurfaceAdditionCallback(
53  DtLandSurfaceCallbackFunction cb, void* userData);
54  virtual void removeLandSurfaceAdditionCallback(
55  DtLandSurfaceCallbackFunction cb, void* userData);
56 
58  virtual void addLandSurfaceRemovalCallback(
59  DtLandSurfaceCallbackFunction cb, void* userData);
60  virtual void removeLandSurfaceRemovalCallback(
61  DtLandSurfaceCallbackFunction cb, void* userData);
62 
64  virtual void print();
65 
68  virtual DtReflectedLandSurface* processLandSurfaceState(
69  const DtMetocPdu& pdu);
70 
71 protected:
73  virtual DtReflectedObject* newReflectedObj(const DtStateMsg& msg);
74 
76  virtual DtReflectedObject* processStateMessage(const DtStateMsg& msg);
77 
80  virtual void objectAdded(DtReflectedObject* obj);
81 
84  virtual int acceptPdu(const DtStateMsg& msg) const;
85 
87  virtual const DtBaseHashKey&
88  hashKeyFromStateMessage(const DtStateMsg* msg);
89 
91  virtual DtReflectedLandSurface* newReflectedLandSurface() const;
92 
95  virtual void landSurfaceAdded(DtReflectedLandSurface* agg);
96 
97 protected:
99  static void landSurfaceStateCb(DtMetocPdu* pdu, void* usr);
100 
101 protected:
102  DtEntityIdentifierHashKey myHashKey;
103 
104 };
105 
106 #endif
Instances of DtEntityIdentifierHashKey are hash keys made from DtEntityIdentifiers.
Definition: entityIdentifierHashKey.h:21
class DtReflectedObjectList
Definition: reflectedObjectListHLA.h:58
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 DtReflectedLandSurface are used to represent a simulated HLAobjectRoot.METOC_Root.EnvironmentCondition.Weather.LandSurface object reflected across a network.
Definition: reflectedLandSurfaceHLA.h:32
DtBaseHashKey is an abstract base class for hash keys.
Definition: vlHashKeys.h:39
DtReflectedObjectList & operator=(const DtReflectedObjectList &orig)
assignment operator – not implemented
This file declares DtEntityIdentifierHashKey.
class DtReflectedObject:
Definition: reflectedObjectHLA.h:36
Instances of DtReflectedLandSurfaceList manage a list of DtReflectedLandSurface objects.
Definition: reflectedLandSurfaceListHLA.h:23
Contains the DtMetocPdu class declaration.
void(* DtLandSurfaceCallbackFunction)(DtReflectedLandSurface *obj, void *userData)
Signature of the callback function that takes a DtReflectedLandSurface and user data.
Definition: reflectedLandSurfaceHLA.h:25
virtual void objectAdded(DtReflectedObject *object)
Called from processDiscoverObject() after a remote object has been added to the list.
class DtStateMsg:
Definition: stateMsgHLA.h:32
virtual void print()
Print the SRs of all objects.

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)