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) 1992-2013 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtHLA
13 
14 #include <vl/objectPublisherHLA.h>
15 
16 
18 
23 class DT_DLL_VL DtDIGuyObjectPublisher : public DtObjectPublisher
24 {
25 public:
27  typedef DtDIGuyObjectStateRepository* (*DtStateRepCreator)();
28 
29 public:
31  DtDIGuyObjectPublisher(
32  DtDIGuyObjectStateRepository* stateRepToUse,
33  DtExerciseConn* conn,
34  const char* name = 0,
35  const DtDDMRegionSet* regionSetToUse = 0);
36 
38  DtDIGuyObjectPublisher(
39  RTI::ObjectClassHandle h,
40  DtExerciseConn* conn,
41  const char* name = 0,
42  const DtDDMRegionSet* regionSetToUse = 0);
43 
45  DtDIGuyObjectPublisher(
46  DtExerciseConn* conn,
47  const char* name = 0,
48  const DtDDMRegionSet* regionSetToUse = 0);
49 
55  DtDIGuyObjectPublisher( DtHlaObjectWithStateRep* obj, DtExerciseConn* conn);
56 
58  static const char * objectClassName();
59 
61  virtual ~DtDIGuyObjectPublisher();
62 
63 protected:
64 
69  DtDIGuyObjectPublisher(
70  const char* name = 0,
71  const DtDDMRegionSet* regionSetToUse = 0);
72 
73 private:
75  DtDIGuyObjectPublisher(const DtDIGuyObjectPublisher& orig);
76 
78  DtDIGuyObjectPublisher& operator=(
79  const DtDIGuyObjectPublisher& orig);
80 
81 public:
82 
85  virtual DtDIGuyObjectStateRepository* dIGuyObjectStateRep();
86 
88  virtual DtDIGuyObjectStateRepository* dsr();
89 
90 public:
92  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
93  static DtStateRepCreator stateRepCreator();
94 
95 protected:
96  static DtStateRepCreator theStateRepCreator;
97 };
98 
99 inline DtDIGuyObjectStateRepository* DtDIGuyObjectPublisher::dIGuyObjectStateRep()
100 {
101  return (DtDIGuyObjectStateRepository*) myStateRep;
102 }
103 
104 inline DtDIGuyObjectStateRepository* DtDIGuyObjectPublisher::dsr()
105 {
106  return (DtDIGuyObjectStateRepository*) myStateRep;
107 }
108 
109 
110 
111 #endif

Document ID: Generated on Tue Mar 1 02:56:17 EST 2016 from SVN revision 162687
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)