VR-Link API Documentation for DIS
activeSonarSR.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 #include <vl/undwaAcEmissionSR.h>
13 #include <vl/actSonBeamSR.h>
14 #include <vlutil/vlList.h>
15 
18 {
22 };
23 
30 {
31 public:
32 
34  typedef DtActiveSonarBeamRepository* (*DtBeamStateRepCreator)();
35 
36 public:
37 
40 
43 
46 
49 
52  const DtActiveSonarStateRepository& orig );
53 
55  virtual DtStateRepository* clone( bool copy ) const;
56 
58  static DtBeamStateRepCreator setStateRepCreator( DtBeamStateRepCreator creator );
59 
61  virtual void printData() const;
62 
64  virtual void printDataToStream( std::ostream& stream ) const;
65 
67  virtual void setAcousticName( DtUnderwaterAcousticSystemName val );
68 
70  virtual DtUnderwaterAcousticSystemName acousticName() const;
71 
73  virtual void setFunctionCode( DtUnderwaterAcousticFunction val );
74 
76  virtual DtUnderwaterAcousticFunction functionCode() const;
77 
79  virtual void setAcousticsIdentifier( DtU8 val );
80 
82  virtual DtU8 acousticsIdentifier() const;
83 
85  virtual DtActiveSonarBeamRepository* beamSRById(
86  DtU8 beamId, DtSonarBeamRetCode* retcode = NULL );
87 
92  virtual DtActiveSonarBeamRepository* addBeam(
93  DtU8 beamId = 0, DtSonarBeamRetCode* retcode = NULL);
94 
100  virtual DtSonarBeamRetCode removeBeam( DtU8 beamId );
101 #if DtHLA
102  virtual DtSonarBeamRetCode removeBeam( const DtGlobalObjectDesignator& id );
103 #endif
104 
106  virtual int numBeams() const;
107 
109  virtual const DtList* beamList() const;
110  virtual DtList* beamList();
111 
113  bool isMember(DtActiveSonarBeamRepository* bsr) const;
114 
115 protected:
116 
117  virtual void purgeBeamList();
118 
119  static DtBeamStateRepCreator theBeamStateRepCreator;
120 
121 protected:
122 
126 
129 
130 };

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)