VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
reflectedSubsurfaceLayerListDIS.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 
21 class DtExerciseConn;
22 
23 
31 {
32 public:
35 
38 
39 private:
42 
45 
46 public:
47  virtual DtReflectedSubsurfaceLayer* first() const;
48  virtual DtReflectedSubsurfaceLayer* last() const;
49 
51  virtual void addSubsurfaceLayerAdditionCallback(
52  DtSubsurfaceLayerCallbackFunction cb, void* userData);
53  virtual void removeSubsurfaceLayerAdditionCallback(
54  DtSubsurfaceLayerCallbackFunction cb, void* userData);
55 
57  virtual void addSubsurfaceLayerRemovalCallback(
58  DtSubsurfaceLayerCallbackFunction cb, void* userData);
59  virtual void removeSubsurfaceLayerRemovalCallback(
60  DtSubsurfaceLayerCallbackFunction cb, void* userData);
61 
63  virtual void print();
64 
67  virtual DtReflectedSubsurfaceLayer* processSubsurfaceLayerState(
68  const DtMetocPdu& pdu);
69 
70 protected:
72  virtual DtReflectedObject* newReflectedObj(const DtStateMsg& msg);
73 
75  virtual DtReflectedObject* processStateMessage(const DtStateMsg& msg);
76 
79  virtual void objectAdded(DtReflectedObject* obj);
80 
83  virtual int acceptPdu(const DtStateMsg& msg) const;
84 
86  virtual const DtBaseHashKey&
87  hashKeyFromStateMessage(const DtStateMsg* msg);
88 
90  virtual DtReflectedSubsurfaceLayer* newReflectedSubsurfaceLayer() const;
91 
94  virtual void subsurfaceLayerAdded(DtReflectedSubsurfaceLayer* agg);
95 
96 protected:
98  static void subsurfaceLayerStateCb(DtMetocPdu* pdu, void* usr);
99 
100 protected:
101  DtEntityIdentifierHashKey myHashKey;
102 
103 };
104 
105 #endif
Instances of DtEntityIdentifierHashKey are hash keys made from DtEntityIdentifiers.
Definition: entityIdentifierHashKey.h:21
class DtReflectedObjectList
Definition: reflectedObjectListHLA.h:58
Instances of DtReflectedSubsurfaceLayerList manage a list of DtReflectedSubsurfaceLayer objects...
Definition: reflectedSubsurfaceLayerListHLA.h:23
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
DtReflectedObjectList & operator=(const DtReflectedObjectList &orig)
assignment operator – not implemented
This file declares DtEntityIdentifierHashKey.
class DtReflectedObject:
Definition: reflectedObjectHLA.h:36
void(* DtSubsurfaceLayerCallbackFunction)(DtReflectedSubsurfaceLayer *obj, void *userData)
Signature of the callback function that takes a DtReflectedSubsurfaceLayer and user data...
Definition: reflectedSubsurfaceLayerHLA.h:25
Contains the DtMetocPdu class declaration.
Instances of DtReflectedSubsurfaceLayer are used to represent a simulated HLAobjectRoot.METOC_Root.EnvironmentCondition.SubsurfaceLayer object reflected across a network.
Definition: reflectedSubsurfaceLayerHLA.h:32
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 Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)