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 
26 namespace makVrf
27 {
28  class DtArticulatedPartStateRepository;
29  class DtVrfStateComponent;
30  class DtStatePropertiesStateComponent;
31 
33  {
34  private:
37 
40 
42  const DtSimIndividualRemoteEntityNetInterface & operator=(const
44 
45  public:
46 
49  DtStateData * simObject, DtVrlinkNetworkInterface* mgr, bool publishObject = true);
50 
53 
56  virtual void updateFromReflectedObject();
57 
60  virtual DtReflectedEntity * reflectedEntity() const;
61 
64  virtual DtExtEntityStateRepository * individualNetworkState() const;
65 
66  virtual bool isAggregate() const { return false; }
67 
68  virtual DtArticulatedPartStateRepository* createPart(DtArticulatedPart * artPart);
69 
72  virtual DtString type() const;
73 
78  isIndividualRemoteEntityNetInterface(const DtSimObjectNetInterface* objNetInterface);
79 
81  isIndividualRemoteEntityNetInterface(DtSimObjectNetInterface* objNetInterface);
82 
83  static DtSimObjectNetInterface * creator(
84  DtStateData * simObject, DtVrlinkNetworkInterface* mgr, bool publishObject);
85 
87  virtual void updateUUIDIfNeeded();
88 
89  virtual bool isUnit() const { return false; };
90  virtual bool isEntity() const { return true; };
91 
92  protected:
93  virtual DtVrfStateComponent* getOrCreateVrfStateComponent(DtExtEntityStateRepository* netState);
94  virtual DtStatePropertiesStateComponent* getOrCreateStatePropertiesStateComponent(DtExtEntityStateRepository* netState);
95  virtual void initializeRemoteStateComponents();
96  };
97 }
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:93
virtual bool isEntity() const
Definition: simIndividualRemoteEntityNetInterface.h:90
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:62
The overall structure of the DtStateData mechanism is: The DtStateData contains a list of double buff...
Definition: stateData.h:339
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:66
virtual bool isUnit() const
Is this network interface for a local (true) or remote (false) object? Deriving network interfaces sh...
Definition: simIndividualRemoteEntityNetInterface.h:89
The DtArticulatedPartStateRepository class is used to represent articulated parts for an entity...
Definition: articulatedPartStateRepository.h:40
Definition: simIndividualRemoteEntityNetInterface.h:32
Contains the DtExtEntityStateRepository class.

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)