VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
resupplyReceiverControllerDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
12 #include "vrfutil/supplyEntry.h"
13 #include <readerWriter/rwReal.h>
14 
19 
21 {
22 public:
25  DtReaderWriterRegistry * parentRegistry = 0);
26 
29  orig, DtReaderWriterRegistry * parentRegistry = 0);
30 
34 
36  virtual ~DtResupplyReceiverControllerDescriptor() override;
37 
39  virtual DtString type() const override;
40 
41  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry* parentRegistry = 0) const override;
42 
44  static DtComponentDescriptor * creator();
45 
49  virtual double range() const;
50  virtual void setRange(const double range);
52 
55  virtual const DtSupplyEntryList& suppliesAccepted() const;
56  virtual void setSuppliesAccepted(const DtSupplyEntryList& suppliesAccepted);
58 
60  virtual DtSupplyEntry* lookUpSupplyType(const DtEntityType & type) const;
61 
62 protected:
65 
66 protected:
67 
71 
77 
85 };
86 
DtSupplyEntryList mySuppliesAccepted
Parameter Name: supplies-accepted Parameter Description: A list of supplies accepted and the rate tha...
Definition: resupplyReceiverControllerDescriptor.h:83
DtSupplyEntry.
Definition: supplyEntry.h:26
#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
DtResupplyReceiverControllerDescriptor is a DtComponentDescriptor that has additional information nee...
Definition: resupplyReceiverControllerDescriptor.h:20
Definition: readerWriterRegistry.h:39
Definition: supplyEntry.h:104
DtRwReal myRange
Parameter Name: range Parameter Description: The maximum range to a unit (center to center) for this ...
Definition: resupplyReceiverControllerDescriptor.h:76
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. Used to create the descriptor on read from a...
static DtComponentDescriptor * creator()

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)