VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
activeSonarLocalNetInterface.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
11 
12 class DtActiveSonarBeamRepository;
13 class DtActiveSonarStateRepository;
14 
15 namespace makVrf
16 {
17  class DtActiveSonarStateComponent;
18  struct DtActiveSonarBeamStateData;
19  class DtUnderwaterAcousticsStateComponent;
20 
29  {
30  private:
33 
36 
39  orig);
40 
41  public:
42 
48  bool publishObject = true);
49 
52 
55  virtual bool init(const DtStateComponent*);
56 
59  virtual DtString type() const;
60 
61  static DtSimObjectNetInterface * creator(
62  DtStateData* vrfObject, DtVrlinkNetworkInterface* mgr, bool publishObject);
63 
64  virtual bool isLocal() const
65  {
66  return true;
67  }
68 
69  virtual bool wantsToCreatePublisher() const;
70 
71  protected:
72  virtual void updatePublisher();
73  virtual DtObjectPublisher* createPublisher(const DtActiveSonarStateComponent*);
74  virtual DtObjectPublisher* createCombinedPublisher(const DtActiveSonarStateComponent*);
75  virtual void updatePublisher(DtActiveSonarStateRepository*, const DtActiveSonarStateComponent*);
76  virtual void updateBeam(DtActiveSonarBeamRepository*, const DtActiveSonarBeamStateData*);
77  virtual void publishInCombinedMode(const std::vector<const DtActiveSonarStateComponent*>&, const DtUnderwaterAcousticsStateComponent*);
78 
79  protected:
82  };
83 }
The DtActiveSonarStateComponentList is a collection of emitter systems and the beams they represent...
Definition: activeSonarStateComponent.h:17
virtual bool isLocal() const
Is this network interface for a local (true) or remote (false) object? Local network interfaces shoul...
Definition: activeSonarLocalNetInterface.h:64
Class Description: DtActiveSonarLocalNetInterface.
Definition: activeSonarLocalNetInterface.h:28
The overall structure of the DtStateData mechanism is: The DtStateData contains a list of double buff...
Definition: stateData.h:336
Class Description: DtSimObjectNetInterface.
Definition: simObjectNetInterface.h:48
1) Define the interface class that will be used to represent the next and curent frames. The UNDEFINED_ macros are convenience macros that will define methods that throw exceptions (until they are implemented)
Definition: activeSonarStateComponent.h:286
Definition: localStateComponentNetInterface.h:22
Definition: stateComponent.h:51
const DtActiveSonarStateComponent * myActiveSonarComponent
Definition: activeSonarLocalNetInterface.h:80
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
1) Define the interface class that will be used to represent the next and curent frames. The UNDEFINED_ macros are convenience macros that will define methods that throw exceptions (until they are implemented)
Definition: underwaterAcousticsStateComponent.h:106
bool myInCombinedMode
Definition: activeSonarLocalNetInterface.h:81

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)