VR-Forces Developer's Guide
 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 
80  virtual void setAddBreakdownLanes(bool);
81  virtual bool addBreakdownLanes() const;
83 
84  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry * parentRegistry
85  = 0) const;
86 
88  static DtComponentDescriptor * creator();
89 
90 protected:
93 
94 protected:
95 
99 
108 
124 
131 
136 
141 
146 
148 };
149 
150 
151 
152 
DtRwBoolean myAddBreakdownLanes
Parameter Name: add-breakdown-lanes Parameter Description: If true, add one or two additional lanes t...
Definition: roadMovementDescriptor.h:145
#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:130
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
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:107
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:123
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. Used to create the descriptor on read from a...
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:140
DtRwObjectTypeList myPassableObjectTypes
Parameter Name: passable-object-types Parameter Description: Object types to treat as potential obstr...
Definition: roadMovementDescriptor.h:135
A DtComponentDescriptor that has parameters that indicate how an entity should move along a rail segm...
Definition: roadMovementDescriptor.h:24

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)