VR-Forces 4.1 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;
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 
67 
73 
75 };
76 
78 {
79  mySlots = s;
80 }
81 
83 {
84  return mySlots;
85 }
86 
88 {
89  return mySlots;
90 }
91 
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 Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)