VR-Link API Documentation for HLA 1.3
hActiveSonarPub.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/hObjPub.h"
15 #include "vl/hActSonBmPub.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 
92 
96  virtual void syncBeamList();
97 
100  virtual DtActiveSonarBeamPublisher* publisherForAsr(
102 
104  virtual int numBeams() const;
105 
106 protected:
107 
111 
112  static DtStateRepCreator theStateRepCreator;
113 
114 protected:
117 
120 };
121 
123 {
125 }
126 
128 {
130 }
131 
132 #endif

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)