VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
emitterSystemLocalNetInterface.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 
10 #include <tbb/spin_mutex.h>
11 
13 
14 namespace makVrf
15 {
16  class DtEmitterSystemStateComponent;
17  struct DtEmitterSystemBeamStateData;
18 
25  {
26  private:
29 
32 
35  orig);
36 
37  public:
38 
43  DtEmitterSystemLocalNetInterface(DtStateData * simObject, DtVrlinkNetworkInterface* objectManager, 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 DtObjectPublisher* createPublisher(const DtEmitterSystemStateComponent*);
68  virtual void updatePublisher(DtObjectPublisher*, const DtEmitterSystemStateComponent*);
69  virtual void updateBeam(DtEmitterBeamRepository*, const DtEmitterSystemBeamStateData*);
70 
71  virtual void updatePublisher();
72 
73  protected:
75  };
76 }
const DtEmitterSystemStateComponent * myEmitterComponent
Definition: emitterSystemLocalNetInterface.h:74
Class Description: DtEmitterSystemLocalNetInterface.
Definition: emitterSystemLocalNetInterface.h:24
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: emitterSystemStateComponent.h:446
Definition: localStateComponentNetInterface.h:22
Definition: stateComponent.h:51
virtual bool isLocal() const
Is this network interface for a local (true) or remote (false) object? Local network interfaces shoul...
Definition: emitterSystemLocalNetInterface.h:59
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
The DtEmitterSystemStateComponentList is a collection of emitter systems and the beams they represent...
Definition: emitterSystemStateComponent.h:24

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)