VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vrlinkStatePublisherHLA.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2022 VT MAK
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtHLA
13 
14 #include "objectPublisherHLA.h"
15 
16 
17 class DtVRLinkStateStateRepository;
18 
23 class DT_DLL_VL DtVRLinkStatePublisher : public DtObjectPublisher
24 {
25 public:
27  typedef DtVRLinkStateStateRepository* (*DtStateRepCreator)();
28 
29 public:
31  DtVRLinkStatePublisher(
32  DtVRLinkStateStateRepository* stateRepToUse,
33  DtExerciseConn* conn,
34  const char* name = 0,
35  const DtDDMRegionSet* regionSetToUse = 0);
36 
38  DtVRLinkStatePublisher(
39  RTI::ObjectClassHandle h,
40  DtExerciseConn* conn,
41  const char* name = 0,
42  const DtDDMRegionSet* regionSetToUse = 0);
43 
45  DtVRLinkStatePublisher(
46  DtExerciseConn* conn,
47  const char* name = 0,
48  const DtDDMRegionSet* regionSetToUse = 0);
49 
55  DtVRLinkStatePublisher( DtHlaObjectWithStateRep* obj, DtExerciseConn* conn);
56 
58  virtual ~DtVRLinkStatePublisher();
59 
62  virtual DtVRLinkStateStateRepository* vrlinkStateStateRep();
63 
65  virtual DtVRLinkStateStateRepository* vsr();
66 
67 public:
69  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
70 
72  static const char * objectClassName();
73 
74 private:
76  DtVRLinkStatePublisher(const DtVRLinkStatePublisher& orig);
77 
79  DtVRLinkStatePublisher& operator=(const DtVRLinkStatePublisher& orig);
80 
81 protected:
82  static DtStateRepCreator theStateRepCreator;
83 };
84 
85 inline DtVRLinkStateStateRepository* DtVRLinkStatePublisher::vrlinkStateStateRep()
86 {
87  return (DtVRLinkStateStateRepository*) myStateRep;
88 }
89 
90 inline DtVRLinkStateStateRepository* DtVRLinkStatePublisher::vsr()
91 {
92  return (DtVRLinkStateStateRepository*) myStateRep;
93 }
94 
95 
96 
97 #endif
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnDIS.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: objectPublisherDIS.h:36
DtObjectPublisher & operator=(const DtObjectPublisher &orig)
assignment operator – not implemented

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)