VR-Forces 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 
48  virtual ~DtCombatRangeControllerDescriptor() override;
49 
52  virtual DtString type() const override;
53 
54  virtual DtComponentDescriptor* clone(DtReaderWriterRegistry* parentRegistry = NULL) const override;
55 
57 
58  virtual const DtString& rangeName() const;
59  virtual void setRangeName(const DtString& rangeName);
61 
63 
64  virtual int rangeId() const;
65  virtual void setRangeId(int rangeId);
66  virtual bool rangeIdIsSpecified() const;
68 
70 
71  virtual double combatRange() const;
72  virtual void setCombatRange(double combatRange);
74 
76 
77  virtual bool useSubordinates() const;
78  virtual void setUseSubordinates(bool);
80 
83 
84 protected:
87 
88 protected:
92 
97 
103 
109 
116 
118 
119 };
120 
121 
DtRwString myRangeName
Parameter Name: range-name Parameter Description: Deprecated. The name of the range rind if not using...
Definition: combatRangeControllerDescriptor.h:96
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
DtRwInt myRangeId
Parameter Name: range-id Parameter Description: The identifying value for this range ring...
Definition: combatRangeControllerDescriptor.h:102
#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:115
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:108

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)