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
lgrSim
baseHla1516Value.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
******************************************************************************/
5
9
10
#ifndef baseHla1516Value_H_
11
#define baseHla1516Value_H_
12
13
#if DtHLA
14
#if DtHLA_1516
15
16
#include <
lgrSim/lgrSim.h
>
17
#include <
lgrSim/baseHlaValue.h
>
18
#include <
lgrUtil/lgrVariableLengthData.h
>
19
20
namespace
MAKLogger
21
{
24
class
DT_DLL_LGRSIM
DtBaseHla1516Value
:
virtual
public
DtBaseHlaValue
25
{
26
public
:
28
DtBaseHla1516Value
(
const
DtString
& name, DtU32 handle,
29
const
DtLgrVariableLengthData
& code);
30
32
virtual
~
DtBaseHla1516Value
();
33
35
DtBaseHla1516Value
(
const
DtBaseHla1516Value
& src );
36
38
DtBaseHla1516Value
& operator=(
const
DtBaseHla1516Value
& src );
39
40
42
inline
const
DtLgrVariableLengthData
& encodedHandle()
const
;
43
45
46
inline
void
setCode(
const
DtLgrVariableLengthData
& code);
47
inline
void
setCode(
const
void
* data,
int
size);
49
51
inline
const
void
* code()
const
;
52
54
inline
int
codeLength()
const
;
55
56
private
:
57
59
DtLgrVariableLengthData
myCode
;
60
};
61
62
63
inline
const
DtLgrVariableLengthData
&
DtBaseHla1516Value::encodedHandle
()
const
64
{
65
return
myCode
;
66
}
67
68
inline
void
DtBaseHla1516Value::setCode
(
const
DtLgrVariableLengthData
& code)
69
{
70
myCode
=
code
;
71
}
72
73
inline
void
DtBaseHla1516Value::setCode
(
const
void
* data,
int
size)
74
{
75
myCode
=
DtLgrVariableLengthData
(data,size);
76
}
77
78
inline
const
void
*
DtBaseHla1516Value::code
()
const
79
{
80
return
myCode
.
data
();
81
}
82
83
84
inline
int
DtBaseHla1516Value::codeLength
()
const
85
{
86
return
myCode
.
size
();
87
}
88
89
}
90
91
#endif
92
#endif
93
#endif
Document ID: Generated on Thu Apr 7 20:50:59 EDT 2016 from SVN revision 163818
Copyright © 2005-2012 VT MÄK. All Rights Reserved (
www.mak.com
)