VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
underwaterAcousticsLocalNetInterface.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 namespace makVrf
13 {
14  class DtUnderwaterAcousticsStateComponent;
15 
24  {
25  private:
28 
31 
34  orig);
35 
36  public:
37 
43  bool publishObject = true);
44 
47 
50  virtual bool init(const DtStateComponent*);
51 
54  virtual DtString type() const;
55 
56  static DtSimObjectNetInterface * creator(
57  DtStateData* vrfObject, DtVrlinkNetworkInterface* mgr, bool publishObject);
58 
59  virtual bool isLocal() const
60  {
61  return true;
62  }
63 
64  virtual bool wantsToCreatePublisher() const;
65 
66  protected:
67  virtual void updatePublisher();
68  virtual DtObjectPublisher* createPublisher(const DtUnderwaterAcousticsStateComponent*);
69  virtual void updatePublisher(DtObjectPublisher*, const DtUnderwaterAcousticsStateComponent*);
70 
71  protected:
74  };
75 }
virtual bool isLocal() const
Is this network interface for a local (true) or remote (false) object? Local network interfaces shoul...
Definition: underwaterAcousticsLocalNetInterface.h:59
The overall structure of the DtStateData mechanism is: The DtStateData contains a list of double buff...
Definition: stateData.h:339
bool myInCombinedMode
Definition: underwaterAcousticsLocalNetInterface.h:73
Class Description: DtSimObjectNetInterface.
Definition: simObjectNetInterface.h:50
Definition: localStateComponentNetInterface.h:22
Definition: stateComponent.h:51
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
const DtUnderwaterAcousticsStateComponent * myUnderwaterAcousticsComponent
Definition: underwaterAcousticsLocalNetInterface.h:72
Class Description: DtUnderwaterAcousticsLocalNetInterface.
Definition: underwaterAcousticsLocalNetInterface.h:23

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)