VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
subsurfaceLayerPublisherDIS.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 
15 #include <vl/objectId.h>
16 #include <vl/objectPublisherDIS.h>
17 #include <vlpi/entityIdentifier.h>
18 
19 
23 
24 
32 {
33 public:
35  typedef DtSubsurfaceLayerStateRepository* (*DtStateRepCreator)();
36 
37 public:
40  DtSubsurfaceLayerStateRepository* stateRepToUse,
41  DtExerciseConn* conn,
42  const DtObjectId& id = DtObjectId::nullId());
43 
46  DtExerciseConn* conn,
47  const DtObjectId& id = DtObjectId::nullId());
48 
50  virtual ~DtSubsurfaceLayerPublisher();
51 
52 private:
55 
58  const DtSubsurfaceLayerPublisher& orig);
59 
60 public:
63  virtual DtSubsurfaceLayerStateRepository* subsurfaceLayerStateRep();
64 
66  virtual DtSubsurfaceLayerStateRepository* ssr();
67 
69  virtual bool tick();
70 
72  virtual void forceUpdate();
73 
75  virtual const DtObjectId& id() const;
76 
78  virtual const DtObjectId& localId() const;
79 
81  virtual const DtGlobalObjectDesignator& globalId() const;
82 
83 public:
85  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
86 
87 protected:
89  void sendFinalPdu();
90 
91 protected:
92  static DtStateRepCreator theStateRepCreator;
93  DtObjectId myId;
96 
97 };
98 
100 {
102 }
103 
105 {
107 }
108 
109 #endif
Contains the DtEntityIdentifier class declaration.
Contains the DtObjectId class declaration.
virtual DtSubsurfaceLayerStateRepository * subsurfaceLayerStateRep()
Returns a pointer to the DtSubsurfaceLayerStateRepository - through which you can set or inspect curr...
Definition: subsurfaceLayerPublisherHLA.h:92
DtStateRepository * myStateRep
Definition: objectPublisherHLA.h:221
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
Instances of DtSubsurfaceLayerDecoder are used to decode data from the network into DtSubsurfaceLayer...
Definition: subsurfaceLayerDecoderHLA.h:24
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
DtHlaStateEncoder * myEncoder
Definition: objectPublisherHLA.h:223
Instances of DtObjectPublisher are used for local or source simulations of objects, (i.e.
Definition: objectPublisherHLA.h:34
virtual DtSubsurfaceLayerStateRepository * ssr()
Synonym for subsurfaceLayerStateRep().
Definition: subsurfaceLayerPublisherHLA.h:97
Instances of DtSubsurfaceLayerPublisher publish METOC_Root.EnvironmentCondition.SubsurfaceLayer objec...
Definition: subsurfaceLayerPublisherHLA.h:25
Instances of DtSubsurfaceLayerStateRepository are used to store state data for METOC_Root.EnvironmentCondition.SubsurfaceLayer objects.
Definition: subsurfaceLayerStateRepository.h:32
virtual bool tick()
Tick (update) this object.
virtual const DtGlobalObjectDesignator & globalId() const
Get the HLA object&#39;s global object designator - the object name in RTI1.3.3, but the objectId in RTI1...
virtual void forceUpdate()
Specify a set of attributes that should be included in the ahvps the next time tick is called...
DtHlaStateDecoder * myDecoder
Definition: objectPublisherHLA.h:224
DtObjectPublisher & operator=(const DtObjectPublisher &orig)
assignment operator – not implemented
This class declares the DIS version of DtObjectPublisher.
DtObjectId instances are used to represent RTI::ObjectInstances in VR-Link.
Definition: objectId.h:38
static const DtObjectId & nullId()
Instances of DtString are used to represent strings.
Definition: vlString.h:29
virtual const DtObjectId & id() const
Get the object&#39;s local identifier.
virtual const DtObjectId & localId() const
Get the object&#39;s local identifier.
Definition: objectPublisherHLA.h:277
Instances of DtSubsurfaceLayerEncoder encode data from DtSubsurfaceLayerStateRepository objects to th...
Definition: subsurfaceLayerEncoderHLA.h:24

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)