VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
dynamicTerrainControllerDescriptor.h
Go to the documentation of this file.
1 
8 
9 #pragma once
10 
12 #include <readerWriter/rwBoolean.h>
13 #include "vrfutil/rwStringList.h"
14 #include <readerWriter/rwInt.h>
15 
20 {
21 public:
22 
25  DtReaderWriterRegistry * parentRegistry = 0);
26 
29 
33  DtReaderWriterRegistry * parentRegistry = 0);
34 
38 
41  virtual DtString type() const;
42 
43  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry * parentRegistry
44  = 0) const;
45 
48  virtual bool onlyInArea() const;
49  virtual void setOnlyInArea(bool v);
51 
54  virtual int changesPerPublishedObject() const;
55  virtual void setChangesPerPublishedObject(int v);
57 
60  virtual DtRwStringList& typesForIndividualSwitches();
61  virtual const DtRwStringList& typesForIndividualSwitches() const;
62  virtual void setTypesForIndividualSwitches(const DtRwStringList& list);
63  virtual bool isTypeForIndividualSwitch(const DtString& t) const;
65 
68  virtual DtRwStringList& ignoredTypes();
69  virtual const DtRwStringList& ignoredTypes() const;
70  virtual void setIgnoredTypes(const DtRwStringList& list);
71  virtual bool isIgnoredType(const DtString& t) const;
73 
76  virtual double publishedSwitchRadius() const;
77  virtual void setPublishedSwitchRadius(double v);
79 
81  static DtComponentDescriptor * creator();
82 
83 protected:
84 
88 
93 
97 
104 
108 
113 
115 };
116 
DtRwReal myPublishedSwitchRadius
Parameter Name: published-switch-radius Parameter Description: Radius that is published around the lo...
Definition: dynamicTerrainControllerDescriptor.h:112
DtRwStringList myIgnoredTypes
Parameter Name: ignored-types Parameter Description: List of the types dynamic terrain changes to ign...
Definition: dynamicTerrainControllerDescriptor.h:107
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
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
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
DtRwBoolean myOnlyInArea
Parameter Name: only-in-area Parameter Description: Only dynamic terrain changes in the area to which...
Definition: dynamicTerrainControllerDescriptor.h:92
Instances of DtDynamicTerrainControllerDescriptor are used to specify the parameters for a DtDynamicT...
Definition: dynamicTerrainControllerDescriptor.h:19
Description: Readable, Writable int.
Definition: rwInt.h:25
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
DtRwStringList myTypesForIndividualSwitches
Parameter Name: types-for-individual-switches Parameter Description: Any dynamic terrain changes usin...
Definition: dynamicTerrainControllerDescriptor.h:103
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()
Definition: rwStringList.h:20
DtRwInt myChangesPerPublishedObject
Parameter Name: changes-per-published-object Parameter Description: The number of individual dynamic ...
Definition: dynamicTerrainControllerDescriptor.h:96

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)