VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
l16RadioSignalDecoder.h
Go to the documentation of this file.
1 /*********************************************************************
2 * ** Copyright (c) 2011 MAK Technologies, Inc
3 * ** All rights reserved.
4 * *********************************************************************/
5 /*********************************************************************
6 * ** $RCSfile: hL16RadSigDec.h,v $ $Revision: 1.1 $ $State: Exp $
7 * *********************************************************************/
8 
9 #ifdef DtHLA
10 
11 #ifndef L16RadioSignalDec_H_
12 #define L16RadioSignalDec_H_
13 
16 
18 struct DtJtidsHeaderStruct;
19 
22 
23 #define DtDECLARE_LINK16_RADIO_SIGNAL_PARAM_DECODER(paramName) \
24  DtDECLARE_PARAM_DECODER(DtL16RadioSignalInteraction, paramName)
25 
26 #define DtDEFINE_SIMPLE_LINK16_RADIO_SIGNAL_PARAM_DECODER(paramName, \
27  netType, mutator) \
28  DtDEFINE_SIMPLE_PARAM_DECODER(DtL16RadioSignalDecoder, \
29  DtL16RadioSignalInteraction, paramName, netType, mutator)
30 
31 #define DtDEFINE_SIMPLE_LINK16_RADIO_SIGNAL_PARAM_DECODER_WITH_CAST( \
32  paramName, netType, mutator, castExpr) \
33  DtDEFINE_SIMPLE_PARAM_DECODER_WITH_CAST( \
34  DtL16RadioSignalDecoder, DtL16RadioSignalInteraction, \
35  paramName, netType, mutator, castExpr)
36 
38 {
39 public:
40 
43  DtInterClassDesc* classDesc);
44 
46  virtual ~DtL16RadioSignalDecoder();
47 
50 
53 
54 protected:
55 
61  DtDECLARE_LINK16_RADIO_SIGNAL_PARAM_DECODER(PerceivedTransmitTime);
62 
63  // The JTIDS header is used by several subclasses.
64  // Put decode of this data here so that it can be shared.
65  // Return size of data
66  static int decodeJTIDSheaderStruct(DtJtidsHeaderStruct& hdrStruct,
67  const RTI::ParameterHandleValuePairSet& params, int index);
68 
69  // The data buffer is used by several subclasses.
70  // Put decode of this data here so that it can be shared.
71  // Return size of data
72  static int decodeDataBuffer(std::vector<DtU8>& data,
73  const RTI::ParameterHandleValuePairSet& params, int index);
74 };
75 
76 #endif
77 #endif
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
#define DtDECLARE_LINK16_RADIO_SIGNAL_PARAM_DECODER(paramName)
This can be used to declare parameter processor functions which are static members of a class...
Definition: l16RadioSignalDecoder.h:23
Instances of DtInterClassDesc are used to represent HLA Object and Interaction classes.
Definition: interClassDesc.h:33
This file provides a declaration of the class DtRawBinaryRadioSignalDecoder.
Definition: jtidsMessageRadioSignalInteraction.h:23
class DtRawBinaryRadioSignalDecoder:
Definition: rawBinaryRadioSignalDecoder.h:45
DtRawBinaryRadioSignalDecoder & operator=(const DtRawBinaryRadioSignalDecoder &orig)
assignment operator
Definition: l16RadioSignalDecoder.h:37
Definition: link16Structs.h:14

Document ID: Generated on Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)