VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
simLocalControlObjectNetInterface.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
14 
15 #pragma once
16 
19 #include <vlutil/vlString.h>
20 #include <vlutil/vlList.h>
21 #include <vl/globalObjectDesignator.h>
23 
25 class DtObjectPublisher;
26 
34 namespace makVrf
35 {
36  class DtEnvironmentalStateComponent;
37  class DtEnvironmentalLocationStateComponent;
38  class DtVrfStateComponent;
39  class DtVrfGeometryStateComponent;
40 }
41 
42 namespace makVrf
43 {
45  {
46  private:
50  const DtSimLocalControlObjectNetInterface & operator=(const
52 
53  public:
54 
57  bool publishObject = true);
58 
61 
65  virtual void onTick();
66 
68  virtual void forceUpdate();
69 
71  virtual DtControlObjectRepository* controlObjectNetworkState() const;
72 
74  virtual void updatePublisher();
75 
78  virtual bool createPublisher(const DtEntityIdentifier& id = DtEntityIdentifier::nullId());
79 
82  virtual void destroyPublisher();
83 
85  virtual DtObjectPublisher* publisher();
86 
96  virtual bool setEntityPublisher(DtVrfExtControlObjectPublisher* publisher);
97 
99  virtual DtVrfExtControlObjectPublisher* controlObjectPublisher() const;
100 
102  virtual void updateUuid();
103 
105  virtual DtString type() const;
106 
107  static DtSimObjectNetInterface* creator(DtStateData* vrfObject, DtVrlinkNetworkInterface* mgr,
108  bool publishObject);
109 
110  protected:
113  virtual bool updateGeometry();
114 
116  virtual bool updateBoundingGeometry();
117 
119  virtual bool updateObjectState();
120 
121  virtual bool updateEnvModelType();
122 
125  virtual bool updateVrfDataAsSeenByRemote();
126 
127  virtual DtEnvironmentProcessRepository* _createSR() const;
128 
129  virtual const makVrf::DtEnvironmentalStateComponent* environmentalStateComponent();
130  virtual const makVrf::DtEnvironmentalLocationStateComponent* environmentalLocationStateComponent();
131  virtual const makVrf::DtVrfStateComponent* vrfStateComponent();
132  virtual const makVrf::DtVrfGeometryStateComponent* vrfGeometryStateComponent();
133  virtual void firstTimeInitialize();
134 
135  virtual bool wantsToCreatePublisher() const;
136 
137  protected:
138 
140 
142 
143  std::vector<char> myPropertyBuffer;
153  };
154 }
DtVector myLastParentPosition
Definition: simLocalControlObjectNetInterface.h:152
Contains the DtSimEnvironmentalModelType class declaration.
bool myPublisherUserSupplied
Definition: simLocalControlObjectNetInterface.h:139
bool myFirstTimeInitialize
Definition: simLocalControlObjectNetInterface.h:151
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: vrfGeometryStateComponent.h:54
std::vector< char > myPropertyBuffer
Definition: simLocalControlObjectNetInterface.h:143
const makVrf::DtVrfGeometryStateComponent * myVrfGeometryStateComponent
Definition: simLocalControlObjectNetInterface.h:150
DtControlObjectRepository class extends the DtControlObjectBaseRepository to be able to handle extend...
Definition: controlObjectRepository.h:27
Definition: simLocalControlObjectNetInterface.h:44
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:55
const makVrf::DtEnvironmentalLocationStateComponent * myEnvironmentalLocationStateComponent
Definition: simLocalControlObjectNetInterface.h:148
The overall structure of the DtStateData mechanism is: The DtStateData contains a list of double buff...
Definition: stateData.h:336
const makVrf::DtVrfStateComponent * myVrfStateComponent
Definition: simLocalControlObjectNetInterface.h:149
Class Description: DtSimObjectNetInterface.
Definition: simObjectNetInterface.h:48
bool myNeedsFullUpdate
Definition: simLocalControlObjectNetInterface.h:146
DtVrfExtControlObjectPublisher * myControlObjectPublisher
Definition: simLocalControlObjectNetInterface.h:141
This class extends DtVrfControlObjectPublisher to support the publishing of VR-Forces state propertie...
Definition: vrfExtControlObjectPublisher.h:15
const makVrf::DtEnvironmentalStateComponent * myEnvironmentalStateComponent
Definition: simLocalControlObjectNetInterface.h:147
DtClock myClock
Definition: simLocalControlObjectNetInterface.h:144
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: environmentalLocationStateComponent.h:44
Definition: simLocalEnvironmentalNetInterface.h:40
DtTime myLastTimeUpdated
Definition: simLocalControlObjectNetInterface.h:145
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: environmentalStateComponent.h:87

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)