VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
combatRangeControllerDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: combatRangeCtlDesc.h,v $ $Revision: 1.10 $ $State: Exp $
7 *******************************************************************************/
8 
11 
14 
15 #pragma once
16 
19 #include <readerWriter/rwReal.h>
20 #include <readerWriter/rwString.h>
21 #include <readerWriter/rwInt.h>
22 
29 {
30 public:
33  DtReaderWriterRegistry* parentRegistry = NULL);
34 
36  DtReaderWriterRegistry* parentRegistry = NULL);
37 
41  DtReaderWriterRegistry* parentRegistry = NULL);
42 
46 
49 
52  virtual DtString type() const;
53 
55  DtReaderWriterRegistry* parentRegistry = NULL) const;
56 
58 
59  virtual const DtString& rangeName() const;
60  virtual void setRangeName(const DtString& rangeName);
62 
64 
65  virtual int rangeId() const;
66  virtual void setRangeId(int rangeId);
67  virtual bool rangeIdIsSpecified() const;
69 
71 
72  virtual double combatRange() const;
73  virtual void setCombatRange(double combatRange);
75 
77 
78  virtual bool useSubordinates() const;
79  virtual void setUseSubordinates(bool);
81 
84 
85 protected:
88 
89 protected:
93 
98 
104 
110 
117 
119 
120 };
121 
122 
DtRwString myRangeName
Parameter Name: range-name Parameter Description: Deprecated. The name of the range rind if not using...
Definition: combatRangeControllerDescriptor.h:97
Definition: symbolString.h:20
DtRwInt myRangeId
Parameter Name: range-id Parameter Description: The identifying value for this range ring...
Definition: combatRangeControllerDescriptor.h:103
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
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:49
DtRwBoolean myUseSubordinates
Parameter Name: use-subordinates Parameter Description: If an aggregate owns the combatRangeControlle...
Definition: combatRangeControllerDescriptor.h:116
Definition: readerWriterRegistry.h:39
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
Description: Readable, Writable int.
Definition: rwInt.h:25
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()
DtCombatRangeControllerDescriptor, descriptor for the DtCombatRangeController component.
Definition: combatRangeControllerDescriptor.h:28
DtRwReal myCombatRange
Parameter Name: combat-range Parameter Description: The size of the range ring is not using subordina...
Definition: combatRangeControllerDescriptor.h:109

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)