VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
simAggregateRemoteEntityNetInterface.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 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 
18 class DtReflectedExtAggregate;
19 class DtExtAggregateStateRepository;
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 
79  virtual const DtGlobalObjectDesignatorList& netSubordinateEntities() const;
80  virtual const DtGlobalObjectDesignatorList& netSubordinateAggregates() const;
81 
87  virtual bool isANetSubordinate(const DtGlobalObjectDesignator& globalId);
88 
89  virtual bool isAggregate() const { return true; }
90 
93  virtual DtString type() const;
94 
95  virtual DtVrfAggregateStateRepository* aggregateLocalState() const;
96 
101  isAggregateRemoteEntityNetInterface(const DtSimObjectNetInterface* objNetInterface);
102 
104  isAggregateRemoteEntityNetInterface(DtSimObjectNetInterface* objNetInterface);
105 
106 
107  static DtSimObjectNetInterface * creator(const DtString & name,
108  DtVrfObject * simObject,
109  DtReaderWriterRegistry * parentRegistry,
110  bool publishObject);
111 
112 protected:
113 
114  DtGlobalObjectDesignatorList myPreviousSubEntityList;
115  DtGlobalObjectDesignatorList myPreviousSubAggregateList;
116  DtGlobalObjectDesignatorList myNetSubordinateEntities;
117  DtGlobalObjectDesignatorList myNetSubordinateAggregates;
118  DtVariableDatumRecord myPreviousSubordinateOrderRecord;
119 };

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)