VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
reflectedTroposphereLayerDIS.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2023 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 
26  DtReflectedTroposphereLayer* obj, void* userData);
27 
30 {
31 public:
33  typedef DtTroposphereLayerStateRepository* (*DtStateRepCreator)();
34 
35 public:
38 
40  virtual ~DtReflectedTroposphereLayer();
41 
42 private:
45 
48 
49 public:
52  virtual DtTroposphereLayerStateRepository* troposphereLayerStateRep() const;
53 
55  virtual DtTroposphereLayerStateRepository* tsr() const;
56 
60  virtual DtStateRepository* stateRep() const;
61 
65 
68  virtual const DtGlobalObjectDesignator& globalId() const;
69 
71  virtual DtReflectedTroposphereLayer* next() const;
72  virtual DtReflectedTroposphereLayer* prev() const;
73 
75  virtual DtReflectedTroposphereLayer* wrapNext() const;
76  virtual DtReflectedTroposphereLayer* wrapPrev() const;
77 
79  virtual void addPostUpdateCallback(
80  DtTroposphereLayerCallbackFunction cb, void* userData);
81  virtual void removePostUpdateCallback(
82  DtTroposphereLayerCallbackFunction cb, void* userData);
83 
85  virtual void setHashKey(const DtEntityIdentifier& uniqueVal);
86 
89  virtual const DtBaseHashKey& hashKey() const;
90 
92  virtual DtString idString() const;
93 
94 
96  virtual void processStateMessage(const DtStateMsg& msg);
97 
100  virtual void processTroposphereLayerState(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 
116 
117 #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
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
Instances of DtTroposphereLayerStateRepository are used to store state data for METOC_Root.EnvironmentCondition.Weather.TroposphereLayer objects.
Definition: troposphereLayerStateRepository.h:31
Instances of DtReflectedTroposphereLayer are used to represent a simulated HLAobjectRoot.METOC_Root.EnvironmentCondition.Weather.TroposphereLayer object reflected across a network.
Definition: reflectedTroposphereLayerHLA.h:32
This file declares DtEntityIdentifierHashKey.
Instances of DtTroposphereLayerDecoder are used to decode data from the network into DtTroposphereLay...
Definition: troposphereLayerDecoderHLA.h:24
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
void(* DtTroposphereLayerCallbackFunction)(DtReflectedTroposphereLayer *obj, void *userData)
Signature of the callback function that takes a DtReflectedTroposphereLayer and user data...
Definition: reflectedTroposphereLayerHLA.h:25
Instances of DtString are used to represent strings.
Definition: vlString.h:29
class DtStateMsg:
Definition: stateMsgHLA.h:32
This file contains typedefs for machine dependant types.

Document ID: Generated on Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)