VR-Link API Documentation for DIS
 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) 1992-2025 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 
76 
79  virtual void objectAdded(DtReflectedObject* obj);
80 
83  virtual int acceptPdu(const DtStateMsg& msg) const;
84 
86  virtual const DtBaseHashKey&
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:
102 
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 this class provide a protocol independent interface to a list of SubsurfaceLayer in a DI...
Definition: reflectedSubsurfaceLayerListDIS.h:30
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnDIS.h:62
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
Instances of DtMetocPdu are used for DIS network packets which encode the DtMetocRootStateRepository ...
Definition: metocPdu.h:37
virtual int acceptPdu(const DtStateMsg &) const
Determines if a PDU should be processed or not.
DtEntityIdentifierHashKey myHashKey
Definition: reflectedSubsurfaceLayerListDIS.h:101
DtReflectedObjectList & operator=(const DtReflectedObjectList &orig)
assignment operator – not implemented
This file declares DtEntityIdentifierHashKey.
Instances of DtReflectedObject are used to represent a simulation entity reflected across a network (...
Definition: reflectedObjectDIS.h:34
Contains the DtMetocPdu class declaration.
Definition: reflectedSubsurfaceLayerDIS.h:29
virtual DtReflectedObject * newReflectedObj(const DtStateMsg &msg)=0
Create a new object from a state message.
void(* DtSubsurfaceLayerCallbackFunction)(DtReflectedSubsurfaceLayer *obj, void *userData)
Definition: reflectedSubsurfaceLayerDIS.h:25
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)