VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
reflectedObjectDIS.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #if DtDIS
8 
11 
12 #ifndef DtDisReflectedObject_H_
13 #define DtDisReflectedObject_H_
14 
15 
16 
18 #include "hostStructs.h"
19 
20 #include <vlutil/vlList.h>
21 #include <vlutil/vlTime.h>
22 #include <vlutil/vlString.h>
23 
26 class DT_DLL_VL DtHlaStateDecoder;
27 class DT_DLL_VL DtStateMsg;
29 
35 {
36 
37 public:
38 
41 
43  virtual ~DtReflectedObject();
44 
47  virtual DtStateRepository* stateRep() const = 0;
48 
50  virtual DtStateRepository* sr() const;
51 
54  virtual DtTime lastTimeUpdated() const;
55 
58  virtual DtTime lastSimTimeUpdated() const;
59 
62  virtual DtTime lastReceivedTimeStamp() const;
63 
65  virtual void processStateMessage(const DtStateMsg& msg);
66 
68  virtual void baseAddPostUpdateCallback(
69  DtReflectedObjectCallbackFunction cb, void* userData);
70  virtual void baseRemovePostUpdateCallback(
71  DtReflectedObjectCallbackFunction cb, void* userData);
72 
74  virtual DtReflectedObject* nextObj() const;
75 
77  virtual DtReflectedObject* prevObj() const;
78 
81  virtual DtReflectedObject* wrapNextObj() const;
82 
85  virtual DtReflectedObject* wrapPrevObj() const;
86 
88  virtual const DtBaseHashKey& hashKey() const = 0;
89 
91  virtual DtString idString() const = 0;
92 
94  virtual const DtGlobalObjectDesignator& globalId() const = 0;
95 
96 protected:
97 
100 
102  DtReflectedObject& operator=(const DtReflectedObject& orig);
103 
105  virtual void processPostUpdateCallbacks();
106 
107 protected:
108 
114 
115 };
116 
117 #endif
118 #endif
119 
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnDIS.h:61
DtTime myLastReceivedTimeStamp
Definition: reflectedObjectDIS.h:113
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
This file contains the declaration of DtList and DtListItem.
Contains the DtString class declaration.
DtBaseHashKey is an abstract base class for hash keys.
Definition: vlHashKeys.h:39
This file contains the declaration of DtClock and DtTime.
An intrusive list is a list that assumes that the elements that you add are pointers to instances of ...
Definition: vlList.h:196
Instances of DtReflectedObject are used to represent a simulation entity reflected across a network (...
Definition: reflectedObjectDIS.h:34
DtStateRepository is an abstract base class for maintaining state for an object.
Definition: stateRepository.h:50
DtTime myLastTimeUpdated
Definition: reflectedObjectDIS.h:111
Instances of DtEntityIdentifier are used as a unique ID for entities in DIS.
Definition: entityIdentifier.h:31
DtExerciseConn * myExConn
Definition: reflectedObjectDIS.h:109
DtTime myLastSimTimeUpdated
Definition: reflectedObjectDIS.h:112
This is a base class from which elements of a DtIntrusiveList must be derived.
Definition: vlList.h:158
This file is deprecated - Please see simulationAddress.h, entityIdentifier.h, entityType.h, burstDescriptor.h, and NetStructs.h.
void(* DtReflectedObjectCallbackFunction)(DtReflectedObject *obj, void *userData)
Callback function that takes a DtReflectedObject and user data.
Definition: reflectedObjectCallbackInfo.h:19
Instances of DtString are used to represent strings.
Definition: vlString.h:29
DtIntrusiveList myStateUpdateCallbacks
Definition: reflectedObjectDIS.h:110
Instances of DtStateMsg are used to represent state data communicated via the network in a DIS (as op...
Definition: stateMsgDIS.h:21

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)