MAK Data Logger API Documentation for DIS
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
libsrc
legacyLoggerControl
legacyHlcInter.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1997 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
6
#ifndef DtLgcyLgrControlInteraction_H_
7
#define DtLgcyLgrControlInteraction_H_
8
9
#if DtHLA
10
11
#include "
legacyLoggerControlDefines.h
"
12
#include <vl/interactionWithEncDec.h>
13
#include "
legacyLcPdu.h
"
14
15
class
DtLgcyLgrControlInteraction
;
16
class
DT_DLL_LGCYLGRCNTRL
DtExerciseConn
;
17
18
20
typedef
void (*
DtLgcyLgrControlInteractionCb
)(
DtLgcyLgrControlInteraction
* inter,
21
void
* usr );
22
26
class
DT_DLL_LGCYLGRCNTRL
DtLgcyLgrControlInteraction
:
public
DtInteractionWithEncDec
27
{
28
public
:
29
31
DtLgcyLgrControlInteraction
();
32
34
virtual
~
DtLgcyLgrControlInteraction
();
35
37
DtLgcyLgrControlInteraction
(
const
DtLgcyLgrControlInteraction
& src );
38
40
DtLgcyLgrControlInteraction
& operator=(
const
DtLgcyLgrControlInteraction
& src );
41
43
virtual
void
printData()
const
;
44
46
virtual
inline
const
DtLgcyLgrControlPdu
* lcPdu()
const
{
return
myLcPdu; }
47
virtual
void
setLcPdu(
const
DtLgcyLgrControlPdu
& pdu );
48
virtual
void
setFromNetPacket(
const
DtNetPacket* pack );
49
51
virtual
inline
const
char
* name()
const
{
return
"DtLgcyLgrControlInteraction"
; }
52
53
public
:
54
57
static
DtInteraction
* create();
58
61
static
void
addCallback(
DtExerciseConn
* conn,
62
DtLgcyLgrControlInteractionCb
cb,
void
* usr );
63
static
void
removeCallback(
DtExerciseConn
* conn,
64
DtLgcyLgrControlInteractionCb
cb,
void
* usr );
65
66
protected
:
67
virtual
char
* interactionClassToUse(
DtExerciseConn
* exConn)
const
;
68
virtual
DtInteractionDecoder* createDecoder(
DtExerciseConn
* exConn)
const
;
69
virtual
DtInteractionEncoder* createEncoder(
DtExerciseConn
* exConn)
const
;
70
71
72
protected
:
73
DtLgcyLgrControlPdu
* myLcPdu;
74
};
75
76
#endif
77
#endif
Document ID: Generated on Thu Apr 10 18:53:01 EDT 2014 from SVN revision 138105
Copyright © 2005-2012 VT MÄK. All Rights Reserved (
www.mak.com
)