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

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)