VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
aggregatedMovementDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 
16 #include <boost/noncopyable.hpp>
17 
22  , boost::noncopyable
23 {
24 public:
27  : public DtReaderWriter
28  {
29  public:
30  MobilityEntry(const DtString& name, DtReaderWriterRegistry* parentRegistry = 0);
31  MobilityEntry(const MobilityEntry& orig);
32 
33  virtual DtString queryName() const;
34  virtual double speedFactor() const;
35  virtual double priority() const;
36 
40  virtual const char* readerWriterType() const;
41 
43  static const char* theXmlType();
44 
45  virtual const char* xmlType() const
46  {
47  return theXmlType();
48  }
49 
50  protected:
54  };
55 
57 
58  static DtComponentDescriptor* creator();
59 
60  explicit DtAggregatedMovementDescriptor(const DtString& name, DtReaderWriterRegistry* parentRegistry = 0);
61 
62  DtAggregatedMovementDescriptor* clone(DtReaderWriterRegistry* parentRegistry = 0) const;
63 
64  DtString type() const;
65 
66  virtual const MobilityList& mobilityList() const;
67  bool clampToGround() const;
68 
71  virtual double retrogradeMovementPenalty() const;
72  virtual void setRetrogradeMovementPenalty(double distance);
74 
77  virtual DtString engineeringObjectQueryName() const;
78  virtual void setEngineeringObjectQueryName(const DtString& name);
80 
83  virtual DtString engineeringObjectObstacleQueryName() const;
84  virtual void setEngineeringObjectObstacleQueryName(const DtString& name);
86 
89  virtual DtString movementType() const;
90  virtual void setMovementType(const DtString& t);
92 
95  virtual double supplyCheckPeriod()const;
96  virtual void setSupplyCheckPeriod(const double t);
98 
101  virtual double minimumAirborneAltitude()const;
102  virtual void setMinimumAirborneAltitude(const double alt);
104 
107  virtual double defaultAltitude()const;
108  virtual void setDefaultAltitude(const double alt);
110 
111 protected:
113  const DtAggregatedMovementDescriptor& orig, DtReaderWriterRegistry* parentRegistry = 0);
114 
117 
123 
129 
136 
143 
150 
157 
165 };
DtRwReal myDefaultAltitude
Parameter Name: default-agl Parameter Description: The altitude (AGL) will use by default when it sta...
Definition: aggregatedMovementDescriptor.h:164
DtRwString myQueryName
Definition: aggregatedMovementDescriptor.h:51
DtRwReal myMinimumAirborneAltitude
Parameter Name: min-airborne-altitude Parameter Description: The minimum altitude (meters AGL) an ent...
Definition: aggregatedMovementDescriptor.h:156
DtRwReal myPriority
Definition: aggregatedMovementDescriptor.h:53
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
End User Description: DtActuatorComponentDescriptor contains parameters common to all actuator compon...
Definition: actuatorComponentDescriptor.h:47
DtRwBoolean myClampToGroundFlag
Definition: aggregatedMovementDescriptor.h:116
DtRwReal myRetrogradeMovementPenalty
Parameter Name: retrograde-movement-penalty Parameter Description: If in retrograde movement...
Definition: aggregatedMovementDescriptor.h:122
MobilityList myMobilityList
Definition: aggregatedMovementDescriptor.h:115
Definition: readerWriter.h:85
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
Definition: readerWriterRegistry.h:39
DtRwReal mySpeedFactor
Definition: aggregatedMovementDescriptor.h:52
DtRwReal mySupplyCheckPeriod
Parameter Name: supply-check-period Parameter Description: The time, in seconds, between checks of su...
Definition: aggregatedMovementDescriptor.h:149
DtRwTemplatedListPtr< MobilityEntry, true > MobilityList
Definition: aggregatedMovementDescriptor.h:56
DtRwString myMovementType
Parameter Name: movement-type Parameter Description: The type of movement this actuator performs...
Definition: aggregatedMovementDescriptor.h:142
DT_DLL_VRVCORE double distance(const makVrv::DtCoordinateSystem &, const DtVector &from, const DtVector &to)
Returns the distance from the two points.
DtAggregatedMovementDescriptor is the descriptor for DtAggregatedMovementActuator.
Definition: aggregatedMovementDescriptor.h:20
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
ReaderWriter class which represents one terrain mobility entry.
Definition: aggregatedMovementDescriptor.h:26
DtRwString myEngineeringObjectObstacleQueryName
Parameter Name: engineering-object-obstacle-query-name Parameter Description: Name of the feature que...
Definition: aggregatedMovementDescriptor.h:135
virtual const char * xmlType() const
Definition: aggregatedMovementDescriptor.h:45
DtRwString myEngineeringObjectQueryName
Parameter Name: engineering-object-query-name Parameter Description: Name of the feature query to be ...
Definition: aggregatedMovementDescriptor.h:128

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)