VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
reflectedWeatherHLA.h
Go to the documentation of this file.
1 /*********************************************************************
2 **This file was generated by MAK Technologies' VR-Link Code Generator.
3 **hrefObjHeader.tlt
4 *********************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtHLA
13 
14 #include <vl/reflectedObjectHLA.h>
15 #include <vlutil/vlMachineTypes.h>
16 #include "weatherStateRepository.h"
17 
18 
19 
20 class DtReflectedWeather;
21 
25 typedef void (*DtWeatherCallbackFunction)(
26  DtReflectedWeather* obj, void* userData);
27 
32 class DT_DLL_VL DtReflectedWeather : public DtReflectedObject
33 {
34 public:
37  typedef DtWeatherStateRepository* (*DtStateRepCreator)();
38 
39 public:
41  DtReflectedWeather(DtHlaObject* obj, DtExerciseConn* exConn);
42 
44  virtual ~DtReflectedWeather();
45 
47  virtual DtWeatherStateRepository* weatherStateRep() const;
48 
50  virtual DtWeatherStateRepository* wsr() const;
51 
54  virtual DtReflectedWeather* next() const;
55 
58  virtual DtReflectedWeather* prev() const;
59 
62  virtual DtReflectedWeather* wrapNext() const;
63 
66  virtual DtReflectedWeather* wrapPrev() const;
67 
70  virtual void addPostUpdateCallback(
71  DtWeatherCallbackFunction cb, void* userData);
72 
75  virtual void removePostUpdateCallback(
76  DtWeatherCallbackFunction cb, void* userData);
77 
78 public:
80  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
81 
82 protected:
84  DtReflectedWeather(const DtReflectedWeather& orig);
85 
87  DtReflectedWeather& operator=(const DtReflectedWeather& orig);
88 
89 protected:
91  static DtStateRepCreator theStateRepCreator;
92 };
93 
94 inline DtWeatherStateRepository* DtReflectedWeather::weatherStateRep() const
95 {
96  return (DtWeatherStateRepository*) myStateRep;
97 }
98 
99 inline DtWeatherStateRepository* DtReflectedWeather::wsr() const
100 {
101  return (DtWeatherStateRepository*) myStateRep;
102 }
103 
104 
105 
106 #endif
void * next() const
Return next (previous) elements on the list, or NULL if hit the end (beginning) of the list...
Definition: vlList.h:272
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnDIS.h:62
Contains the DtWeatherStateRepository class declaration.
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
DtReflectedObject & operator=(const DtReflectedObject &orig)
assignment operator – not implemented
Instances of DtWeatherStateRepository are used to store state data for METOC_Root.EnvironmentCondition.Weather objects.
Definition: weatherStateRepository.h:33
Instances of DtReflectedObject are used to represent a simulation entity reflected across a network (...
Definition: reflectedObjectDIS.h:34
void * prev() const
Definition: vlList.h:277
void * wrapNext() const
Return next (previous) elements on the list, but wrap to the beginning (end) of the list when you hit...
Definition: vlList.h:282
void * wrapPrev() const
Definition: vlList.h:288
This file contains typedefs for machine dependant types.

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)