VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
culturalFeatureParameters.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: culturalFeaturePar.h,v $ $Revision: 1.1 $ $State: Exp $
7 *******************************************************************************/
8 
11 
14 
15 #ifndef culturalFeatureParameters_H_
16 #define culturalFeatureParameters_H_
17 
19 
20 #include <readerWriter/rwBoolean.h>
21 
22 class DtString;
24 
31 {
32 public:
34  DtCulturalFeatureParameters (const DtString& name = DtString::nullString(),
35  DtReaderWriterRegistry* parentRegistry = NULL, DtEnvironmentSP env = DtEnvironmentSP(), DtEnvValueSP* objectNode = NULL);
37  DtReaderWriterRegistry* parentRegistry = NULL, DtEnvironmentSP env = DtEnvironmentSP(), DtEnvValueSP* objectNode = NULL);
38 
39 protected:
42  const DtString& name = DtString::nullString(),
43  DtReaderWriterRegistry* parentRegistry = NULL);
45  const DtSymbolString& name,
46  DtReaderWriterRegistry* parentRegistry = NULL);
47 
48 public:
50  const DtCulturalFeatureParameters& orig);
51 
53  virtual ~DtCulturalFeatureParameters();
54 
55  virtual DtVrfObjectParameters* clone(const DtString& name =
56  DtString::nullString(), DtReaderWriterRegistry* parentRegistry = NULL) const;
57  virtual DtVrfObjectParameters* clone(const DtSymbolString& name,
58  DtReaderWriterRegistry* parentRegistry = NULL) const;
59 
62  virtual bool inheritValues (const DtVrfObjectParameters * benefactor);
63 
65 
66  virtual bool gravityAligned() const;
68 
71  virtual DtString type() const;
72 
74  benefactor);
75 public:
76 
78  static DtVrfObjectParameters* creator(DtEnvironmentSP env, DtEnvValueSP* objectNode);
79 
80 protected:
84 
88 
90 };
91 
92 #endif
Instances of DtVrfObjectParameters are the readable/writeable objects that contain the information ne...
Definition: vrfObjectParameters.h:63
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
virtual bool inheritValues(const DtVrfObjectParameters *benefactor)
Contains the DtMovingObjectParameters class declaration.
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
Definition: readerWriterRegistry.h:39
const DtMovingObjectParameters & operator=(const DtMovingObjectParameters &orig)
assignment operator
The moving-object-param parameter type is used for objects that are capable of movement, such as individual entities and aggregates. DtMovingObjectParameters; holds all of the configurable parameters for the DtVrfMovingObjectStateRepository class. Parameters include support points, maximum speed, maximum reverse speed, turning radius, maximum slope, ordered speed, maximum acceleration, maximum deceleration, and fuel efficiency. Aggregates are moving objects and have this parameter type. All of the platform-specific parameter types derive from this one. .
Definition: movingObjectParameters.h:32
DtRwBoolean myGravityAligned
Parameter Name: gravity-aligned Parameter Description: Whether or not object clamps to the terrain...
Definition: culturalFeatureParameters.h:87
virtual DtString type() const
Should return the type of object this is a parameter block for. Use the strings in vrfParamTypes...
static DtVrfObjectParameters * creator(DtEnvironmentSP env, DtEnvValueSP *objectNode)
virtual void inheritValuesFromThisType(const DtMovingObjectParameters *benefactor)
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DT_DLL_readerWriter std::shared_ptr< DtEnvironment > DtEnvironmentSP
Definition: readerWriter.h:30
virtual DtVrfObjectParameters * clone(const DtString &name=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=NULL) const
Contains the set of readable/writeable parameters associated with a cultural feature entity...
Definition: culturalFeatureParameters.h:30

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)