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
diGuyShapeVariationsRecord.h
Go to the documentation of this file.
1
/****************************************************************************
2
* Copyright (c) 2020 VT MAK
3
* All rights reserved.
4
****************************************************************************/
5
6
#pragma once
7
8
#include <
vl/genericVariableRecord.h
>
9
#include <
vl/diGuyObjectStateRepository.h
>
10
11
class
DT_DLL_VL
DtDiGuyShapeVariationsRecord
:
public
DtGenericVariableRecord
12
{
13
public
:
14
16
DtDiGuyShapeVariationsRecord
();
17
19
DtDiGuyShapeVariationsRecord
(
const
DtDiGuyShapeVariationsRecord
& orig );
20
22
DtDiGuyShapeVariationsRecord
(
void
* netBuffer,
unsigned
int
size );
23
25
virtual
DtDiGuyShapeVariationsRecord
&
operator =
(
const
DtDiGuyShapeVariationsRecord
& record );
26
28
virtual
DtStandardVariableRecord
&
operator =
(
const
DtStandardVariableRecord
& other );
29
31
virtual
bool
operator ==
(
const
DtDiGuyShapeVariationsRecord
& record );
32
34
virtual
bool
operator ==
(
const
DtStandardVariableRecord
& other );
35
37
virtual
short
shapeVariationsVersion()
const
;
38
virtual
void
setShapeVariationsVersion(
short
version );
39
41
virtual
bool
isShapeVariationDataChanged()
const
;
42
virtual
void
setShapeVariationDataChanged(
bool
force );
43
45
virtual
const
DtDiGuyLinkShapeMap
& shapeVariations()
const
;
46
virtual
void
setShapeVariations(
const
DtDiGuyLinkShapeMap
& variations );
47
49
virtual
void
printDataToStream
( std::ostream& stream )
const
;
50
52
virtual
DtStandardVariableRecord
*
clone
()
const
;
53
54
// Writes the network representation to the given address.
55
// The assumption is that this memory is allocated and is of the proper size.
56
virtual
void
writeRecord
(
void
* addr )
const
;
57
60
virtual
void
setFromNet
(
const
void
* netRecord,
unsigned
int
length,
DtStandardVariableRetCode
* retCode = NULL );
61
63
virtual
unsigned
int
unpaddedNetsize
()
const
;
64
65
public
:
66
68
static
DtStandardVariableRecord
*
create
(
void
* addr,
unsigned
int
length );
69
71
static
unsigned
int
recordTypeToUse();
72
74
static
void
setRecordTypeToUse(
unsigned
int
typeToUse );
75
76
protected
:
77
78
// Update the data members from the data buffer
79
virtual
void
updateData();
80
81
// Commit the data members to the data buffer
82
virtual
void
commitData();
83
84
// Do the assignment work
85
virtual
DtDiGuyShapeVariationsRecord
& doCopy(
const
DtDiGuyShapeVariationsRecord
& record );
86
87
protected
:
88
89
DtDiGuyLinkShapeMap
myShapeVariations
;
90
short
myShapeVariationsVersion
;
91
bool
myShapeVariationDataChanged
;
92
bool
myDataIsDirty
;
93
bool
myBufferIsDirty
;
94
95
protected
:
96
97
static
DtDatumParam
theDiGuyShapeVariationsId
;
98
99
};
Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (
www.mak.com
)