VR-Link API Documentation for DIS
 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 
57  DtActiveSonarPublisher( DtHlaObjectWithStateRep* obj, DtExerciseConn* conn);
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 
116  DtList myBeamPubs;
117  bool myTickedFirstTime;
118 
119  static DtStateRepCreator theStateRepCreator;
120 
121 protected:
124 
127 };
128 
130 {
132 }
133 
135 {
137 }
138 
139 #endif

Document ID: Generated on Mon Apr 8 04:49:21 EDT 2019 from SVN revision 197403
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)