VR-Forces 4.7 Class Documentation
 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 
18 #include <vlutil/vlString.h>
19 #include <vlutil/vlList.h>
20 #include <vl/globalObjectDesignator.h>
22 
23 class DtVrfObject;
26 class DtObjectPublisher;
27 class DtSimManager;
28 
37 
39 {
40 protected:
43 
44 public:
45 
48  DtVrfObject* vrfObject,
49  DtReaderWriterRegistry* parentRegistry = 0,
50  bool publishObject = true);
51 
58  DtReaderWriterRegistry * parentRegistry = 0);
59 
63 
66 
70  virtual void onTick();
71 
74 
76  virtual void updatePublisher();
77 
80  virtual bool createPublisher(const DtEntityIdentifier& id = DtEntityIdentifier::nullId());
81 
84  virtual void destroyPublisher();
85 
87  virtual DtObjectPublisher* publisher();
88 
98  virtual bool setEntityPublisher(DtVrfExtControlObjectPublisher* publisher);
99 
101  virtual DtVrfExtControlObjectPublisher* controlObjectPublisher() const;
102 
104  virtual void updateUuid();
105 
107  virtual DtString type() const;
108 
109  static DtSimObjectNetInterface* creator(const DtString& name,
110  DtVrfObject* vrfObject,
111  DtReaderWriterRegistry* parentRegistry,
112  bool publishObject);
113 
114 protected:
117  virtual bool updateGeometry(
119 
121  virtual bool updateBoundingGeometry(
123 
125  virtual bool updateObjectState(
127 
128  virtual bool updateEnvModelType(
130 
133  virtual bool updateVrfDataAsSeenByRemote();
134 
135  virtual DtEnvironmentProcessRepository* _createSR() const;
136 
137 protected:
138 
140 
142 
143  std::vector<char> myPropertyBuffer;
146 };

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)