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

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)