VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
reflectedAggregateListHLA.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #ifndef reflectedAggregateListHLA_H_
8 #define reflectedAggregateListHLA_H_
9 
10 #if DtHLA
11 
12 #include "reflectedObjectListHLA.h"
13 #include "reflectedAggregateHLA.h"
14 
19 
24 
26 {
27 public:
28 
32  bool smoothCapable = false, const DtDDMRegionSet* regionSetToUse = 0,
33  const DtString& updateRateTag = DtString(""));
34 
38  const DtList *handleList, bool smoothCapable = false,
39  const DtDDMRegionSet* regionSetToUse = 0,
40  const DtString& updateRateTag = DtString(""));
41 
43  virtual ~DtReflectedAggregateList();
44 
46  virtual DtReflectedAggregate* lookup(
47 #if DtHLA_1516
48  RTI::ObjectInstanceHandle id);
49 #else
51 #endif
52 
54  virtual DtReflectedAggregate* lookup(
55  const DtGlobalObjectDesignator& objName);
56 
58  virtual DtReflectedAggregate* first() const;
59  virtual DtReflectedAggregate* last() const;
60 
62  virtual void addAggregateAdditionCallback(
63  DtAggregateCallbackFunction cb, void* userData);
64  virtual void removeAggregateAdditionCallback(
65  DtAggregateCallbackFunction cb, void* userData);
66 
68  virtual void addAggregateRemovalCallback(
69  DtAggregateCallbackFunction cb, void* userData);
70  virtual void removeAggregateRemovalCallback(
71  DtAggregateCallbackFunction cb, void* userData);
72 
73 protected:
74 
77 
80 
82  virtual const DtList* dfltHandleList();
83 
86 
89  virtual DtReflectedAggregate* newReflectedAggregate(
90  DtHlaObject* obj) const;
91 
94  virtual void removeAndDelete(DtReflectedObject* object, char* msg);
95 
97  virtual void removeAndDelete(
98  DtReflectedAggregate* aggregate, char* msg = NULL);
99 
102  virtual void objectAdded(DtReflectedObject* obj);
103 
108  virtual void aggregateAdded(DtReflectedAggregate* ent);
109 
110 protected:
111 
113 };
114 
115 #endif
116 #endif
117 
class DtReflectedObjectList
Definition: reflectedObjectListHLA.h:58
Contains the HLA DtReflectedObjectList class declaration.
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:60
virtual DtReflectedObject * newReflectedObject(DtHlaObject *obj) const =0
Create a remote object object for the HLA object.
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
class DtReflectedAggregateList:
Definition: reflectedAggregateListHLA.h:25
class DtReflectedAggregate:
Definition: reflectedAggregateHLA.h:32
DtReflectedObjectList & operator=(const DtReflectedObjectList &orig)
assignment operator – not implemented
Instances of DtHlaObject are used to represent HLA objects which are communicated across the network...
Definition: hlaObject.h:56
DtList is deprecated, please use std::list<T>.
Definition: vlList.h:71
ObjectInstanceHandle ObjectHandle
Definition: rtiCompatibility.h:192
class DtReflectedObject:
Definition: reflectedObjectHLA.h:36
virtual void removeAndDelete(DtReflectedObject *obj, char *msg=nullptr)
Remove the remote object from the list if found and delete it.
bool mySmoothCapable
Definition: reflectedAggregateListHLA.h:112
std::set< DtDDMRegionSP > DtDDMRegionSet
Definition: region1516.h:32
virtual void objectAdded(DtReflectedObject *object)
Called from processDiscoverObject() after a remote object has been added to the list.
Instances of DtString are used to represent strings.
Definition: vlString.h:29
void(* DtAggregateCallbackFunction)(DtReflectedAggregate *obj, void *userData)
Definition: reflectedAggregateHLA.h:23
This file provides a declaration of the class DtReflectedAggregate.

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)