VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
reflectedEnvironmentProcessDIS.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
7 
8 #ifndef DtReflectedEnvironmentProcess_H_
9 #define DtReflectedEnvironmentProcess_H_
10 
11 #if DtDIS
12 
13 #include "reflectedObjectDIS.h"
16 #include "globalObjectDesignator.h"
17 #include "objectIdHashKey.h"
18 
22 
27  DtReflectedEnvironmentProcess* obj, void* userData);
28 
35 {
36 public:
37 
40  typedef DtEnvironmentProcessRepository* (*DtStateRepCreator)();
41 
42 public:
43 
46  DtExerciseConn* conn,
47  const DtEntityIdentifier& id,
48  const DtEntityType& type);
49 
52 
55  virtual DtEnvironmentProcessRepository* environmentProcessStateRep() const;
56 
58  virtual DtEnvironmentProcessRepository* epsr() const;
59 
61  virtual DtStateRepository* stateRep() const;
62 
66 
68  virtual const DtEntityIdentifier& entityId() const;
69 
71  virtual const DtObjectId& id() const;
72 
74  virtual const DtObjectId& localId() const;
75 
78  virtual const DtGlobalObjectDesignator& globalId() const;
79 
82  virtual void processStateMessage(const DtStateMsg& msg);
83 
86  virtual DtReflectedEnvironmentProcess* next() const;
87  virtual DtReflectedEnvironmentProcess* prev() const;
88 
90  virtual DtReflectedEnvironmentProcess* wrapNext() const;
91  virtual DtReflectedEnvironmentProcess* wrapPrev() const;
92 
94  virtual void addPostUpdateCallback(
95  DtEnvironmentProcessCallbackFunction cb, void* userData);
96  virtual void removePostUpdateCallback(
97  DtEnvironmentProcessCallbackFunction cb, void* userData);
98 
100  virtual const DtBaseHashKey& hashKey() const;
101 
103  virtual DtString idString() const;
104 
107  virtual void processEnvironmentProcess(const DtEnvironmentalProcessPdu& pdu);
108 
109 public:
110 
112  static void setStateRepCreator(DtStateRepCreator creator);
113  static DtStateRepCreator stateRepCreator(void);
114 
115 protected:
116 
119 
122 
123 protected:
124 
128  DtEntityIdentifierHashKey myHashKey;
129 
130 protected:
131 
132  static DtStateRepCreator theStateRepCreator;
133 
134 };
135 
136 #endif
137 #endif
138 
Instances of DtEntityIdentifierHashKey are hash keys made from DtEntityIdentifiers.
Definition: entityIdentifierHashKey.h:21
DtHlaStateDecoder * myDecoder
Definition: reflectedObjectHLA.h:181
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
Instances of DtEnvironmentalProcessPdu are used to send information about environmental effects and p...
Definition: environmentalProcessPdu.h:32
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
DtBaseHashKey is an abstract base class for hash keys.
Definition: vlHashKeys.h:39
Instances of DtReflectedEnvironmentProcess are used to represent an Instance of an EnvironmentProcess...
Definition: reflectedEnvironmentProcessHLA.h:31
virtual const DtObjectId & localId() const
Get the HLA object's id (local ID).
Definition: reflectedObjectHLA.h:193
This file contains typedefs used to represent objects in a protocol neutral way.
virtual DtHlaStateDecoder * decoder()
Returns a pointer to the Decoder being used to decode state messages into our SR. ...
DtReflectedObject & operator=(const DtReflectedObject &orig)
assignment operator – Not Implemented
virtual DtStateRepository * stateRep() const
Returns a pointer to the StateRepository - through which you can inspect current state information...
Definition: reflectedObjectHLA.h:198
DtObjectId myId
Definition: reflectedObjectHLA.h:183
virtual const DtGlobalObjectDesignator & globalId() const
Get the HLA object's global object designator - the object name in HLA.
class DtReflectedObject:
Definition: reflectedObjectHLA.h:36
DtStateRepository is an abstract base class for maintaining state for an object.
Definition: stateRepository.h:50
Instances of DtEntityIdentifier are used as a unique ID for entities in DIS.
Definition: entityIdentifier.h:31
Instances of DtEnvironmentProcessRepository are used to store state information for environmental pro...
Definition: environmentProcessRepository.h:27
DtStateRepository * myStateRep
Definition: reflectedObjectHLA.h:180
DtObjectId instances are used to represent RTI::ObjectInstances in VR-Link.
Definition: objectId.h:38
void(* DtEnvironmentProcessCallbackFunction)(DtReflectedEnvironmentProcess *obj, void *userData)
Definition: reflectedEnvironmentProcessHLA.h:21
Contains the DtEnvironmentalProcessPdu class declaration.
Instances of DtString are used to represent strings.
Definition: vlString.h:36
virtual const DtObjectId & id() const
Get the HLA object's id (local ID).
class DtStateMsg:
Definition: stateMsgHLA.h:32
DtEntityType is used to represent the type an entity object.
Definition: entityType.h:26
class DtEnvironmentProcessDecoder:
Definition: environmentProcessDecoderHLA.h:36

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)