VR-Link API Documentation for HLA 1.3
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
diGuyScaleRecord.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
10
class
DT_DLL_VL
DtDiGuyScaleRecord
:
public
DtGenericVariableRecord
11
{
12
public
:
13
15
DtDiGuyScaleRecord
();
16
18
DtDiGuyScaleRecord
(
const
DtDiGuyScaleRecord
& orig );
19
21
DtDiGuyScaleRecord
(
void
* netBuffer,
unsigned
int
size );
22
24
virtual
DtDiGuyScaleRecord
&
operator =
(
const
DtDiGuyScaleRecord
& record );
25
27
virtual
DtStandardVariableRecord
&
operator =
(
const
DtStandardVariableRecord
& other );
28
30
virtual
bool
operator ==
(
const
DtDiGuyScaleRecord
& record );
31
33
virtual
bool
operator ==
(
const
DtStandardVariableRecord
& other );
34
36
virtual
const
DtVector
& characterScale()
const
;
37
virtual
void
setCharacterScale(
const
DtVector
& value );
38
40
virtual
void
printDataToStream
( std::ostream& stream )
const
;
41
43
virtual
DtStandardVariableRecord
*
clone
()
const
;
44
45
// Writes the network representation to the given address.
46
// The assumption is that this memory is allocated and is of the proper size.
47
virtual
void
writeRecord
(
void
* addr )
const
;
48
51
virtual
void
setFromNet
(
const
void
* netRecord,
unsigned
int
length,
DtStandardVariableRetCode
* retCode = NULL );
52
54
virtual
unsigned
int
unpaddedNetsize
()
const
;
55
56
public
:
57
59
static
DtStandardVariableRecord
*
create
(
void
* addr,
unsigned
int
length );
60
62
static
unsigned
int
recordTypeToUse();
63
65
static
void
setRecordTypeToUse(
unsigned
int
typeToUse );
66
67
protected
:
68
69
// Update the data members from the data buffer
70
virtual
void
updateData();
71
72
// Commit the data members to the data buffer
73
virtual
void
commitData();
74
75
// Do the assignment work
76
virtual
DtDiGuyScaleRecord
& doCopy(
const
DtDiGuyScaleRecord
& record );
77
78
protected
:
79
80
static
DtDatumParam
theDiGuyCharacterScaleId
;
81
82
protected
:
83
84
DtVector
myCharacterScale
;
85
86
bool
myDataIsDirty
;
87
bool
myBufferIsDirty
;
88
89
};
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
)