VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
simAggregateRemoteEntityNetInterface.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 #include <vl/globalObjectDesignatorList.h>
16 #include <vl/variableDatumRecord.h>
17 
21 
28 {
29 protected:
30 
33 
34 public:
35 
38  DtVrfObject * simObject,
39  DtReaderWriterRegistry * parentRegistry = 0,
40  bool publishObject = true);
41 
45  DtReaderWriterRegistry * parentRegistry = 0);
46 
50 
53 
56  virtual void updateFromReflectedObject();
57 
60  virtual DtReflectedExtAggregate * reflectedAggregate() const;
61 
64  virtual DtExtAggregateStateRepository * aggregateNetworkState() const;
65 
69  virtual bool isValidReflectedObject(DtReflectedObject*) const;
70 
73  virtual bool updateStateFromVariableDatum();
74 
76  virtual bool getUserVariableDatum( int userRecordNumber,
77  DtVariableDatumRecord& rec);
78 
79  virtual bool netSubordinateEntitiesChanged() const;
80  virtual void updateSubordinateEntitiesFromNet();
81  virtual bool netSubordinateAggregatesChanged() const;
82  virtual void updateSubordinateAggregatesFromNet();
83 
85  virtual void updateUUIDIfNeeded();
86 
87  virtual const DtGlobalObjectDesignatorList& netSubordinateEntities() const;
88  virtual const DtGlobalObjectDesignatorList& netSubordinateAggregates() const;
89 
95  virtual bool isANetSubordinate(const DtGlobalObjectDesignator& globalId);
96 
97  virtual bool isAggregate() const { return true; }
98 
101  virtual DtString type() const;
102 
103  virtual DtVrfAggregateStateRepository* aggregateLocalState() const;
104 
109  isAggregateRemoteEntityNetInterface(const DtSimObjectNetInterface* objNetInterface);
110 
112  isAggregateRemoteEntityNetInterface(DtSimObjectNetInterface* objNetInterface);
113 
114 
115  static DtSimObjectNetInterface * creator(const DtString & name,
116  DtVrfObject * simObject,
117  DtReaderWriterRegistry * parentRegistry,
118  bool publishObject);
119 
120 protected:
121 
122  DtGlobalObjectDesignatorList myPreviousSubEntityList;
123  DtGlobalObjectDesignatorList myPreviousSubAggregateList;
124  DtGlobalObjectDesignatorList myNetSubordinateEntities;
125  DtGlobalObjectDesignatorList myNetSubordinateAggregates;
126  DtVariableDatumRecord myPreviousSubordinateOrderRecord;
127 
129 };

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)