MAK RTIspy API Documentation for HLA 1516
netParms.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: netParms.h,v $ $Revision: 1.9 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtNetParam_H_
13 #define DtNetParam_H_
14 
15 #include "rtiMsConfig.h"
16 #include <vlutil/vlNetTypes.h>
17 #include "netRtiMsgHdr.h"
18 #include <vlutil/vlUtil.h>
19 
21 
23 {
24 public:
25  int totalSize() const;
26 
27  MAKRti::DtNetU16 handle;
28  MAKRti::DtNetU16 size;
30 };
31 
32 inline int DtNetParamValue::totalSize() const
33 {
34  return sizeof(DtNetParamValue) + DtROUND_TO_MULT(size, 2);
35 }
36 
38 {
39 public:
40  int totalSize() const;
41 
42  DtNetU32 handle;
43  DtNetU32 size;
45 };
46 
48 {
49  return sizeof(DtNetBigParamValue) + DtROUND_TO_MULT(size, 4);
50 }
51 
53 {
54 public:
55  int baseSize() const;
56 
57  MAKRti::DtNetU16 numParams;
59 };
60 
61 inline int DtNetParams::baseSize() const
62 {
63  return sizeof(DtNetParams);
64 }
65 
67 {
68 public:
69  int baseSize() const;
70 
71  DtNetU32 numParams;
73 };
74 
75 inline int DtNetBigParams::baseSize() const
76 {
77  return sizeof(DtNetBigParams);
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)