VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfobjparam
loadPoint.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2005 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: loadPoint.h,v $ $Revision: 1.6 $ $State: Exp $
7
*******************************************************************************/
8
11
14
15
#ifndef DtLoadPoint_H_
16
#define DtLoadPoint_H_
17
18
#include "
vrfutil/rdrWritr.h
"
19
#include "
vrfutil/nLenIntVec.h
"
20
#include "
vrfutil/rwVector.h
"
21
#include "
vrfutil/rwTemplatedList.h
"
22
25
#include "
vrfobjparam/vrfobjparamDefines.h
"
26
class
DT_DLL_vrfobjparam
DtLoadPoint
:
public
DtReaderWriter
27
{
28
public
:
29
DtLoadPoint
(
const
DtString
& name,
30
DtReaderWriterRegistry
* parentRegistry = NULL);
31
DtLoadPoint
(
const
DtLoadPoint
& orig,
32
DtReaderWriterRegistry
* parentRegistry = NULL);
33
34
virtual
~
DtLoadPoint
();
36
DtLoadPoint
&
operator=
(
const
DtLoadPoint
& orig);
37
40
DtNLengthIntegerVector
& supportedSlots();
41
const
DtNLengthIntegerVector
& supportedSlots()
const
;
42
void
setSupportedSlots(
const
DtNLengthIntegerVector
&);
44
46
const
DtRwTemplatedListPtr<DtRwVector>
& points()
const
;
47
DtRwTemplatedListPtr<DtRwVector>
& points();
48
50
void
addPoint(
const
DtVector
&);
51
52
virtual
const
char
*
readerWriterType
()
const
;
53
55
virtual
bool
operator==
(
const
DtLoadPoint
&)
const
;
56
virtual
bool
operator!=
(
const
DtLoadPoint
&)
const
;
57
58
protected
:
62
67
DtNLengthIntegerVector
mySlots
;
68
73
DtRwTemplatedListPtr<DtRwVector>
myPoints
;
74
76
};
77
78
inline
void
DtLoadPoint::setSupportedSlots
(
const
DtNLengthIntegerVector
& s)
79
{
80
mySlots
= s;
81
}
82
83
inline
DtNLengthIntegerVector
&
DtLoadPoint::supportedSlots
()
84
{
85
return
mySlots
;
86
}
87
88
inline
const
DtNLengthIntegerVector
&
DtLoadPoint::supportedSlots
()
const
89
{
90
return
mySlots
;
91
}
92
93
inline
const
DtRwTemplatedListPtr<DtRwVector>
&
DtLoadPoint::points
()
const
94
{
95
return
myPoints
;
96
}
97
98
inline
DtRwTemplatedListPtr<DtRwVector>
&
DtLoadPoint::points
()
99
{
100
return
myPoints
;
101
}
102
103
inline
void
DtLoadPoint::addPoint
(
const
DtVector
& v)
104
{
105
myPoints
.
add
(
new
DtRwVector
(v,
"embarkation-load-point"
));
106
}
107
108
#endif
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)