VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
weatherPublisherHLA.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 
20 
26 {
27 public:
29  typedef DtWeatherStateRepository* (*DtStateRepCreator)();
30 
31 public:
34  DtWeatherStateRepository* 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  DtWeatherPublisher( DtHlaObjectWithStateRep* obj, DtExerciseConn* conn);
58 
60  static const char * objectClassName();
61 
63  virtual ~DtWeatherPublisher();
64 
65 private:
68 
70  DtWeatherPublisher& operator=(
71  const DtWeatherPublisher& orig);
72 
73 public:
74 
77  virtual DtWeatherStateRepository* weatherStateRep();
78 
80  virtual DtWeatherStateRepository* wsr();
81 
82 public:
84  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
85 
86 protected:
87  static DtStateRepCreator theStateRepCreator;
88 };
89 
91 {
92  return (DtWeatherStateRepository*) myStateRep;
93 }
94 
96 {
97  return (DtWeatherStateRepository*) 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
Instances of DtWeatherPublisher publish METOC_Root.EnvironmentCondition.Weather objects to the networ...
Definition: weatherPublisherHLA.h:25
Instances of DtWeatherStateRepository are used to store state data for METOC_Root.EnvironmentCondition.Weather objects.
Definition: weatherStateRepository.h:33
This repository holds all information that is common to all the forms of all objects within VR-Forces...
Definition: weatherStateRepository.h:20
virtual DtWeatherStateRepository * weatherStateRep()
Returns a pointer to the DtWeatherStateRepository - through which you can set or inspect current stat...
Definition: weatherPublisherHLA.h:90
static DtStateRepCreator theStateRepCreator
Definition: weatherPublisherHLA.h:87
virtual DtWeatherStateRepository * wsr()
Synonym for weatherStateRep().
Definition: weatherPublisherHLA.h:95

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)