VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
simIndividualRemoteEntityNetInterface.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
11 
12 #pragma once
13 
15 #include <vl/reflectedEntity.h>
16 
18 #include <boost/function.hpp>
19 
27 namespace makVrf
28 {
29  class DtArticulatedPartStateRepository;
30  class DtVrfStateComponent;
31  class DtStatePropertiesStateComponent;
32 
34  {
35  private:
38 
41 
43  const DtSimIndividualRemoteEntityNetInterface & operator=(const
45 
46  public:
47 
50  DtStateData * simObject, DtVrlinkNetworkInterface* mgr, bool publishObject = true);
51 
53  virtual ~DtSimIndividualRemoteEntityNetInterface() override;
54 
57  virtual void updateFromReflectedObject() override;
58 
61  virtual DtReflectedEntity * reflectedEntity() const;
62 
65  virtual DtExtEntityStateRepository * individualNetworkState() const;
66 
67  virtual bool isAggregate() const { return false; }
68 
69  virtual DtArticulatedPartStateRepository* createPart(DtArticulatedPart * artPart);
70 
73  virtual DtString type() const override;
74 
79  isIndividualRemoteEntityNetInterface(const DtSimObjectNetInterface* objNetInterface);
80 
82  isIndividualRemoteEntityNetInterface(DtSimObjectNetInterface* objNetInterface);
83 
84  static DtSimObjectNetInterface * creator(
85  DtStateData * simObject, DtVrlinkNetworkInterface* mgr, bool publishObject);
86 
88  virtual void updateUUIDIfNeeded() override;
89 
90  virtual bool isUnit() const override { return false; };
91  virtual bool isEntity() const override { return true; };
92 
93  protected:
94  virtual DtVrfStateComponent* getOrCreateVrfStateComponent(DtExtEntityStateRepository* netState);
95  virtual DtStatePropertiesStateComponent* getOrCreateStatePropertiesStateComponent(DtExtEntityStateRepository* netState);
96  virtual void initializeRemoteStateComponents() override;
97  };
98 }
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: statePropertiesStateComponent.h:106
virtual bool isUnit() const override
Is this network interface for a local (true) or remote (false) object? Deriving network interfaces sh...
Definition: simIndividualRemoteEntityNetInterface.h:90
virtual bool isEntity() const override
Definition: simIndividualRemoteEntityNetInterface.h:91
Definition: simRemoteEntityNetInterface.h:31
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: vrfStateComponent.h:72
The overall structure of the DtStateData mechanism is: The DtStateData contains a list of double buff...
Definition: stateData.h:513
DtExtEntityStateRepository class extends the DtExtEntityBaseStateRepository to be able to handle exte...
Definition: extEntityStateRepository.h:25
Class Description: DtSimObjectNetInterface.
Definition: simObjectNetInterface.h:50
virtual bool isAggregate() const
Definition: simIndividualRemoteEntityNetInterface.h:67
The DtArticulatedPartStateRepository class is used to represent articulated parts for an entity...
Definition: articulatedPartStateRepository.h:40
Definition: simIndividualRemoteEntityNetInterface.h:33
Contains the DtExtEntityStateRepository class.

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)