VR-Link API Documentation for DIS
reflectedAggregateListDIS.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 #pragma once
6 
7 
8 
9 #if DtDIS
10 
11 #include "reflectedObjectListDIS.h"
12 #include "reflectedAggregateDIS.h"
13 
16 
21 {
22 
23 public:
24 
27  bool smoothCapable = false);
28 
30  virtual ~DtReflectedAggregateList();
31 
32 private:
33 
36  const DtReflectedAggregateList& orig);
37 
40 
41 public:
43  virtual DtReflectedAggregate* lookup(const DtObjectId& id) const;
44 
46  virtual DtReflectedAggregate* first() const;
47  virtual DtReflectedAggregate* last() const;
48 
50  virtual void addAggregateAdditionCallback(
51  DtAggregateCallbackFunction cb, void* userData);
52  virtual void removeAggregateAdditionCallback(
53  DtAggregateCallbackFunction cb, void* userData);
54 
56  virtual void addAggregateRemovalCallback(
57  DtAggregateCallbackFunction cb, void* userData);
58  virtual void removeAggregateRemovalCallback(
59  DtAggregateCallbackFunction cb, void* userData);
60 
62  virtual void print();
63 
66  virtual DtReflectedAggregate* processAggregateState(
67  const DtAggregateStatePdu& pdu);
68 
70  virtual void processRelativeLocationPdu(const DtRelativeLocationPdu& pdu);
71 
72 
73 protected:
74 
76  virtual DtReflectedObject* newReflectedObj(const DtStateMsg& msg);
77 
80 
83  virtual void objectAdded(DtReflectedObject* obj);
84 
86  virtual const DtBaseHashKey&
88 
90  virtual DtReflectedAggregate* newReflectedAggregate(
91  const DtEntityIdentifier& id, const DtEntityType& type) const;
92 
95  virtual void aggregateAdded(DtReflectedAggregate* agg);
96 
97 
98 protected:
99 
101  static void aggregateStateCb(DtAggregateStatePdu* pdu, void* usr);
102 
104  static void relativeLocationCb( DtRelativeLocationPdu* pdu, void* usr );
105 
106 protected:
107 
110 };
111 
112 #endif

Document ID: Generated on Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)