VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
reflectedGenericObject.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
9 
10 #ifndef DtReflectedGenericObject_H_
11 #define DtReflectedGenericObject_H_
12 
13 #if DtHLA
14 
15 #include "reflectedObjectHLA.h"
16 #include "stateRepository.h"
17 
22 class DT_DLL_VL DtReflectedGenericObject;
23 typedef void (*DtGenericObjectCallbackFunction)
24  (DtReflectedGenericObject* obj, void* userData);
25 
33 class DT_DLL_VL DtReflectedGenericObject : public DtReflectedObject
34 {
35 public:
36 
38  DtReflectedGenericObject(DtHlaObject* obj, DtExerciseConn* conn);
39 
41  virtual ~DtReflectedGenericObject();
42 
45  virtual DtStateRepository* genericStateRep() const;
46 
48  virtual DtStateRepository* gsr() const;
49 
52  virtual DtReflectedGenericObject* next() const;
53  virtual DtReflectedGenericObject* prev() const;
54  virtual DtReflectedGenericObject* wrapNext() const;
55  virtual DtReflectedGenericObject* wrapPrev() const;
56 
58  virtual void addPostUpdateCallback(
59  DtGenericObjectCallbackFunction cb, void* userData);
60  virtual void removePostUpdateCallback(
61  DtGenericObjectCallbackFunction cb, void* userData);
62 
63 protected:
64 
66  DtReflectedGenericObject(const DtReflectedGenericObject &other);
67 
69  DtReflectedGenericObject& operator=(const DtReflectedGenericObject &other);
70 
71 };
72 
73 #endif
74 #endif
75 
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
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
DtReflectedObject & operator=(const DtReflectedObject &orig)
assignment operator – not implemented
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
DtStateRepository is an abstract base class for maintaining state for an object.
Definition: stateRepository.h:50
void * wrapPrev() const
Definition: vlList.h:288

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)