VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfobjparam
loadPoint.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2013 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
11
12
#pragma once
13
14
#include <
readerWriter/readerWriter.h
>
15
#include "
vrfutil/nLengthIntegerVector.h
"
16
#include "
readerWriter/rwVector.h
"
17
#include "
vrfutil/rwVectorList.h
"
18
21
#include "
vrfobjparam/vrfobjparamDefines.h
"
22
class
DT_DLL_vrfobjparam
DtLoadPoint
:
public
DtReaderWriter
23
{
24
public
:
25
DtLoadPoint
(
const
DtString
& name,
26
DtReaderWriterRegistry
* parentRegistry = NULL);
27
DtLoadPoint
(
const
DtLoadPoint
& orig,
28
DtReaderWriterRegistry
* parentRegistry = NULL);
29
30
virtual
~
DtLoadPoint
();
32
DtLoadPoint
&
operator=
(
const
DtLoadPoint
& orig);
33
36
DtNLengthIntegerVector
& supportedSlots();
37
const
DtNLengthIntegerVector
& supportedSlots()
const
;
38
void
setSupportedSlots(
const
DtNLengthIntegerVector
&);
40
42
const
DtRwVectorList
& points()
const
;
43
DtRwVectorList
& points();
44
46
void
addPoint(
const
DtVector
&);
47
48
virtual
const
char
*
readerWriterType
()
const
;
49
51
virtual
bool
operator==
(
const
DtLoadPoint
&)
const
;
52
virtual
bool
operator!=
(
const
DtLoadPoint
&)
const
;
53
56
virtual
void
putData
(
DtEnvironmentSP
, DtEnvValueSP parent)
const
;
57
virtual
void
getData
(
const
DtEnvironmentSP
,
const
DtEnvValueSP value,
58
const
DtReaderWriter::SearchPaths
& searchPaths =
DtReaderWriter::SearchPaths
(),
59
const
DtVariableBindingsList
& bindings =
DtVariableBindingsList
());
60
62
static
const
char
*
theXmlType
();
63
64
virtual
const
char
*
xmlType
()
const
65
{
66
return
theXmlType
();
67
}
69
70
protected
:
74
79
DtNLengthIntegerVector
mySlots
;
80
85
DtRwVectorList
myPoints
;
86
88
};
89
90
inline
void
DtLoadPoint::setSupportedSlots
(
const
DtNLengthIntegerVector
& s)
91
{
92
mySlots
= s;
93
}
94
95
inline
DtNLengthIntegerVector
&
DtLoadPoint::supportedSlots
()
96
{
97
return
mySlots
;
98
}
99
100
inline
const
DtNLengthIntegerVector
&
DtLoadPoint::supportedSlots
()
const
101
{
102
return
mySlots
;
103
}
104
105
inline
const
DtRwVectorList
&
DtLoadPoint::points
()
const
106
{
107
return
myPoints
;
108
}
109
110
inline
DtRwVectorList
&
DtLoadPoint::points
()
111
{
112
return
myPoints
;
113
}
114
115
inline
void
DtLoadPoint::addPoint
(
const
DtVector
& v)
116
{
117
myPoints
.
add
(
new
DtRwVector
(v,
"embarkation-load-point"
));
118
}
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)