VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
searchLightEncoderHLA.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2025 MAK Technologies, Inc.
3  * All rights reserved.
4  ****************************************************************************/
5 
6 #if DtHLA
7 
11 
12 #pragma once
13 
16 
18 
21 #define DtDECLARE_SEARCH_LIGHT_ATTR_CHECKER(attrName) \
22  DtDECLARE_ATTR_CHECKER(DtSearchLightStateRepository, attrName)
23 
26 #define DtDECLARE_SEARCH_LIGHT_ATTR_ENCODER(attrName) \
27  DtDECLARE_ATTR_ENCODER(DtSearchLightStateRepository, attrName)
28 
34 {
35 public:
36 
39  DtExerciseConn* exConn,
40  DtObjClassDesc* classDesc);
41 
43  virtual ~DtSearchLightEncoder() override;
44 
47 
50 
51 public:
52 
55  DtExerciseConn* exConn,
56  DtObjClassDesc* classDesc);
57 
58 protected:
59 
63  void addMyEncoders();
64 
71 
78 };
79 
80 
86 #define DtDEFINE_SIMPLE_SEARCH_LIGHT_ATTR_ENCODER( \
87  attrName, netType, inspector) \
88  DtDEFINE_SIMPLE_ATTR_ENCODER(DtSearchLightEncoder, \
89  DtSearchLightStateRepository, \
90  attrName, netType, inspector)
91 
97 #define DtDEFINE_SIMPLE_SEARCH_LIGHT_ATTR_CHECKER( \
98  attrName, inspector) \
99  DtDEFINE_SIMPLE_ATTR_CHECKER(DtSearchLightEncoder, \
100  DtSearchLightStateRepository, \
101  attrName, inspector)
102 
103 #endif // DtHLA
#define DtDECLARE_SEARCH_LIGHT_ATTR_CHECKER(attrName)
This is used to declare static member functions for determining whether or not an attribute needs to ...
Definition: searchLightEncoderHLA.h:21
Instances of DtSearchLightEncoder encode data from DtSearchLightStateRepository objects to the net st...
Definition: searchLightEncoderDIS.h:26
LightType
Definition: DtLight.h:31
static DtHlaStateEncoder * create(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
Create a DtAimableSystemEncoder. Caller is responsible for deletion.
Instances of DtAimableSystemEncoder encode data from DtAimableSystemRepository objects to the net str...
Definition: aimableSystemEncoderDIS.h:23
#define DtDECLARE_SEARCH_LIGHT_ATTR_ENCODER(attrName)
This is used to declare attribute encoding functions which are members of the class.
Definition: searchLightEncoderHLA.h:26
DtAimableSystemEncoder & operator=(const DtAimableSystemEncoder &orig)
Assignment operator.
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
Contains the DtAimableSystemEncoder class declaration.
void addMyEncoders()
Add encoding functions for the attributes. Note: Non-virtual since meant to be called from constructo...

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)