VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
simIndividualLocalEntityNetInterface.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
14 
15 #pragma once
16 
18 
22 
35 {
36 protected:
39 
40 public:
43  DtVrfObject* vrfObject,
44  DtReaderWriterRegistry* parentRegistry = 0,
45  bool publishObject = true);
46 
50  DtReaderWriterRegistry * parentRegistry = 0);
51 
55 
58 
60  virtual void updateNet();
61 
64  virtual void updatePublisher();
65 
71  virtual bool createPublisher(const DtEntityIdentifier& id = DtEntityIdentifier::nullId());
72 
74  void destroyPublisher();
75 
85  virtual bool setEntityPublisher(DtVrfEntityPublisher * publisher);
86 
90  virtual void setupNetworkRepository();
91 
93  virtual DtVrfEntityPublisher * entityPublisher() const;
94 
97  virtual DtExtEntityStateRepository * individualNetworkState() const;
98 
104  virtual DtVrfObjectStateRepository * individualLocalState() const;
105 
106  virtual bool isAggregate() const { return false; }
107 
110  virtual DtString type() const;
111 
116  isIndividualLocalEntityNetInterface(const DtSimObjectNetInterface *
117  objNetInterface);
118 
119  static DtSimObjectNetInterface * creator(const DtString & name,
120  DtVrfObject* vrfObject,
121  DtReaderWriterRegistry * parentRegistry,
122  bool publishObject);
123 
124 protected:
125 
126  virtual bool updateVrfDataAsSeenByRemote();
127 
131  virtual void updateArtPartsNetState();
132 
133  virtual void updateDIGuyState();
134 
135 protected:
136 
138 
141 
145 
146 };

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)