VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
weatherLocalNetInterface.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 #include <vlutil/vlString.h>
16 #include <vlutil/vlList.h>
17 #include <vl/globalObjectDesignator.h>
19 
20 class DtVrfObject;
22 class DtSimManager;
25 
30 {
31 protected:
34 
35 public:
36 
39  DtVrfObject* vrfObject,
40  DtReaderWriterRegistry* parentRegistry = 0,
41  bool publishObject = true);
42 
48  const DtWeatherLocalNetInterface & orig,
49  DtReaderWriterRegistry * parentRegistry = 0);
50 
54 
56  virtual ~DtWeatherLocalNetInterface();
57 
58  virtual bool init(const DtEntityIdentifier& id = DtEntityIdentifier::nullId());
59 
61  virtual void updatePublisher();
62 
64  virtual DtString type() const;
65 
66  static DtSimObjectNetInterface* creator(const DtString& name,
67  DtVrfObject* vrfObject,
68  DtReaderWriterRegistry* parentRegistry,
69  bool publishObject);
70 
71  virtual int weatherRecordIndex() const;
72  virtual void destroyPublisher();
73 
74 protected:
76  virtual DtEnvironmentProcessRepository* epsr() const;
77 
79  virtual void setupRecords();
80 
81  virtual void updateGeometryRecord(DtWeatherStateRepository* localState);
82 
83  virtual void updateStateRecord(DtWeatherStateRepository* localState);
84 
85  virtual DtEnvironmentProcessPublisher* _createPublisher(const DtEntityIdentifier& id = DtEntityIdentifier::nullId()) const;
86  virtual bool createPublisher(const DtEntityIdentifier& entityId);
87 
88 protected:
90 };

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)