VR-Link API Documentation for HLA Evolved
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vl
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
23
class
DT_DLL_VL
DtStateDecoder :
public
DtPduDecoder
24
{
25
public
:
27
DtStateDecoder(
DtExerciseConn
* exConn);
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(
49
const
DtPduWithAttributeRecordSets& pdu,
50
DtStateRepository
* stateRep);
51
52
protected
:
53
DtExerciseConn
* myExConn;
54
};
55
56
57
#endif
Document ID: Generated on Wed Jan 7 13:31:29 EST 2015 from SVN revision 149162
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)