VR-Forces 4.1.1 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
49
void
addPoint(
const
DtVector
&);
50
51
virtual
const
char
*
readerWriterType
()
const
;
52
54
virtual
bool
operator==
(
const
DtLoadPoint
&)
const
;
55
virtual
bool
operator!=
(
const
DtLoadPoint
&)
const
;
56
57
protected
:
61
66
DtNLengthIntegerVector
mySlots
;
67
72
DtRwTemplatedListPtr<DtRwVector>
myPoints
;
73
75
};
76
77
inline
void
DtLoadPoint::setSupportedSlots
(
const
DtNLengthIntegerVector
& s)
78
{
79
mySlots
= s;
80
}
81
82
inline
DtNLengthIntegerVector
&
DtLoadPoint::supportedSlots
()
83
{
84
return
mySlots
;
85
}
86
87
inline
const
DtNLengthIntegerVector
&
DtLoadPoint::supportedSlots
()
const
88
{
89
return
mySlots
;
90
}
91
92
inline
const
DtRwTemplatedListPtr<DtRwVector>
&
DtLoadPoint::points
()
const
93
{
94
return
myPoints
;
95
}
96
97
inline
void
DtLoadPoint::addPoint
(
const
DtVector
& v)
98
{
99
myPoints
.
add
(
new
DtRwVector
(v,
"embarkation-load-point"
));
100
}
101
102
#endif
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)