VR-Link API Documentation for DIS
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
aggEntList.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
6
#ifndef DtSilentEntityList_H_
7
#define DtSilentEntityList_H_
8
13
14
#include <
vlutil/vlMachineTypes.h
>
15
#include <
vlpi/disEnums.h
>
16
#include "
hostStructs.h
"
17
#include <iosfwd>
18
#include "
packets/aggStateP.h
"
19
23
class
DT_DLL_VL
DtSilentEntityList
24
{
25
26
public
:
27
29
DtSilentEntityList
();
30
DtSilentEntityList
(
const
DtSilentEntityList
& orig);
31
33
virtual
~
DtSilentEntityList
();
34
36
DtSilentEntityList
& operator=(
const
DtSilentEntityList
& orig);
37
DtSilentEntityList
& operator=(
const
DtNetSilentEntityList
& orig);
38
40
int
operator==
(
const
DtSilentEntityList
& otherguy)
const
;
41
int
operator!=
(
const
DtSilentEntityList
& otherguy)
const
;
42
44
virtual
void
setNumberOfEntities(
const
DtU16
value);
45
virtual
DtU16
numberOfEntities()
const
;
46
48
virtual
void
setEntityType(
const
DtEntityType
& type);
49
virtual
const
DtEntityType
& entityType()
const
;
50
53
virtual
bool
setNumberOfAppearanceRecords(
const
DtU16
value);
54
virtual
DtU16
numberOfAppearanceRecords()
const
;
55
56
#if DtHLA
57
59
virtual
void
setAppearance(
DtU32
app);
60
virtual
DtU32
appearance()
const
;
61
62
#endif
63
#if (DtDIS || DtTENA)
64
65
66
67
virtual
bool
setAppearance(
int
index,
DtU32
app);
68
virtual
bool
getAppearance(
int
index,
DtU32
& app)
const
;
69
72
virtual
bool
setAppearanceAttribute(
int
index,
73
const
DtAppearAttribute
attr,
const
DtAppearAttrVal
val);
74
virtual
bool
getAppearanceAttribute(
int
index,
75
const
DtAppearAttribute
attr,
DtAppearAttrVal
& val)
const
;
76
#endif
77
79
virtual
void
printData()
const
;
80
81
virtual
void
printDataToStream(std::ostream &stream)
const
;
82
84
virtual
void
unloadNetRecord(
const
DtNetSilentEntityList
& record);
85
virtual
void
unloadNetRecord(
const
DtNetSilentEntityList_RPR_20
& record);
86
virtual
void
loadNetRecord(
DtNetSilentEntityList
& record)
const
;
87
virtual
void
loadNetRecord(
DtNetSilentEntityList_RPR_20
& record)
const
;
88
91
virtual
int
networkByteLength(
double
rpr_version = 1.0)
const
;
92
93
94
public
:
95
98
static
int
byteLengthOfNetworkRecord(
99
DtNetSilentEntityList
* recPtr,
double
rprVersion = 1.0);
100
101
102
protected
:
103
105
DtU16
myNumberOfEntities
;
106
DtEntityType
myEntityType
;
107
DtU16
myNumberOfAppearanceRecords
;
108
#if (DtDIS || DtTENA)
109
DtU32
*
myEntityAppearanceList
;
110
#else
111
DtU32
myAppearance;
112
#endif
113
};
114
115
#endif
116
Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)