VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
linearObjectPublisherHLA.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 * hLinearObjPub.h
7 *********************************************************************/
8 
9 #if DtHLA
10 
11 #ifndef linearObjectPublisherHLA_H_
12 #define linearObjectPublisherHLA_H_
13 
14 #include "objectPublisherHLA.h"
16 
20 
22 
39 
41 {
42 public:
43 
46  typedef DtLinearObjectRepository* (*DtStateRepCreator)();
47 
48 public:
49 
52  DtLinearObjectRepository *stateRepToUse,
53  DtExerciseConn* conn,
54  const char* name = 0,
55  const DtDDMRegionSet* regionSetToUse = 0);
56 
59  RTI::ObjectClassHandle h,
60  DtExerciseConn* conn,
61  const char* name = 0,
62  const DtDDMRegionSet* regionSetToUse = 0);
63 
67  DtExerciseConn* conn,
68  const char* name = 0,
69  const DtDDMRegionSet* regionSetToUse = 0);
70 
72  virtual ~DtLinearObjectPublisher();
73 
76  virtual DtLinearObjectRepository* linearObjectStateRep();
77 
79  virtual DtLinearObjectRepository* losr();
80 
81 public:
82 
84  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
85 
86 protected:
87 
93  const char* name = 0,
94  const DtDDMRegionSet* regionSetToUse = 0);
95 
98 
100  DtLinearObjectPublisher& operator=
101  (const DtLinearObjectPublisher& orig);
102 
103  //Non-virtual method called from constructor.
104  const char* objectClassNameFromType
105  (const DtSyntheticEnvironmentObjectType& type);
106 
107 protected:
108 
109  static DtStateRepCreator theStateRepCreator;
110 };
111 
114 {
116 }
117 
119 {
121 }
122 
123 #endif //hLinearObjPub_H_
124 #endif //DtHLA
125 
DtStateRepository * myStateRep
Definition: objectPublisherHLA.h:202
class DtLinearObjectPublisher:
Definition: linearObjectPublisherHLA.h:40
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:60
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
virtual DtLinearObjectRepository * linearObjectStateRep()
Returns a pointer to the DtLinearObjectRepository - through which you can set or inspect current stat...
Definition: linearObjectPublisherHLA.h:113
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: linearObjectPublisherHLA.h:109
DtSyntheticEnvironmentObjectType is a class which contains information identifying the type of a synt...
Definition: vlpi/syntheticEnvironmentObjectType.h:19
Instances of DtLinearObjectRepository are used to maintain state information needed by linear object ...
Definition: linearObjectRepository.h:49
This file provides a declaration of the class DtObjectPublisher.
virtual DtLinearObjectRepository * losr()
Synonym for linearObjectStateRep().
Definition: linearObjectPublisherHLA.h:118

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)