VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
diGuyObjectPublisherHLA.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2016 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #pragma once
8 
9 #include <vl/objectPublisher.h>
10 
12 
13 #if DtHLA
14 
20 {
21 public:
23  typedef DtDIGuyObjectStateRepository* (*DtStateRepCreator)();
24 
25 public:
28  DtDIGuyObjectStateRepository* stateRepToUse,
29  DtExerciseConn* conn,
30  const char* name = 0,
31  const DtDDMRegionSet* regionSetToUse = 0);
32 
35  RTI::ObjectClassHandle h,
36  DtExerciseConn* conn,
37  const char* name = 0,
38  const DtDDMRegionSet* regionSetToUse = 0);
39 
42  DtExerciseConn* conn,
43  const char* name = 0,
44  const DtDDMRegionSet* regionSetToUse = 0);
45 
51  DtDIGuyObjectPublisher( DtHlaObjectWithStateRep* obj, DtExerciseConn* conn);
52 
54  static const char * objectClassName();
55 
57  virtual ~DtDIGuyObjectPublisher();
58 
59 protected:
60 
66  const char* name = 0,
67  const DtDDMRegionSet* regionSetToUse = 0);
68 
69 private:
72 
75  const DtDIGuyObjectPublisher& orig);
76 
77 public:
78 
81  virtual DtDIGuyObjectStateRepository* dIGuyObjectStateRep();
82 
84  virtual DtDIGuyObjectStateRepository* dsr();
85 
86 public:
88  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
89  static DtStateRepCreator stateRepCreator();
90 
91 protected:
92  static DtStateRepCreator theStateRepCreator;
93 };
94 
95 inline DtDIGuyObjectStateRepository* DtDIGuyObjectPublisher::dIGuyObjectStateRep()
96 {
97  return (DtDIGuyObjectStateRepository*) myStateRep;
98 }
99 
100 inline DtDIGuyObjectStateRepository* DtDIGuyObjectPublisher::dsr()
101 {
102  return (DtDIGuyObjectStateRepository*) myStateRep;
103 }
104 
105 
106 #endif //DtHLA
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnDIS.h:61
Definition: diGuyObjectPublisherDIS.h:17
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
This file provides protocol independence for DtObjectPublisher.
Instances of DtObjectPublisher are used for local or source simulations of objects, (i.e.
Definition: objectPublisherDIS.h:36
DtObjectPublisher & operator=(const DtObjectPublisher &orig)
assignment operator – not implemented
Instances of DtDIGuyObjectStateRepository are used to store state data for DIGuyObject objects...
Definition: diGuyObjectStateRepository.h:31

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)