VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
underwaterAcousticsPublisherHLA.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2013 MAK Technologies, Inc
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtHLA
13 
14 #include <vl/objectPublisherHLA.h>
15 
23 
28 {
29 public:
30 
32  typedef DtUnderwaterAcousticsStateRepository* (*DtStateRepCreator)();
33 
34 public:
35 
37  DtUnderwaterAcousticsPublisher( DtExerciseConn* conn, const char* name = 0,
38  const DtDDMRegionSet* regionSetToUse = 0 );
39 
42  DtExerciseConn* conn, const char* name = 0, const DtDDMRegionSet* regionSetToUse = 0 );
43 
46 
49  virtual DtUnderwaterAcousticsStateRepository* underwaterAcousticsStateRep();
50 
53 
55  static DtStateRepCreator setStateRepCreator( DtStateRepCreator creator );
56 
59  virtual bool tick();
60 
64  virtual void forceUpdate();
65 
69  virtual void forceUpdate( const RTI::AttributeHandleSet& set );
70 
71 protected:
72 
75 
76  virtual void syncPropulsionNoisePublisher();
77 
79 
82 
87  virtual void syncAdditionalPassiveActivitiesList();
88 
91  virtual DtAdditionalPassiveActivitiesPublisher* publisherForApaSr(
93 
95  virtual int numAdditionalPassiveActivities() const;
96 
98 
101 
106  virtual void syncActiveSonarList();
107 
110  virtual DtActiveSonarPublisher* publisherForSonarSr(
112 
114  virtual int numActiveSonars() const;
115 
117 
118 protected:
119 
125  const char* name = 0,
126  const DtDDMRegionSet* regionSetToUse = 0);
127 
130 
133 
134 protected:
135 
136  static DtStateRepCreator theStateRepCreator;
137 
139 
141 
143 
145 
147 
148 };
149 
151 {
153 }
154 
156 {
158 }
159 
160 #endif
virtual DtUnderwaterAcousticsStateRepository * underwaterAcousticsStateRep()
Returns a pointer to the DtUnderwaterAcousticsStateRepository - through which you can set or inspect ...
Definition: underwaterAcousticsPublisherHLA.h:150
DtStateRepository * myStateRep
Definition: objectPublisherHLA.h:221
virtual DtUnderwaterAcousticsStateRepository * usr()
Synonym for underwaterAcousticsStateRep().
Definition: underwaterAcousticsPublisherHLA.h:155
Instances of DtUnderwaterAcousticsPublisher publish underwater acoustic objects to the network...
Definition: underwaterAcousticsPublisherHLA.h:27
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
DtList myAdditionalPassiveActivityPubs
Definition: underwaterAcousticsPublisherHLA.h:144
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Instances of DtActiveSonarPublisher publish EmbeddedSystem.UnderwaterAcousticsEmission.ActiveSonar objects to the network.
Definition: activeSonarPublisherHLA.h:23
Instances of DtObjectPublisher are used for local or source simulations of objects, (i.e.
Definition: objectPublisherHLA.h:34
std::set< DtDDMRegionSP > DtDDMRegionSet
Definition: region13.h:34
class DtPropulsionNoisePublisher
Definition: propulsionNoisePublisherHLA.h:24
class DtAdditionalPassiveActivitiesRepository
Definition: additionalPassiveActivitiesRepository.h:20
DtString myName
Definition: underwaterAcousticsPublisherHLA.h:138
DtList is deprecated, please use std::list&lt;T&gt;.
Definition: vlList.h:71
class DtActiveSonarStateRepository
Definition: activeSonarStateRepository.h:29
Instances of DtUnderwaterAcousticsStateRepository are used to store state data for all underwater aco...
Definition: underwaterAcousticsStateRepository.h:37
virtual bool tick()
Tick (update) this object.
class DtPropulsionNoiseStateRepository
Definition: propulsionNoiseStateRepository.h:22
unsigned int myAdditionalPassiveActivityCounter
Definition: underwaterAcousticsPublisherHLA.h:140
virtual void forceUpdate()
Specify a set of attributes that should be included in the ahvps the next time tick is called...
static DtStateRepCreator theStateRepCreator
Definition: underwaterAcousticsPublisherHLA.h:136
class DtAdditionalPassiveActivitiesPublisher
Definition: additionalPassiveActivitiesPublisherHLA.h:24
DtObjectPublisher & operator=(const DtObjectPublisher &orig)
assignment operator – not implemented
DtPropulsionNoisePublisher * myPropulsionNoisePublisher
Definition: underwaterAcousticsPublisherHLA.h:142
Instances of DtString are used to represent strings.
Definition: vlString.h:29
This file provides a declaration of the class DtObjectPublisher.
DtList myActiveSonarPubs
Definition: underwaterAcousticsPublisherHLA.h:146

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)