MAK Data Logger API Documentation for HLA
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
libsrc
lgrSim
baseHlaValue.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
******************************************************************************/
5
8
9
#if DtHLA
10
#ifndef baseHlaValue_H_
11
#define baseHlaValue_H_
12
13
#include "
lgrHlaAttribute.h
"
14
#include <vlutil/vlString.h>
15
16
namespace
MAKLogger
17
{
18
enum
DtLgrFomTransportType
19
{
20
DtLgr_BestEffort
= 0,
21
DtLgr_Reliable
= 1
22
};
23
24
enum
DtLgrFomOrderType
25
{
26
DtLgr_Receive
= 0,
27
DtLgr_TimeStamp
= 1
28
};
29
30
enum
DtLgrBaseFomDescFlags
31
{
32
DtLgrFomDesc_None
= 0x00000000,
33
DtLgrFomDesc_Reliable
= 0x00000001,
34
DtLgrFomDesc_TransportMask
= 0x00000003,
35
DtLgrFomDesc_TimeStamp
= 0x00000004,
36
DtLgrFomDesc_OrderMask
= 0x0000000C,
37
DtLgrFomDesc_IsBaseClass
= 0x00000010,
38
DtLgrFomDesc_IsSubscribed
= 0x00000020,
39
DtLgrFomDesc_IsFiltered
= 0x00000040,
40
DtLgrFomDesc_InternalMask
= 0x7FFFFFF0
41
};
42
47
class
DT_DLL_LGRSIM
DtBaseHlaValue
48
{
49
public
:
50
DtBaseHlaValue
(
const
DtString
& name,
DtLgrHlaHandle
handle);
51
52
virtual
~
DtBaseHlaValue
();
53
54
DtBaseHlaValue
(
const
DtBaseHlaValue
& value);
55
DtBaseHlaValue
& operator=(
const
DtBaseHlaValue
& value);
56
58
inline
DtU32 flags()
const
;
59
61
inline
void
setFlags(DtU32);
62
63
const
DtString
& name()
const
;
64
void
setName(
const
DtString
& name);
65
inline
const
char
* name2print()
const
;
66
67
inline
DtLgrHlaHandle
handle()
const
;
68
void
setHandle(
DtLgrHlaHandle
handle);
69
70
private
:
71
73
DtU32
myFlags
;
74
75
DtString
myName
;
76
DtLgrHlaHandle
myHandle
;
77
};
78
79
inline
const
char
*
DtBaseHlaValue::name2print
()
const
80
{
81
return
name
().c_str();
82
}
83
84
inline
DtLgrHlaHandle
DtBaseHlaValue::handle
()
const
85
{
86
return
myHandle
;
87
}
88
89
inline
DtU32
DtBaseHlaValue::flags
()
const
90
{
91
return
myFlags
;
92
}
93
94
inline
void
DtBaseHlaValue::setFlags
(DtU32 flags)
95
{
96
myFlags
=
flags
;
97
}
98
}
99
100
#endif
101
#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
)