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
lcConnect.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2003 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include "
lcPdu.h
"
12
14
typedef
struct
DtLgrConnectData
15
{
16
DtNetU16
loggerNameLength
;
17
DtNetU16
loggerNameOffset
;
18
DtNetU32
loggerProtocol
;
19
// DtNetU8 loggerName[];
20
}
DtLgrConnectData
;
21
22
26
class
DT_DLL_LOGGERCONTROL
DtLgrConnectPdu
:
public
DtLgrControlPdu
27
{
28
public
:
29
31
DtLgrConnectPdu
(
32
DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
33
35
DtLgrConnectPdu
(
const
DtNetLgrControlPdu
*,
36
DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0 );
37
39
DtLgrConnectPdu
(
const
DtEntityIdentifier& sender,
40
const
DtEntityIdentifier& receiver,
const
DtString
& name,
DtLgrProtocol
protocol,
41
DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
42
44
virtual
~
DtLgrConnectPdu
();
45
47
DtLgrConnectPdu
(
const
DtLgrConnectPdu
& );
48
50
DtLgrConnectPdu
&
operator=
(
const
DtLgrConnectPdu
& );
51
52
virtual
const
char
* loggerName()
const
;
53
virtual
void
setLoggerName(
const
DtString
& name );
54
55
virtual
DtLgrProtocol
protocol()
const
;
56
virtual
void
setProtocol(
DtLgrProtocol
protocolNumber );
57
59
virtual
void
printDataToStream
(std::ostream& stream)
const
;
60
61
protected
:
63
void
initData();
64
66
virtual
DtLgrConnectData
* params()
const
;
67
};
68
69
Document ID: Generated on Thu Jul 23 15:05:27 EDT 2020 from SVN revision 215371
Copyright © 2020 MAK Technologies. All Rights Reserved (
www.mak.com
)