VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
laserLightDecoderHLA.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 
17 
19 
22 #define DtDECLARE_LASER_LIGHT_ATTR_DECODER(attrName) \
23  DtDECLARE_ATTR_DECODER(DtLaserLightStateRepository, attrName)
24 
29 {
30 public:
31 
34  DtExerciseConn* exConn,
35  DtObjClassDesc* classDesc);
36 
38  virtual ~DtLaserLightDecoder() override;
39 
42 
43 
46 
47 public:
48 
51  DtExerciseConn* exConn,
52  DtObjClassDesc* classDesc);
53 
54 protected:
55 
59  void addMyDecoders();
60 
65 };
66 
72 #define DtDEFINE_SIMPLE_LASER_LIGHT_ATTR_DECODER_WITH_CAST( \
73  attrName, netType, mutator, castExpr) \
74  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
75  DtLaserLightDecoder, DtLaserLightStateRepository, \
76  attrName, netType, mutator, castExpr)
77 
78 #define DtDEFINE_SIMPLE_LASER_LIGHT_ATTR_DECODER( \
79  attrName, netType, inspector) \
80  DtDEFINE_SIMPLE_LASER_LIGHT_ATTR_DECODER_WITH_CAST( \
81  attrName, netType, inspector, (netType))
82 
83 #endif // DtHLA
DtAimableSystemDecoder & operator=(const DtAimableSystemDecoder &orig)
Assignment operator.
Instances of DtAimableSystemDecoder encode data from DtAimableSystemStateRepository objects to the ne...
Definition: aimableSystemDecoderDIS.h:24
#define DtDECLARE_LASER_LIGHT_ATTR_DECODER(attrName)
This is used to declare attribute decoding functions which are members of the class.
Definition: laserLightDecoderHLA.h:22
Instances of DtLaserLightDecoder encode data from DtLaserLightStateRepository objects to the net stru...
Definition: laserLightDecoderDIS.h:25
void addMyDecoders()
Add decoding functions for the attributes. Note: Non-virtual since meant to be called from constructo...
static DtHlaStateDecoder * create(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
Create a DtAimableSystemDecoder. Caller is responsible for deletion.
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
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)