VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stateDecoder.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2013 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #pragma once
7 
8 #if DtDIS
9 
10 #include <vlutil/vlMachineTypes.h>
11 #include <vl/pduDecoder.h>
12 #include <vl/stateRepository.h>
13 
14 class DtExerciseConn;
15 
16 #define DtCLONE_DECODER(decoderClass) \
17  virtual DtPduDecoder* clone() const \
18 { \
19  return new decoderClass(*this); \
20 }
21 
24 {
25 public:
28 
30  virtual ~DtStateDecoder();
31 
33  DtStateDecoder(const DtStateDecoder& orig);
34 
36  DtStateDecoder& operator=(const DtStateDecoder& orig);
37 
40  virtual DtPduDecoder* clone() const = 0;
41 
43  virtual void decode(DtPdu * pdu, DtPduFactory* pduFactory = 0);
44 
48  virtual void decodeAttributeRecords(
50  DtStateRepository* stateRep);
51 
52 protected:
54 };
55 
56 
57 #endif

Document ID: Generated on Fri May 15 06:36:13 EDT 2015 from SVN revision 153263
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)