VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
reflectedLandSurfaceHLA.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 "vrfMetocDefines.h"
17 
18 namespace makVrfMetoc {
19 
20 class DtReflectedLandSurface;
21 
26  DtReflectedLandSurface* obj, void* userData);
27 
33 {
34 public:
37  typedef DtLandSurfaceStateRepository* (*DtStateRepCreator)();
38 
39 public:
41  DtReflectedLandSurface(DtHlaObject* obj, DtExerciseConn* exConn);
42 
44  virtual ~DtReflectedLandSurface();
45 
47  virtual DtLandSurfaceStateRepository* landSurfaceStateRep() const;
48 
50  virtual DtLandSurfaceStateRepository* lsr() const;
51 
54  virtual DtReflectedLandSurface* next() const;
55 
58  virtual DtReflectedLandSurface* prev() const;
59 
62  virtual DtReflectedLandSurface* wrapNext() const;
63 
66  virtual DtReflectedLandSurface* wrapPrev() const;
67 
70  virtual void addPostUpdateCallback(
71  DtLandSurfaceCallbackFunction cb, void* userData);
72 
75  virtual void removePostUpdateCallback(
76  DtLandSurfaceCallbackFunction cb, void* userData);
77 
78 public:
80  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
81 
82 protected:
85 
87  DtReflectedLandSurface& operator=(const DtReflectedLandSurface& orig);
88 
89 protected:
91  static DtStateRepCreator theStateRepCreator;
92 };
93 
95 {
96  return (DtLandSurfaceStateRepository*) myStateRep;
97 }
98 
100 {
101  return (DtLandSurfaceStateRepository*) myStateRep;
102 }
103 
104 } //end makVrfMetoc
105 
106 #endif
Contains the DtLandSurfaceStateRepository class declaration.
#define DT_DLL_METOC
This file is used to determine how to build.
Definition: vrfMetocDefines.h:21
virtual DtLandSurfaceStateRepository * landSurfaceStateRep() const
Returns the LandSurface&#39;s state repository.
Definition: reflectedLandSurfaceHLA.h:94
static DtStateRepCreator theStateRepCreator
The function called to create state repositories.
Definition: reflectedLandSurfaceHLA.h:91
Instances of DtLandSurfaceStateRepository are used to store state data for METOC_Root.EnvironmentCondition.Weather.LandSurface objects.
Definition: landSurfaceStateRepository.h:31
void(* DtLandSurfaceCallbackFunction)(DtReflectedLandSurface *obj, void *userData)
Signature of the callback function that takes a DtReflectedLandSurface and user data.
Definition: reflectedLandSurfaceHLA.h:25
Instances of DtReflectedLandSurface are used to represent a simulated HLAobjectRoot.METOC_Root.EnvironmentCondition.Weather.LandSurface object reflected across a network.
Definition: reflectedLandSurfaceHLA.h:32
virtual DtLandSurfaceStateRepository * lsr() const
Shorter version of lifeformRep.
Definition: reflectedLandSurfaceHLA.h:99

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)