VR-Forces 4.2 Class Documentation
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"
22 
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;
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 
68 
74 
76 };
77 
79 {
80  mySlots = s;
81 }
82 
84 {
85  return mySlots;
86 }
87 
89 {
90  return mySlots;
91 }
92 
94 {
95  return myPoints;
96 }
97 
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)