VR-Link API Documentation for HLA 1516
hAggPub.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 hAggPub_H_
11 #define hAggPub_H_
12 
13 #if DtHLA
14 
15 #include "hObjPub.h"
16 #include <vlpi/disEnums.h>
17 
20 
21 
28 {
29 public:
30 
33  typedef DtAggregateStateRepository* (*DtStateRepCreator)();
34 
35 public:
36 
39  DtAggregateStateRepository *stateRepToUse,
40  DtExerciseConn* conn,
41  const char* name = 0,
42  const DtDDMRegionSet* regionSetToUse = 0);
43 
46  RTI::ObjectClassHandle h,
47  DtExerciseConn* conn,
48  const char* name = 0,
49  const DtDDMRegionSet* regionSetToUse = 0);
50 
53  const DtEntityType& type,
54  DtExerciseConn* conn,
55  const char* name = 0,
56  const DtDDMRegionSet* regionSetToUse = 0);
57 
60  const DtEntityType& type,
61  DtExerciseConn *conn,
62  DtDeadReckonTypes algorithm,
63  DtForceType forceId,
64  const char* name = 0,
65  const DtDDMRegionSet* regionSetToUse = 0);
66 
73 
75  virtual ~DtAggregatePublisher();
76 
79  virtual DtAggregateStateRepository* aggregateStateRep();
80 
82  virtual DtAggregateStateRepository* asr();
83 
84  virtual void tick();
85 
86 public:
87 
89  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
90 
91 protected:
95  void createGeographicRegion(DtExerciseConn* conn);
96 
99 
102 
106  const char* objectClassNameFromType(const DtEntityType &type);
107 
108  DtBoost::shared_ptr<DtGeodeticRegion> myGeodeticPublishingRegion;
109 
110 protected:
111 
112  static DtStateRepCreator theStateRepCreator;
113 };
114 
116 {
118 }
119 
121 {
123 }
124 
125 #endif
126 #endif
127 

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)