VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
emitterBeamPublisher.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 #pragma once
6 #if DtHLA
7 
8 
9 
10 
11 #include "objectPublisherHLA.h"
12 
14 
19 class DT_DLL_VL DtEmitterBeamPublisher : public DtObjectPublisher
20 {
21 public:
22 
24  typedef DtEmitterBeamRepository* (*DtStateRepCreator)();
25 
26 public:
27 
29  DtEmitterBeamPublisher(
30  RTI::ObjectClassHandle h,
31  DtExerciseConn* conn,
32  DtEmitterBeamRepository* bsr = 0,
33  const char* name = 0,
34  const DtDDMRegionSet* regionSetToUse = 0);
35 
37  DtEmitterBeamPublisher(
38  DtExerciseConn* conn,
39  DtEmitterBeamRepository* bsr = 0,
40  const char* name = 0,
41  const DtDDMRegionSet* regionSetToUse = 0);
42 
48  DtEmitterBeamPublisher(DtHlaObjectWithStateRep* obj, DtExerciseConn* conn);
49 
51  virtual ~DtEmitterBeamPublisher();
52 
55  virtual DtEmitterBeamRepository* emitrBeamRep();
56 
58  virtual DtEmitterBeamRepository* bsr();
59 
61  virtual const char* classToUse(
62  DtEmitterBeamRepository* bsr) const;
63 
64 public:
65 
67  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
68 
69 protected:
70 
72  DtEmitterBeamPublisher(const DtEmitterBeamPublisher& orig);
73 
75  DtEmitterBeamPublisher& operator=
76  (const DtEmitterBeamPublisher& orig);
77 
78 protected:
79 
80  bool myOwnBsr;
81 
82 protected:
83 
84  static DtStateRepCreator theStateRepCreator;
85 };
86 
88  DtEmitterBeamPublisher::emitrBeamRep()
89 {
90  return (DtEmitterBeamRepository*) myStateRep;
91 }
92 
94  DtEmitterBeamPublisher::bsr()
95 {
96  return (DtEmitterBeamRepository*) myStateRep;
97 }
98 
99 #endif //DtHLA
100 

Document ID: Generated on Mon Apr 8 04:49:21 EDT 2019 from SVN revision 197403
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)