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
The DtPduDecoder class provides a base class for all DIS decoders.
Definition: pduDecoder.h:18
Base class for all DIS state decoders.
Definition: stateDecoder.h:23
Definition: pduWithAttributeRecordSets.h:22
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnDIS.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
class DtPduFactory:
Definition: pduFactory.h:38
DtExerciseConn * myExConn
Definition: stateDecoder.h:53
virtual DtPduDecoder * clone() const =0
virtual void decode(DtPdu *pdu, DtPduFactory *pduFactory=0)=0
DtPdu is the base class for all PDU&#39;s in VR-Link.
Definition: pdu.h:69
DtStateRepository is an abstract base class for maintaining state for an object.
Definition: stateRepository.h:50
This file provides a declaration for DtPduDecoder.
This file contains typedefs for machine dependant types.

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)