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
libsrc
loggerControlToolkit
libsrc
loggerControl
hLcInter.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 1997 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#if DtHLA
12
13
#include "
loggerControlDefines.h
"
14
#include <vl/interactionWithEncDec.h>
15
#include "
lcPdu.h
"
16
17
class
DtLgrControlInteraction
;
18
class
DT_DLL_LOGGERCONTROL
DtExerciseConn
;
19
20
22
typedef
void (*
DtLgrControlInteractionCb
)(
DtLgrControlInteraction
* inter,
23
void
* usr );
24
28
class
DT_DLL_LOGGERCONTROL
DtLgrControlInteraction
:
public
DtInteractionWithEncDec
29
{
30
public
:
31
33
DtLgrControlInteraction
();
34
36
virtual
~
DtLgrControlInteraction
();
37
39
DtLgrControlInteraction
(
const
DtLgrControlInteraction
& src );
40
42
DtLgrControlInteraction
& operator=(
const
DtLgrControlInteraction
& src );
43
45
virtual
void
printData()
const
;
46
48
virtual
inline
const
DtLgrControlPdu
*
lcPdu
()
const
{
return
myLcPdu; }
49
virtual
void
setLcPdu(
const
DtLgrControlPdu
& pdu );
50
virtual
void
setFromNetPacket(
const
DtNetPacket* pack );
51
53
virtual
inline
const
char
*
name
()
const
{
return
"DtLgrControlInteraction"
; }
54
55
public
:
56
59
static
DtInteraction
* create();
60
63
static
void
addCallback(
DtExerciseConn
* conn,
64
DtLgrControlInteractionCb
cb,
void
* usr );
65
static
void
removeCallback(
DtExerciseConn
* conn,
66
DtLgrControlInteractionCb
cb,
void
* usr );
67
68
protected
:
69
virtual
const
char
* interactionClassToUse(
DtExerciseConn
* exConn)
const
;
70
virtual
DtInteractionDecoder
* createDecoder(
DtExerciseConn
* exConn)
const
;
71
virtual
DtInteractionEncoder
* createEncoder(
DtExerciseConn
* exConn)
const
;
72
73
74
protected
:
75
DtLgrControlPdu
*
myLcPdu
;
76
};
77
78
#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
)