VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
arealObjectPublisherHLA.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 * hArealObjPub.h
7 *********************************************************************/
8 
9 #if DtHLA
10 
11 #ifndef arealObjectPublisherHLA_H_
12 #define arealObjectPublisherHLA_H_
13 
14 #include "objectPublisherHLA.h"
16 
20 
22 
23 
34 {
35 public:
36 
39  typedef DtArealObjectRepository* (*DtStateRepCreator)();
40 
41 public:
42 
45  DtArealObjectRepository *stateRepToUse,
46  DtExerciseConn* conn,
47  const char* name = 0,
48  const DtDDMRegionSet* regionSetToUse = 0);
49 
52  RTI::ObjectClassHandle h,
53  DtExerciseConn* conn,
54  const char* name = 0,
55  const DtDDMRegionSet* regionSetToUse = 0);
56 
60  DtExerciseConn* conn,
61  const char* name = 0,
62  const DtDDMRegionSet* regionSetToUse = 0);
63 
65  virtual ~DtArealObjectPublisher();
66 
69  virtual DtArealObjectRepository* arealObjectStateRep();
70 
72  virtual DtArealObjectRepository* aosr();
73 
74 public:
75 
77  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
78 
79 protected:
80 
86  const char* name = 0,
87  const DtDDMRegionSet* regionSetToUse = 0);
88 
91 
93  DtArealObjectPublisher& operator=
94  (const DtArealObjectPublisher& orig);
95 
96  //Non-virtual method called from constructor.
97  const char* objectClassNameFromType
98  (const DtSyntheticEnvironmentObjectType& type);
99 
100 protected:
101 
102  static DtStateRepCreator theStateRepCreator;
103 };
104 
107 {
109 }
110 
112 {
114 }
115 
116 #endif //hArealObjPub_H_
117 #endif //DtHLA
118 
DtStateRepository * myStateRep
Definition: objectPublisherHLA.h:202
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:58
virtual DtArealObjectRepository * arealObjectStateRep()
Returns a pointer to the DtArealObjectRepository - through which you can set or inspect current state...
Definition: arealObjectPublisherHLA.h:106
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Instances of DtObjectPublisher are used for local or source simulations of objects, (i.e.
Definition: objectPublisherHLA.h:34
std::set< DtDDMRegionSP > DtDDMRegionSet
Definition: region13.h:34
static DtStateRepCreator theStateRepCreator
Definition: arealObjectPublisherHLA.h:102
Instances of DtArealObjectPublisher are used for local or source simulations of areal objects...
Definition: arealObjectPublisherHLA.h:33
virtual DtArealObjectRepository * aosr()
Synonym for arealObjectStateRep().
Definition: arealObjectPublisherHLA.h:111
DtSyntheticEnvironmentObjectType is a class which contains information identifying the type of a synt...
Definition: vlpi/syntheticEnvironmentObjectType.h:19
Instances of DtArealObjectRepository are used to maintain state information needed by areal object en...
Definition: arealObjectRepository.h:30
This file provides a declaration of the class DtObjectPublisher.

Document ID: Generated on Tue Feb 2 21:02:17 EST 2021 from SVN revision 223668
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)