VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
searchLightDecoderHLA.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_DECODER(attrName) \
22  DtDECLARE_ATTR_DECODER(DtSearchLightStateRepository, attrName)
23 
28 {
29 public:
30 
33  DtExerciseConn* exConn,
34  DtObjClassDesc* classDesc);
35 
37  virtual ~DtSearchLightDecoder() override;
38 
41 
42 
45 
46 public:
47 
50  DtExerciseConn* exConn,
51  DtObjClassDesc* classDesc);
52 
53 protected:
54 
58  void addMyDecoders();
59 
66 };
67 
73 #define DtDEFINE_SIMPLE_SEARCH_LIGHT_ATTR_DECODER_WITH_CAST( \
74  attrName, netType, mutator, castExpr) \
75  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
76  DtSearchLightDecoder, DtSearchLightStateRepository, \
77  attrName, netType, mutator, castExpr)
78 
79 #define DtDEFINE_SIMPLE_SEARCH_LIGHT_ATTR_DECODER( \
80  attrName, netType, inspector) \
81  DtDEFINE_SIMPLE_SEARCH_LIGHT_ATTR_DECODER_WITH_CAST( \
82  attrName, netType, inspector, (netType))
83 
84 #endif // DtHLA
DtAimableSystemDecoder & operator=(const DtAimableSystemDecoder &orig)
Assignment operator.
Instances of DtAimableSystemDecoder encode data from DtAimableSystemStateRepository objects to the ne...
Definition: aimableSystemDecoderDIS.h:24
void addMyDecoders()
Add decoding functions for the attributes. Note: Non-virtual since meant to be called from constructo...
LightType
Definition: DtLight.h:31
Instances of DtSearchLightDecoder encode data from DtSearchLightStateRepository objects to the net st...
Definition: searchLightDecoderDIS.h:24
#define DtDECLARE_SEARCH_LIGHT_ATTR_DECODER(attrName)
This is used to declare attribute decoding functions which are members of the class.
Definition: searchLightDecoderHLA.h:21
static DtHlaStateDecoder * create(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
Create a DtAimableSystemDecoder. Caller is responsible for deletion.
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 DtAimableSystemDecoder class declaration.

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)