VR-Link API Documentation for HLA 1.3
hReflAggList.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 hReflAggList_H_
8 #define hReflAggList_H_
9 
10 #if DtHLA
11 
12 #include "hRefObjList.h"
13 #include "hReflectedAgg.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
50  RTI::ObjectHandle id);
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 

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)