VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
reflectedActiveSonarHLA.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 1992-2025 MAK Technologies, Inc
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtHLA
13 
14 #include <vl/reflectedObjectHLA.h>
16 
18 
22  DtReflectedActiveSonar* obj, void* usr );
23 
29 {
30 public:
31 
33  typedef DtActiveSonarStateRepository* (*DtStateRepCreator)();
34 
35 public:
36 
41  bool beamsUpdateSystem = true );
42 
46  const DtGlobalObjectDesignator& des, DtExerciseConn* conn,
47  bool beamsUpdateSystem = true );
48 
50  virtual ~DtReflectedActiveSonar();
51 
53  static DtStateRepCreator setStateRepCreator( DtStateRepCreator creator );
54 
56  virtual DtActiveSonarStateRepository* activeSonarRep() const;
57 
59  virtual DtActiveSonarStateRepository* asr() const;
60 
63  virtual DtReflectedActiveSonar* next() const;
64 
67  virtual DtReflectedActiveSonar* prev() const;
68 
71  virtual DtReflectedActiveSonar* wrapNext() const;
72 
75  virtual DtReflectedActiveSonar* wrapPrev() const;
76 
79  virtual void addPostUpdateCallback( DtActiveSonarCallbackFunction cb,
80  void* usr );
81 
84  virtual void removePostUpdateCallback( DtActiveSonarCallbackFunction cb,
85  void* usr );
86 
89  virtual void setAsr( DtActiveSonarStateRepository* asr );
90 
92  virtual void beamUpdated();
93 
94 protected:
95 
98 
101 
102 protected:
103 
105  static DtStateRepCreator theStateRepCreator;
106 
108 
110 
111 };
112 
114 {
116 }
117 
119 {
121 }
122 
123 #endif // DtHLA
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 DtReflectedActiveSonar are used to represent a simulated EmbeddedSystem.UnderwaterAcousticsEmission.ActiveSonar object reflected across a network.
Definition: reflectedActiveSonarHLA.h:28
Contains the DtActiveSonarStateRepository class declaration.
virtual DtActiveSonarStateRepository * activeSonarRep() const
Returns the ActiveSonar&#39;s state repository.
Definition: reflectedActiveSonarHLA.h:113
DtReflectedObject & operator=(const DtReflectedObject &orig)
assignment operator – Not Implemented
Instances of DtHlaObject are used to represent HLA objects which are communicated across the network...
Definition: hlaObject.h:58
virtual DtActiveSonarStateRepository * asr() const
Shorter version of lifeformRep.
Definition: reflectedActiveSonarHLA.h:118
class DtActiveSonarStateRepository
Definition: activeSonarStateRepository.h:29
class DtReflectedObject:
Definition: reflectedObjectHLA.h:36
DtStateRepository * myStateRep
Definition: reflectedObjectHLA.h:180
static DtStateRepCreator theStateRepCreator
The function called to create state repositories.
Definition: reflectedActiveSonarHLA.h:105
bool myBeamsUpdateSystem
Definition: reflectedActiveSonarHLA.h:109
DtObjectId instances are used to represent RTI::ObjectInstances in VR-Link.
Definition: objectId.h:38
Instances of DtString are used to represent strings.
Definition: vlString.h:36
DtActiveSonarStateRepository * myConstructedAsr
Definition: reflectedActiveSonarHLA.h:107
This file provides a declaration of the class DtReflectedObject.
void(* DtActiveSonarCallbackFunction)(DtReflectedActiveSonar *obj, void *usr)
Callback function that takes a DtReflectedObject and user data.
Definition: reflectedActiveSonarHLA.h:21

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)