VR-Forces 4.6 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 
68  virtual bool updateStateFromVariableDatum();
69 
71  virtual bool getUserVariableDatum( int userRecordNumber,
72  DtVariableDatumRecord& rec);
73 
74  virtual bool netSubordinateEntitiesChanged() const;
75  virtual void updateSubordinateEntitiesFromNet();
76  virtual bool netSubordinateAggregatesChanged() const;
77  virtual void updateSubordinateAggregatesFromNet();
78 
80  virtual void updateUUIDIfNeeded();
81 
82  virtual const DtGlobalObjectDesignatorList& netSubordinateEntities() const;
83  virtual const DtGlobalObjectDesignatorList& netSubordinateAggregates() const;
84 
90  virtual bool isANetSubordinate(const DtGlobalObjectDesignator& globalId);
91 
92  virtual bool isAggregate() const { return true; }
93 
96  virtual DtString type() const;
97 
98  virtual DtVrfAggregateStateRepository* aggregateLocalState() const;
99 
104  isAggregateRemoteEntityNetInterface(const DtSimObjectNetInterface* objNetInterface);
105 
107  isAggregateRemoteEntityNetInterface(DtSimObjectNetInterface* objNetInterface);
108 
109 
110  static DtSimObjectNetInterface * creator(const DtString & name,
111  DtVrfObject * simObject,
112  DtReaderWriterRegistry * parentRegistry,
113  bool publishObject);
114 
115 protected:
116 
117  DtGlobalObjectDesignatorList myPreviousSubEntityList;
118  DtGlobalObjectDesignatorList myPreviousSubAggregateList;
119  DtGlobalObjectDesignatorList myNetSubordinateEntities;
120  DtGlobalObjectDesignatorList myNetSubordinateAggregates;
121  DtVariableDatumRecord myPreviousSubordinateOrderRecord;
122 };

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)