VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
reflectedSearchLightHLA.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 
14 #include <vl/reflectedObjectHLA.h>
16 
17 
19 
24  DtReflectedSearchLight* obj, void* userData);
25 
31 {
32 public:
35  typedef DtSearchLightStateRepository* (*DtStateRepCreator)();
36 
37 public:
39  DtReflectedSearchLight(DtHlaObject* obj, DtExerciseConn* exConn);
40 
42  virtual ~DtReflectedSearchLight() override;
43 
45  virtual DtSearchLightStateRepository* searchLightStateRep() const;
46 
48  virtual DtSearchLightStateRepository* slsr() const;
49 
52  virtual DtReflectedSearchLight* next() const;
53 
56  virtual DtReflectedSearchLight* prev() const;
57 
60  virtual DtReflectedSearchLight* wrapNext() const;
61 
64  virtual DtReflectedSearchLight* wrapPrev() const;
65 
68  virtual void addPostUpdateCallback(
69  DtSearchLightCallbackFunction cb, void* userData);
70 
73  virtual void removePostUpdateCallback(
74  DtSearchLightCallbackFunction cb, void* userData);
75 
76 public:
78  static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
79 
80 protected:
83 
85  DtReflectedSearchLight& operator=(const DtReflectedSearchLight& orig);
86 
87 protected:
89  static DtStateRepCreator theStateRepCreator;
90 };
91 
93 {
95 }
96 
98 {
99  return searchLightStateRep();
100 }
101 
102 #endif
void(* DtSearchLightCallbackFunction)(DtReflectedSearchLight *obj, void *userData)
Definition: reflectedSearchLightDIS.h:28
Instances of DtReflectedSearchLight are used to represent a simulated HLAobjectRoot.EmbeddedSystem.AimableSystem.SearchLight object reflected across a network.
Definition: reflectedSearchLightDIS.h:32
virtual DtSearchLightStateRepository * slsr() const
Synonym for searchLightStateRep().
Definition: reflectedSearchLightHLA.h:97
virtual DtSearchLightStateRepository * searchLightStateRep() const
Returns a pointer to the StateRepository - through which you can inspect current state information...
Definition: reflectedSearchLightHLA.h:92
DtSearchLightStateRepository * myStateRep
Definition: reflectedSearchLightDIS.h:122
Contains the DtSearchLightStateRepository class declaration.
Instances of DtSearchLightStateRepository are used to store state data for HLAobjectRoot.EmbeddedSystem.AimableSystem.SearchLight objects.
Definition: searchLightStateRepository.h:18
#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)