VR-Forces 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 
9 #include <vl/reflectedObjectList.h>
13 
14 class DtActiveSonarBeamRepository;
15 class DtActiveSonarStateRepository;
16 
17 namespace makVrf
18 {
19  class DtActiveSonarStateComponent;
20  struct DtActiveSonarBeamStateData;
21  class DtUnderwaterAcousticsStateComponent;
22 
31  {
32  private:
35 
38 
41  orig);
42 
43  public:
44 
50  bool publishObject = true);
51 
54 
57  virtual bool init(const DtStateComponent*);
58 
61  virtual DtString type() const;
62 
63  static DtSimObjectNetInterface * creator(
64  DtStateData* vrfObject, DtVrlinkNetworkInterface* mgr, bool publishObject);
65 
66  virtual bool isLocal() const
67  {
68  return true;
69  }
70 
71  virtual bool wantsToCreatePublisher() const;
72 
73  protected:
74  virtual void updatePublisher();
75  virtual DtObjectPublisher* createPublisher(const DtActiveSonarStateComponent*);
76  virtual DtObjectPublisher* createCombinedPublisher(const DtActiveSonarStateComponent*);
77  virtual void updatePublisher(DtActiveSonarStateRepository*, const DtActiveSonarStateComponent*);
78  virtual void updateBeam(DtActiveSonarBeamRepository*, const DtActiveSonarBeamStateData*);
79  virtual void publishInCombinedMode(const std::vector<const DtActiveSonarStateComponent*>&, const DtUnderwaterAcousticsStateComponent*);
80 
81  protected:
84  };
85 }
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:66
Class Description: DtActiveSonarLocalNetInterface.
Definition: activeSonarLocalNetInterface.h:30
The overall structure of the DtStateData mechanism is: The DtStateData contains a list of double buff...
Definition: stateData.h:339
Class Description: DtSimObjectNetInterface.
Definition: simObjectNetInterface.h:50
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:82
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:83

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)