VR-Forces 4.8 Class Documentation
 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 
28 {
29 public:
32  DtReaderWriterRegistry* parentRegistry = NULL);
33 
35  DtReaderWriterRegistry* parentRegistry = NULL);
36 
40  DtReaderWriterRegistry* parentRegistry = NULL);
41 
45 
48 
51  virtual DtString type() const;
52 
54  DtReaderWriterRegistry* parentRegistry = NULL) const;
55 
57 
58  virtual const DtString& rangeName() const;
59  virtual void setRangeName(const DtString& rangeName);
61 
63 
64  virtual double combatRange() const;
65  virtual void setCombatRange(double combatRange);
67 
69 
70  virtual bool useSubordinates() const;
71  virtual void setUseSubordinates(bool);
73 
76 
77 protected:
80 
81 protected:
85 
90 
96 
103 
105 
106 };
107 
108 
DtRwString myRangeName
Parameter Name: range-name Parameter Description: The name of the range rind if not using subordinate...
Definition: combatRangeControllerDescriptor.h:89
Definition: symbolString.h:20
#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:42
DtRwBoolean myUseSubordinates
Parameter Name: use-subordinates Parameter Description: If an aggregate owns the combatRangeControlle...
Definition: combatRangeControllerDescriptor.h:102
Definition: readerWriterRegistry.h:39
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
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.
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
static DtComponentDescriptor * creator()
DtCombatRangeControllerDescriptor, descriptor for the DtCombatRangeController component.
Definition: combatRangeControllerDescriptor.h:27
DtRwReal myCombatRange
Parameter Name: combat-range Parameter Description: The size of the range ring is not using subordina...
Definition: combatRangeControllerDescriptor.h:95

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)