VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
landSurfacePublisherHLA.h
Go to the documentation of this file.
1 /*********************************************************************
2 **This file was generated by MAK Technologies' VR-Link Code Generator.
3 **hpubHeader.tlt
4 *********************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtHLA
13 
14 #include <vl/objectPublisherHLA.h>
15 #include "vrfMetocDefines.h"
16 
17 namespace makVrfMetoc {
18 
19 class DtLandSurfaceStateRepository;
20 
26 {
27 public:
29  typedef DtLandSurfaceStateRepository* (*DtStateRepCreator)();
30 
31 public:
34  DtLandSurfaceStateRepository* stateRepToUse,
35  DtExerciseConn* conn,
36  const char* name = 0,
37  const DtDDMRegionSet* regionSetToUse = 0);
38 
41  RTI::ObjectClassHandle h,
42  DtExerciseConn* conn,
43  const char* name = 0,
44  const DtDDMRegionSet* regionSetToUse = 0);
45 
48  DtExerciseConn* conn,
49  const char* name = 0,
50  const DtDDMRegionSet* regionSetToUse = 0);
51 
57  DtLandSurfacePublisher( DtHlaObjectWithStateRep* obj, DtExerciseConn* conn);
58 
60  static const char * objectClassName();
61 
63  virtual ~DtLandSurfacePublisher();
64 
65 private:
68 
70  DtLandSurfacePublisher& operator=(
71  const DtLandSurfacePublisher& orig);
72 
73 public:
74 
77  virtual DtLandSurfaceStateRepository* landSurfaceStateRep();
78 
80  virtual DtLandSurfaceStateRepository* lsr();
81 
82 public:
84  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
85 
86 protected:
87  static DtStateRepCreator theStateRepCreator;
88 };
89 
91 {
92  return (DtLandSurfaceStateRepository*) myStateRep;
93 }
94 
96 {
97  return (DtLandSurfaceStateRepository*) myStateRep;
98 }
99 
100 } //end makVrfMetoc
101 
102 #endif
#define DT_DLL_METOC
This file is used to determine how to build.
Definition: vrfMetocDefines.h:21
static DtStateRepCreator theStateRepCreator
Definition: landSurfacePublisherHLA.h:87
Instances of DtLandSurfaceStateRepository are used to store state data for METOC_Root.EnvironmentCondition.Weather.LandSurface objects.
Definition: landSurfaceStateRepository.h:31
virtual DtLandSurfaceStateRepository * landSurfaceStateRep()
Returns a pointer to the DtLandSurfaceStateRepository - through which you can set or inspect current ...
Definition: landSurfacePublisherHLA.h:90
virtual DtLandSurfaceStateRepository * lsr()
Synonym for landSurfaceStateRep().
Definition: landSurfacePublisherHLA.h:95
Instances of DtLandSurfacePublisher publish METOC_Root.EnvironmentCondition.Weather.LandSurface objects to the network.
Definition: landSurfacePublisherHLA.h:25

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)