VR-Link API Documentation for DIS
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vl
silentEntityList.h
Go to the documentation of this file.
1
/****************************************************************************
2
* Copyright (c) 2013 VT MAK
3
* All rights reserved.
4
****************************************************************************/
5
9
10
#pragma once
11
12
#include <
vlutil/vlMachineTypes.h
>
13
#include <
vl/packets/aggStateP.h
>
14
#include <
vl/hostStructs.h
>
15
#include <
vlpi/disEnums.h
>
16
#include <iosfwd>
17
21
class
DT_DLL_VL
DtSilentEntityList
22
{
23
public
:
24
26
DtSilentEntityList
();
27
DtSilentEntityList
(
const
DtSilentEntityList
& orig);
28
30
virtual
~
DtSilentEntityList
();
31
33
DtSilentEntityList
& operator=(
const
DtSilentEntityList
& orig);
34
DtSilentEntityList
& operator=(
const
DtNetSilentEntityList
& orig);
35
37
int
operator==
(
const
DtSilentEntityList
& otherguy)
const
;
38
int
operator!=
(
const
DtSilentEntityList
& otherguy)
const
;
39
41
virtual
void
setNumberOfEntities(
const
DtU16
value);
42
virtual
DtU16
numberOfEntities()
const
;
43
45
virtual
void
setEntityType(
const
DtEntityType
& type);
46
virtual
const
DtEntityType
& entityType()
const
;
47
52
virtual
bool
setNumberOfAppearanceRecords(
const
DtU16
value);
53
virtual
DtU16
numberOfAppearanceRecords()
const
;
54
55
#if DtHLA
56
60
virtual
void
setAppearance(
DtU32
app);
61
virtual
DtU32
appearance()
const
;
62
63
#endif
64
70
virtual
bool
setAppearance(
int
index,
DtU32
app);
71
virtual
bool
getAppearance(
int
index,
DtU32
& app)
const
;
72
75
virtual
bool
setAppearanceAttribute(
int
index,
76
const
DtAppearAttribute
attr,
const
DtAppearAttrVal
val);
77
virtual
bool
getAppearanceAttribute(
int
index,
78
const
DtAppearAttribute
attr,
DtAppearAttrVal
& val)
const
;
79
80
82
virtual
void
printData()
const
;
83
84
virtual
void
printDataToStream(std::ostream &stream)
const
;
85
87
virtual
void
unloadNetRecord(
const
DtNetSilentEntityList
& record);
88
virtual
void
unloadNetRecord(
const
DtNetSilentEntityList_RPR_20
& record,
bool
useAppearanceList =
false
);
89
virtual
void
loadNetRecord(
DtNetSilentEntityList
& record)
const
;
90
virtual
void
loadNetRecord(
DtNetSilentEntityList_RPR_20
& record,
bool
useAppearanceList =
false
)
const
;
91
94
virtual
int
networkByteLength(
double
rpr_version = 1.0)
const
;
95
96
public
:
97
100
static
int
byteLengthOfNetworkRecord(
101
DtNetSilentEntityList
* recPtr,
double
rprVersion = 1.0);
102
103
protected
:
104
106
DtU16
myNumberOfEntities
;
107
DtEntityType
myEntityType
;
108
DtU16
myNumberOfAppearanceRecords
;
109
#if DtHLA
110
DtU32
myAppearance;
111
#endif
112
DtU32
*
myEntityAppearanceList
;
113
114
};
Document ID: Generated on Mon Apr 8 04:49:21 EDT 2019 from SVN revision 197403
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)