VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 "vrfutil/readerWriter.h"
16 #include "vrfutil/rwVector.h"
17 #include "vrfutil/rwVectorList.h"
18 
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,
60 
62  static const char* theXmlType();
63 
64  virtual const char* xmlType() const
65  {
66  return theXmlType();
67  }
69 
70 protected:
74 
80 
86 
88 };
89 
91 {
92  mySlots = s;
93 }
94 
96 {
97  return mySlots;
98 }
99 
101 {
102  return mySlots;
103 }
104 
105 inline const DtRwVectorList& DtLoadPoint::points() const
106 {
107  return myPoints;
108 }
109 
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 Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)