VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
roadMovementDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
14 #include <readerWriter/rwBoolean.h>
17 #include "vrfutil/rwUnsigned.h"
18 
20 
25 {
26 public:
29  parentRegistry = 0);
30 
33  DtReaderWriterRegistry * parentRegistry = 0);
34 
38 
40  virtual ~DtRoadMovementDescriptor();
41 
44  virtual DtString type() const;
45 
48  virtual bool useGroundClamping() const;
49  virtual void setUseGroundCamping(bool doUse);
51 
54  virtual bool useHighFidelityGroundClamping() const;
55  virtual void setUseHighFidelityGroundClamping(bool yesOrNo);
57 
61  virtual const double convoyFollowSpeedFactor() const;
62  virtual void setConvoyFollowSpeedFactor(const double factor);
64 
67  virtual void setPassableObjectTypes(const DtRwObjectTypeList& objectTypes);
68  virtual DtRwObjectTypeList& passableObjectTypes();
69  virtual const DtRwObjectTypeList& passableObjectTypes() const;
71 
74  virtual void setExtraLanesEachDirection(unsigned);
75  virtual unsigned extraLanesEachDirection() const;
77 
78  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry * parentRegistry
79  = 0) const;
80 
82  static DtComponentDescriptor * creator();
83 
84 protected:
87 
88 protected:
89 
93 
102 
118 
125 
130 
135 
137 };
138 
139 
140 
141 
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
DtRwReal myConvoySpeedFactor
Parameter Name: convoy-follow-speed-factor Parameter Description: This is the factor by with to mult...
Definition: roadMovementDescriptor.h:124
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
Description: Readable, Writable unsigned int.
Definition: rwUnsigned.h:31
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
DtRwBoolean myClampToGround
Parameter Name: clamp-to-ground Parameter Description: Specifies whether or not to clamp to the terra...
Definition: roadMovementDescriptor.h:101
class DtRwObjectTypeList:
Definition: rwObjectTypeList.h:30
DtRwBoolean myUseHighFidelityGroundClamping
Parameter Name: use-high-fidelity-ground-clamping Parameter Description: Specifies whether or not to ...
Definition: roadMovementDescriptor.h:117
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
virtual DtString type() const
Returns the type of component this descriptor describes.
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
static DtComponentDescriptor * creator()
DtRwUnsigned myExtraLanes
Parameter Name: extra-lanes-each-direction Parameter Description: Extra lanes added to each direction...
Definition: roadMovementDescriptor.h:134
DtRwObjectTypeList myPassableObjectTypes
Parameter Name: passable-object-types Parameter Description: Object types to treat as potential obstr...
Definition: roadMovementDescriptor.h:129
A DtComponentDescriptor that has parameters that indicate how an entity should move along a rail segm...
Definition: roadMovementDescriptor.h:24

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)