VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
reflectedEnvironmentProcessHLA.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 #ifndef DtReflectedEnvironmentProcess_H_
6 #define DtReflectedEnvironmentProcess_H_
7 
8 #if DtHLA
9 
11 #include "reflectedObjectHLA.h"
12 
17 
22  DtReflectedEnvironmentProcess* obj, void* userData);
23 
32 {
33 public:
34 
37  typedef DtEnvironmentProcessRepository* (*DtStateRepCreator)();
38 
39 public:
40 
42  DtReflectedEnvironmentProcess(DtHlaObject* obj, DtExerciseConn* conn);
43 
46 
48  virtual DtEnvironmentProcessRepository* environmentProcessStateRep() const;
49 
51  virtual DtEnvironmentProcessRepository* epsr() const;
52 
54  virtual DtReflectedEnvironmentProcess* next() const;
55 
57  virtual DtReflectedEnvironmentProcess* prev() const;
58 
61  virtual DtReflectedEnvironmentProcess* wrapNext() const;
62 
65  virtual DtReflectedEnvironmentProcess* wrapPrev() const;
66 
68  virtual void addPostUpdateCallback(
69  DtEnvironmentProcessCallbackFunction cb, void* userData);
70 
71  virtual void removePostUpdateCallback(
72  DtEnvironmentProcessCallbackFunction cb, void* userData);
73 
74 public:
75 
77  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
78 
79 protected:
80 
83 
86  (const DtReflectedEnvironmentProcess& orig);
87 
88 protected:
89 
90  static DtStateRepCreator theStateRepCreator;
91 };
92 
95 {
97 }
98 
101 {
103 }
104 
105 #endif //DtHLA
106 #endif //DtReflectedEnvironmentProcess
107 
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's interface or connection to the netwo...
Definition: exerciseConnDIS.h:61
Contains the DtEnvironmentProcessRepository class declaration.
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
DtEnvironmentProcessRepository * myStateRep
Definition: reflectedEnvironmentProcessDIS.h:126
The DtReflectedObject instance for an Environmental Process Object.
Definition: reflectedEnvironmentProcessDIS.h:34
virtual DtEnvironmentProcessRepository * epsr() const
Synonym for environmentStateRep.
virtual DtEnvironmentProcessRepository * environmentProcessStateRep() const
Returns ptr to environmentProcessStateRepository – through which you can inspect current state info...
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
Instances of DtEnvironmentProcessRepository are used to store state information for environmental pro...
Definition: environmentProcessRepository.h:27
void(* DtEnvironmentProcessCallbackFunction)(DtReflectedEnvironmentProcess *obj, void *userData)
Callback function that takes a DtReflectedEnvironmentProcess and usr data.
Definition: reflectedEnvironmentProcessDIS.h:26
void * wrapPrev() const
Definition: vlList.h:288

Document ID: Generated on Tue Feb 2 21:02:17 EST 2021 from SVN revision 223668
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)