VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
activeSonarBeamPublisher.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 "objectPublisherHLA.h"
15 
17 
23 class DT_DLL_VL DtActiveSonarBeamPublisher : public DtObjectPublisher
24 {
25 public:
26 
28  typedef DtActiveSonarBeamRepository* (*DtStateRepCreator)();
29 
30 public:
31 
33  DtActiveSonarBeamPublisher(
34  DtExerciseConn* exConn,
35  const char* name = 0,
36  const DtDDMRegionSet* regionSetToUse = 0);
37 
41  DtActiveSonarBeamPublisher(
42  DtActiveSonarBeamRepository* stateRepToUse,
43  DtExerciseConn* exConn,
44  const char* name = 0,
45  const DtDDMRegionSet* regionSetToUse = 0);
46 
48  DtActiveSonarBeamPublisher(
49  RTI::ObjectClassHandle h,
50  DtExerciseConn* exConn,
51  const char* name = 0,
52  const DtDDMRegionSet* regionSetToUse = 0);
53 
59  DtActiveSonarBeamPublisher(DtHlaObjectWithStateRep* obj, DtExerciseConn* conn);
60 
62  virtual ~DtActiveSonarBeamPublisher();
63 
65  virtual DtActiveSonarBeamRepository* activeSonarBeamStateRep();
66 
68  virtual DtActiveSonarBeamRepository* asr();
69 
72  virtual const char* classToUse() const;
73 
74 public:
76  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
77 
78 protected:
80  DtActiveSonarBeamPublisher(const DtActiveSonarBeamPublisher& orig);
81 
83  DtActiveSonarBeamPublisher& operator=(const DtActiveSonarBeamPublisher& orig);
84 
85 protected:
86  static DtStateRepCreator theStateRepCreator;
87 
88 };
89 
90 inline DtActiveSonarBeamRepository* DtActiveSonarBeamPublisher::activeSonarBeamStateRep()
91 {
92  return (DtActiveSonarBeamRepository*) myStateRep;
93 }
94 
95 inline DtActiveSonarBeamRepository* DtActiveSonarBeamPublisher::asr()
96 {
97  return (DtActiveSonarBeamRepository*) myStateRep;
98 }
99 
100 #endif
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnDIS.h:62
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Instances of DtObjectPublisher are used for local or source simulations of objects, (i.e.
Definition: objectPublisherDIS.h:36
DtObjectPublisher & operator=(const DtObjectPublisher &orig)
assignment operator – not implemented
The DtActiveSonarBeamRepository class provides the state repository for the ActiveSonarBeam object...
Definition: activeSonarBeamRepository.h:18

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)