VR-Link API Documentation for HLA 4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
reflectedLandSurfaceDIS.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #pragma once
7 
8 #if DtDIS
9 
10 #include <vl/reflectedObjectDIS.h>
12 #include <vl/metocPdu.h>
13 #include <vlutil/vlMachineTypes.h>
14 #include <vlutil/vlHashKeys.h>
16 
17 
18 class DtExerciseConn;
19 
23 
24 
26 typedef void (*DtLandSurfaceCallbackFunction)(
27  DtReflectedLandSurface* obj, void* userData);
28 
31 {
32 public:
34  typedef DtLandSurfaceStateRepository* (*DtStateRepCreator)();
35 
36 public:
39 
41  virtual ~DtReflectedLandSurface();
42 
43 private:
46 
49 
50 public:
53  virtual DtLandSurfaceStateRepository* landSurfaceStateRep() const;
54 
56  virtual DtLandSurfaceStateRepository* lsr() const;
57 
61  virtual DtStateRepository* stateRep() const;
62 
65  virtual DtLandSurfaceDecoder* decoder();
66 
69  virtual const DtGlobalObjectDesignator& globalId() const;
70 
72  virtual DtReflectedLandSurface* next() const;
73  virtual DtReflectedLandSurface* prev() const;
74 
76  virtual DtReflectedLandSurface* wrapNext() const;
77  virtual DtReflectedLandSurface* wrapPrev() const;
78 
80  virtual void addPostUpdateCallback(
81  DtLandSurfaceCallbackFunction cb, void* userData);
82  virtual void removePostUpdateCallback(
83  DtLandSurfaceCallbackFunction cb, void* userData);
84 
86  virtual void setHashKey(const DtEntityIdentifier& uniqueVal);
87 
90  virtual const DtBaseHashKey& hashKey() const;
91 
93  virtual DtString idString() const;
94 
96  virtual void processStateMessage(const DtStateMsg& msg);
97 
100  virtual void processLandSurfaceState(const DtMetocPdu& pdu);
101 
102 public:
104  static void setStateRepCreator(DtStateRepCreator creator);
105  static DtStateRepCreator stateRepCreator(void);
106 
107 protected:
108  static DtStateRepCreator theStateRepCreator;
109  DtEntityIdentifierHashKey myHashKey;
112 
113 };
114 
115 #endif
Instances of DtEntityIdentifierHashKey are hash keys made from DtEntityIdentifiers.
Definition: entityIdentifierHashKey.h:21
DtHlaStateDecoder * myDecoder
Definition: reflectedObjectHLA.h:181
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
This file contains typedefs used to represent objects in a protocol neutral way.
virtual DtHlaStateDecoder * decoder()
Returns a pointer to the Decoder being used to decode state messages into our SR. ...
DtReflectedObject & operator=(const DtReflectedObject &orig)
assignment operator – Not Implemented
virtual DtStateRepository * stateRep() const
Returns a pointer to the StateRepository - through which you can inspect current state information...
Definition: reflectedObjectHLA.h:198
This file declares DtEntityIdentifierHashKey.
virtual const DtGlobalObjectDesignator & globalId() const
Get the HLA object&#39;s global object designator - the object name in HLA.
class DtReflectedObject:
Definition: reflectedObjectHLA.h:36
Contains the DtMetocPdu class declaration.
DtStateRepository is an abstract base class for maintaining state for an object.
Definition: stateRepository.h:50
Instances of DtEntityIdentifier are used as a unique ID for entities in DIS.
Definition: entityIdentifier.h:31
This file declares DtBaseHashKey.
DtStateRepository * myStateRep
Definition: reflectedObjectHLA.h:180
Instances of DtLandSurfaceDecoder are used to decode data from the network into DtLandSurfaceStateRep...
Definition: landSurfaceDecoderHLA.h:24
void(* DtLandSurfaceCallbackFunction)(DtReflectedLandSurface *obj, void *userData)
Signature of the callback function that takes a DtReflectedLandSurface and user data.
Definition: reflectedLandSurfaceHLA.h:25
Instances of DtString are used to represent strings.
Definition: vlString.h:36
class DtStateMsg:
Definition: stateMsgHLA.h:32
Instances of DtLandSurfaceStateRepository are used to store state data for METOC_Root.EnvironmentCondition.Weather.LandSurface objects.
Definition: landSurfaceStateRepository.h:31
This file contains typedefs for machine dependant types.

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)