VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
activeSonarPublisherHLA.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2013 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtHLA
13 
14 #include "vl/objectPublisherHLA.h"
16 
18 
24 {
25 public:
26 
28  typedef DtActiveSonarStateRepository* (*DtStateRepCreator)();
29 
30 public:
31 
34  DtActiveSonarStateRepository* stateRepToUse,
35  DtExerciseConn* conn,
36  const char* name = 0,
37  const DtDDMRegionSet* regionSetToUse = 0);
38 
41  RTI::ObjectClassHandle h,
42  DtExerciseConn* conn,
43  const char* name = 0,
44  const DtDDMRegionSet* regionSetToUse = 0);
45 
48  DtExerciseConn* conn,
49  const char* name = 0,
50  const DtDDMRegionSet* regionSetToUse = 0);
51 
58 
60  virtual ~DtActiveSonarPublisher();
61 
64  virtual DtActiveSonarStateRepository* activeSonarStateRep();
65 
67  virtual DtActiveSonarStateRepository* asr();
68 
71  virtual const char* classToUse() const;
72 
73 
75  virtual void tick();
76 
80  virtual void forceUpdate();
81 
85  virtual void forceUpdate(const RTI::AttributeHandleSet& set);
86 public:
88  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
89 
90 protected:
91 
97  const char* name = 0,
98  const DtDDMRegionSet* regionSetToUse = 0);
99 
103  virtual void syncBeamList();
104 
107  virtual DtActiveSonarBeamPublisher* publisherForAsr(
109 
111  virtual int numBeams() const;
112 
113 protected:
114 
118 
119  static DtStateRepCreator theStateRepCreator;
120 
121 protected:
124 
127 };
128 
130 {
132 }
133 
135 {
137 }
138 
139 #endif
Instances of DtActiveSonarBeamPublisher are used for local or source simulation (these objects are no...
Definition: activeSonarBeamPublisher.h:23
DtStateRepository * myStateRep
Definition: objectPublisherHLA.h:202
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:58
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
bool myTickedFirstTime
Definition: activeSonarPublisherHLA.h:117
Instances of DtActiveSonarPublisher publish EmbeddedSystem.UnderwaterAcousticsEmission.ActiveSonar objects to the network.
Definition: activeSonarPublisherHLA.h:23
virtual DtActiveSonarStateRepository * asr()
Synonym for activeSonarStateRep().
Definition: activeSonarPublisherHLA.h:134
Instances of DtObjectPublisher are used for local or source simulations of objects, (i.e.
Definition: objectPublisherHLA.h:34
virtual void tick()
Tick (update) this object.
static DtStateRepCreator theStateRepCreator
Definition: activeSonarPublisherHLA.h:119
DtList is deprecated, please use std::list<T>.
Definition: vlList.h:71
class DtActiveSonarStateRepository
Definition: activeSonarStateRepository.h:29
virtual void forceUpdate()
Specify a set of attributes that should be included in the ahvps the next time tick is called...
DtObjectPublisher & operator=(const DtObjectPublisher &orig)
assignment operator – not implemented
std::set< DtDDMRegionSP > DtDDMRegionSet
Definition: region1516.h:32
The DtActiveSonarBeamRepository class provides the state repository for the ActiveSonarBeam object...
Definition: activeSonarBeamRepository.h:18
virtual DtActiveSonarStateRepository * activeSonarStateRep()
Returns a pointer to the DtActiveSonarStateRepository - through which you can set or inspect current ...
Definition: activeSonarPublisherHLA.h:129
Contains the DtActiveSonarBeamPublisher class declaration.
DtList myBeamPubs
List of DtEmitterBeamPubs.
Definition: activeSonarPublisherHLA.h:116
This file provides a declaration of the class DtObjectPublisher.
class DtHlaObjectWithStateRep:
Definition: hlaObjectWithStateRep.h:28

Document ID: Generated on Tue Aug 10 00:12:31 EDT 2021 from SVN revision 232765
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)