VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
navAidDecoderDIS.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2021 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtDIS
13 
15 #include <vl/radioTransmitterDecoderDIS.h>
16 
18 
24 {
25 public:
26 
28  DtNavAidDecoder(DtExerciseConn* conn);
29 
31  virtual ~DtNavAidDecoder();
32 
34  DtNavAidDecoder(const DtNavAidDecoder& orig);
35 
37  DtNavAidDecoder& operator=(const DtNavAidDecoder& orig);
38 
40  virtual void decode(const DtTransmitterPdu& pdu, DtNavAidStateRepository* stateRep);
41 
42  DtCLONE_DECODER(DtNavAidDecoder);
43 
44  static DtNavAidDecoder* create(DtExerciseConn* conn);
45 
46  virtual void decodeIdentificationCodeFromAttribute(DtNavAidStateRepository& stateRep);
47 
48 protected:
49 
50  mutable std::vector<char> myTempBuffer;
51 };
52 
53 #endif // DtDIS
Instances of DtNavAidStateRepository are used to store state data for NavAid radio transmitter object...
Definition: navAidStateRepository.h:19
Instances of DtNavAidDecoder encode data from DtNavAidStateRepository objects to the net structures t...
Definition: navAidDecoderDIS.h:23
std::vector< char > myTempBuffer
Definition: navAidDecoderDIS.h:50
DT_DLL_readerWriter const char * decode(DtString &val, const char *buffer)
Decodes a value from buffer and places the result in val of the type specified by val...
#define DT_DLL_vrfExtObjects
Definition: dllExport.h:23

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)