VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pointObjectPublisherHLA.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 * hPointObjPub.h
7 *********************************************************************/
8 
9 #if DtHLA
10 
11 #ifndef pointObjectPublisherHLA_H_
12 #define pointObjectPublisherHLA_H_
13 
14 #include "objectPublisherHLA.h"
16 
20 
22 
40 
42 {
43 public:
44 
47  typedef DtPointObjectRepository* (*DtStateRepCreator)();
48 
49 public:
50 
53  DtPointObjectRepository *stateRepToUse,
54  DtExerciseConn* conn,
55  const char* name = 0,
56  const DtDDMRegionSet* regionSetToUse = 0);
57 
60  RTI::ObjectClassHandle h,
61  DtExerciseConn* conn,
62  const char* name = 0,
63  const DtDDMRegionSet* regionSetToUse = 0);
64 
68  DtExerciseConn* conn,
69  const char* name = 0,
70  const DtDDMRegionSet* regionSetToUse = 0);
71 
73  virtual ~DtPointObjectPublisher();
74 
77  virtual DtPointObjectRepository* pointObjectStateRep();
78 
80  virtual DtPointObjectRepository* posr();
81 
82 public:
83 
85  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
86 
87 protected:
88 
94  const char* name = 0,
95  const DtDDMRegionSet* regionSetToUse = 0);
96 
99 
101  DtPointObjectPublisher& operator=
102  (const DtPointObjectPublisher& orig);
103 
104  //Non-virtual method called from constructor.
105  const char* objectClassNameFromType
106  (const DtSyntheticEnvironmentObjectType& type);
107 
108 protected:
109 
110  static DtStateRepCreator theStateRepCreator;
111 };
112 
115 {
117 }
118 
120 {
122 }
123 
124 #endif //hPointObjPub_H_
125 #endif //DtHLA
126 
DtStateRepository * myStateRep
Definition: objectPublisherHLA.h:221
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
#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
virtual DtPointObjectRepository * pointObjectStateRep()
Returns a pointer to the DtPointObjectRepository - through which you can set or inspect current state...
Definition: pointObjectPublisherHLA.h:114
DtSyntheticEnvironmentObjectType is a class which contains information identifying the type of a synt...
Definition: vlpi/syntheticEnvironmentObjectType.h:19
class DtPointObjectPublisher:
Definition: pointObjectPublisherHLA.h:41
Instances of DtPointObjectRepository are used to maintain state information needed by point environme...
Definition: pointObjectRepository.h:31
std::set< DtDDMRegionSP > DtDDMRegionSet
Definition: region1516.h:32
static DtStateRepCreator theStateRepCreator
Definition: pointObjectPublisherHLA.h:110
virtual DtPointObjectRepository * posr()
Synonym for pointObjectStateRep().
Definition: pointObjectPublisherHLA.h:119
This file provides a declaration of the class DtObjectPublisher.

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)