MAK RTIspy API Documentation for HLA 1.3
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
libsrc
RTI
netAttrs.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1998 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: netAttrs.h,v $ $Revision: 1.9 $ $State: Exp $
7
*********************************************************************/
8
11
12
#ifndef DtNetAttr_H_
13
#define DtNetAttr_H_
14
15
#include "
rtiMsConfig.h
"
16
#include <vlutil/vlNetTypes.h>
17
#include "
netRtiMsgHdr.h
"
18
#include <vlutil/vlUtil.h>
19
21
22
class
DT_DLL_LRC
DtNetAttrValue
23
{
24
public
:
25
unsigned
short
totalSize()
const
;
26
27
MAKRti::DtNetU16
handle
;
28
MAKRti::DtNetU16
size
;
30
};
31
32
inline
unsigned
short
DtNetAttrValue::totalSize
()
const
33
{
34
return
sizeof
(
DtNetAttrValue
) + DtROUND_TO_MULT(
size
, 2);
35
}
36
37
class
DT_DLL_LRC
DtNetBigAttrValue
38
{
39
public
:
40
unsigned
long
totalSize()
const
;
41
42
DtNetU32
handle
;
43
DtNetU32
size
;
45
};
46
47
inline
unsigned
long
DtNetBigAttrValue::totalSize
()
const
48
{
49
return
sizeof
(
DtNetBigAttrValue
) + DtROUND_TO_MULT(
size
, 4);
50
}
51
52
class
DT_DLL_LRC
DtNetAttrs
53
{
54
public
:
55
unsigned
short
baseSize()
const
;
56
57
MAKRti::DtNetU16
numAttrs
;
59
};
60
61
inline
unsigned
short
DtNetAttrs::baseSize
()
const
62
{
63
return
sizeof
(
DtNetAttrs
);
64
}
65
66
class
DT_DLL_LRC
DtNetBigAttrs
67
{
68
public
:
69
unsigned
long
baseSize()
const
;
70
71
DtNetU32
numAttrs
;
73
};
74
75
inline
unsigned
long
DtNetBigAttrs::baseSize
()
const
76
{
77
return
sizeof
(
DtNetBigAttrs
);
78
}
79
80
#endif
Document ID: Generated on Tue May 7 16:26:47 EDT 2013 from SVN revision 126903
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)