MAK Data Logger API Documentation for HLA
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
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
const
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 Wed Jun 5 18:45:18 EDT 2019 from SVN revision 198968
Copyright © 2019 VT MAK. All Rights Reserved (
www.mak.com
)