VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
reflectedDiGuyObject.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
9 
10 #pragma once
11 
13 
14 #if DtHLA
15 
16 #include <vl/reflectedObjectHLA.h>
17 
18 
20 
25  DtReflectedDIGuyObject* obj, void* userData);
26 
32 {
33 public:
36  typedef DtDIGuyObjectStateRepository* (*DtStateRepCreator)();
37 
38 public:
41 
43  virtual ~DtReflectedDIGuyObject();
44 
46  virtual DtDIGuyObjectStateRepository* dIGuyObjectStateRep() const;
47 
49  virtual DtDIGuyObjectStateRepository* dsr() const;
50 
53  virtual void setDsr(DtDIGuyObjectStateRepository* newDsr);
54 
57  virtual DtReflectedDIGuyObject* next() const;
58 
61  virtual DtReflectedDIGuyObject* prev() const;
62 
65  virtual DtReflectedDIGuyObject* wrapNext() const;
66 
69  virtual DtReflectedDIGuyObject* wrapPrev() const;
70 
73  virtual void addPostUpdateCallback(
74  DtDIGuyObjectCallbackFunction cb, void* userData);
75 
78  virtual void removePostUpdateCallback(
79  DtDIGuyObjectCallbackFunction cb, void* userData);
80 
82  virtual void restoreConstructedDsr();
83 
84 public:
86  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
87  static DtStateRepCreator stateRepCreator();
88 
89 protected:
92 
95 
96 protected:
97 
99 
100 protected:
102  static DtStateRepCreator theStateRepCreator;
103 };
104 
106 {
108 }
109 
111 {
113 }
114  #else
115 
116 //In DIS there is no diGuy Object. but in order to keep the state rep creators the same
117 //We are including a dummy class that creates the state Rep.
119 {
120 public:
122  typedef DtDIGuyObjectStateRepository* (*DtStateRepCreator)();
123 
124 public:
126  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
127  static DtStateRepCreator stateRepCreator();
128 
129 protected:
130  static DtStateRepCreator theStateRepCreator;
131 };
132 
133 #endif
virtual DtDIGuyObjectStateRepository * dsr() const
Shorter version of lifeformRep.
Definition: reflectedDiGuyObject.h:110
virtual DtDIGuyObjectStateRepository * dIGuyObjectStateRep() const
Returns the DIGuyObject&#39;s state repository.
Definition: reflectedDiGuyObject.h:105
Contains the DtDIGuyObjectStateRepository class declaration.
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
DtDIGuyObjectStateRepository * myConstructedDsr
Definition: reflectedDiGuyObject.h:98
DtReflectedObject & operator=(const DtReflectedObject &orig)
assignment operator – Not Implemented
Instances of DtHlaObject are used to represent HLA objects which are communicated across the network...
Definition: hlaObject.h:58
Instances of DtReflectedDIGuyObject are used to represent a simulated HLAobjectRoot.DIGuyObject object reflected across a network.
Definition: reflectedDiGuyObject.h:31
class DtReflectedObject:
Definition: reflectedObjectHLA.h:36
void(* DtDIGuyObjectCallbackFunction)(DtReflectedDIGuyObject *obj, void *userData)
Signature of the callback function that takes a DtReflectedDIGuyObject and user data.
Definition: reflectedDiGuyObject.h:24
DtStateRepository * myStateRep
Definition: reflectedObjectHLA.h:180
Instances of DtDIGuyObjectStateRepository are used to store state data for DIGuyObject objects...
Definition: diGuyObjectStateRepository.h:31
static DtStateRepCreator theStateRepCreator
The function called to create state repositories.
Definition: reflectedDiGuyObject.h:102
This file provides a declaration of the class DtReflectedObject.

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)