VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
metocServiceLocalNetInterface.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2021 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 #include <vrfMetoc/metocEnums.h>
20 
21 class DtVrfObject;
23 class DtSimManager;
26 class DtTroposphereLayerPublisher;
27 class DtSurface;
28 namespace makVrfMetoc
29 {
30  class DtTroposphereLayerPublisher;
31  class DtSubsurfaceLayerPublisher;
32  class DtLandSurfacePublisher;
33  class DtWaterSurfacePublisher;
34  class DtServicePublisher;
35 }
36 
37 #ifdef DtDIS
43 #else
44 
50 #endif
51 
56 {
57 protected:
60 
61 public:
62 
65  DtVrfObject* vrfObject,
66  DtReaderWriterRegistry* parentRegistry = 0,
67  bool publishObject = true);
68 
75  DtReaderWriterRegistry * parentRegistry = 0);
76 
80 
83 
84  virtual bool init(const DtEntityIdentifier& id = DtEntityIdentifier::nullId());
85 
87  virtual DtString type() const;
88 
89  static DtSimObjectNetInterface* creator(const DtString& name,
90  DtVrfObject* vrfObject,
91  DtReaderWriterRegistry* parentRegistry,
92  bool publishObject);
93 
94 
95 
96  virtual void onTick() override;
97 
98 
99  virtual bool isEntity() const override;
100 
101 
102  virtual bool isEnvironmental() const override;
103 
104 
105  virtual bool isLocal() const override;
106 
107 #if DtHLA
108  virtual RTI::ObjectClassHandle objectClassHandle() const;
110 #endif
111 
112 protected:
113 
114 
116  virtual void setupMetocPublisher();
117 
118  virtual void metocTick();
119 
120 
121 
122 protected:
124 
126 
127 };
128 #pragma once
virtual bool isEnvironmental() const =0
DtVrfServicePublisherPtr myMetocServicePublisher
Definition: metocServiceLocalNetInterface.h:123
virtual bool init()
Derived classes that need to perform virtual construction my override this function as desired...
Definition: simObjectNetInterface.h:66
Contains the DtSimEnvironmentalModelType class declaration.
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
virtual RTI::ObjectClassHandle objectClassHandle() const =0
Returns the HLA object class handle of the published or reflected object.
Instances of DtTroposphereLayerPublisher publish METOC_Root.EnvironmentCondition.Weather.TroposphereLayer objects to the network.
Definition: troposphereLayerPublisherHLA.h:25
virtual void onTick()=0
Depending on the whether or not the entity is local or remote, this will cause the VR-Link network re...
Definition: readerWriterRegistry.h:39
Definition: surface.h:179
virtual DtString type() const =0
Returns the type of net interface object.
This repository holds all information that is common to all the forms of all objects within VR-Forces...
Definition: weatherStateRepository.h:20
const DtSimObjectNetInterface & operator=(const DtSimObjectNetInterface &orig)
assignment operator
void * DtVrfSubsurfacePublisherPtr
Definition: metocServiceLocalNetInterface.h:39
Instances of DtServicePublisher publish METOC_Root.Service objects to the network.
Definition: servicePublisherHLA.h:25
bool myMetocPublishingEnabled
Definition: metocServiceLocalNetInterface.h:125
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
Instances of DtWaterSurfacePublisher publish METOC_Root.EnvironmentCondition.Weather.WaterSurface objects to the network.
Definition: waterSurfacePublisherHLA.h:25
Definition: vrfEnvironmentalWeatherStateRecord.h:173
virtual bool isLocal() const =0
Is this network interface for a local (true) or remote (false) object? Local network interfaces shoul...
void * DtVrfServicePublisherPtr
Definition: metocServiceLocalNetInterface.h:42
virtual bool isEntity() const =0
Is this network interface for a local (true) or remote (false) object? Deriving network interfaces sh...
Local network interface for weather state objects.
Definition: metocServiceLocalNetInterface.h:55
Class Description: DtSimObjectNetInterface.
Definition: simObjectNetInterface.h:37
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:103
void * DtVrfLandSurfacePublisherPtr
Definition: metocServiceLocalNetInterface.h:40
void * DtVrfWaterSurfacePublisherPtr
Definition: metocServiceLocalNetInterface.h:41
Instances of DtLandSurfacePublisher publish METOC_Root.EnvironmentCondition.Weather.LandSurface objects to the network.
Definition: landSurfacePublisherHLA.h:25
Instances of DtSubsurfaceLayerPublisher publish METOC_Root.EnvironmentCondition.SubsurfaceLayer objec...
Definition: subsurfaceLayerPublisherHLA.h:25
void * DtVrfTropospherePublisherPtr
Definition: metocServiceLocalNetInterface.h:38

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)