VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
laserLightPublisherHLA.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2025 MAK Technologies, Inc.
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtHLA
13 
15 #include <vl/objectPublisherHLA.h>
16 
20 
26 {
27 public:
28 
30  typedef DtLaserLightStateRepository* (*DtStateRepCreator)();
31 
33  typedef DtLaserLightEncoder* (*DtEncoderCreator)(DtExerciseConn* exConn, DtObjClassDesc* classDesc);
34 
36  typedef DtLaserLightDecoder* (*DtDecoderCreator)(DtExerciseConn* exConn, DtObjClassDesc* classDesc);
37 
38 public:
39 
42  DtLaserLightStateRepository* stateRepToUse,
43  DtExerciseConn* conn,
44  const char* name = 0,
45  const DtDDMRegionSet* regionSetToUse = 0);
46 
49  RTI::ObjectClassHandle h,
50  DtExerciseConn* conn,
51  const char* name = 0,
52  const DtDDMRegionSet* regionSetToUse = 0);
53 
56  DtExerciseConn* conn,
57  const char* name = 0,
58  const DtDDMRegionSet* regionSetToUse = 0);
59 
65  DtLaserLightPublisher( DtHlaObjectWithStateRep* obj, DtExerciseConn* conn);
66 
68  virtual ~DtLaserLightPublisher() override;
69 
72  virtual DtLaserLightStateRepository* laserLightStateRep();
73 
75  virtual DtLaserLightStateRepository* llsr();
76 
79  virtual const char* classToUse() const;
80 
81 private:
84 
86  DtLaserLightPublisher& operator=(
87  const DtLaserLightPublisher& orig);
88 
89 public:
91  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
92 
94  static DtEncoderCreator setEncoderCreator(DtEncoderCreator creator);
95 
97  static DtDecoderCreator setDecoderCreator(DtDecoderCreator creator);
98 
99 protected:
100  static DtStateRepCreator theStateRepCreator;
101  static DtEncoderCreator theEncoderCreator;
102  static DtDecoderCreator theDecoderCreator;
103 };
104 
106 {
107  return (DtLaserLightStateRepository*) myStateRep;
108 }
109 
111 {
112  return laserLightStateRep();
113 }
114 
115 #endif // DtHLA
Instances of DtLaserLightEncoder encode data from DtLaserLightStateRepository objects to the net stru...
Definition: laserLightEncoderDIS.h:26
virtual DtLaserLightStateRepository * llsr()
Synonym for LaserLightStateRep().
Definition: laserLightPublisherDIS.h:100
static DtDecoderCreator theDecoderCreator
Definition: laserLightPublisherHLA.h:102
Instances of DtLaserLightDecoder encode data from DtLaserLightStateRepository objects to the net stru...
Definition: laserLightDecoderDIS.h:25
static DtEncoderCreator theEncoderCreator
Definition: laserLightPublisherHLA.h:101
Instances of DtLaserLightPublisher publish LaserLight objects to the network.
Definition: laserLightPublisherDIS.h:27
virtual DtLaserLightStateRepository * laserLightStateRep()
Returns a pointer to the DtLaserLightStateRepository - through which you can set or inspect current s...
Definition: laserLightPublisherDIS.h:95
Instances of DtLaserLightStateRepository are used to store state data for HLAobjectRoot.EmbeddedSystem.AimableSystem.LaserLight objects.
Definition: laserLightStateRepository.h:19
#define DT_DLL_vrfExtObjects
Definition: dllExport.h:23

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)