VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
resupplyControllerDescriptor.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 <readerWriter/rwReal.h>
14 
19 
21 {
22 public:
25  DtReaderWriterRegistry * parentRegistry = 0);
26 
29  orig, DtReaderWriterRegistry * parentRegistry = 0);
30 
34 
37 
39  virtual DtString type() const;
40 
41  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry * parentRegistry
42  = 0) const;
43 
45  static DtComponentDescriptor * creator();
46 
49  virtual double range() const;
50  virtual void setRange(const double range);
52 
55  virtual const DtString& supplyingMode() const;
56  virtual void setSupplyingMode(const DtString & mode);
58 
61  virtual const DtRwPropertiesMap* suppliesOffered() const;
63 
68  virtual bool rateOfSupply(DtString &supplyName, double &rate) const;
69 
70 protected:
73 
74 protected:
75 
79 
90 
96 
104 };
105 
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
DtRwProperties mySuppliesOfferedProperties
Parameter Name: supplies-offered Parameter Description: A list of supplies offered and the rate that ...
Definition: resupplyControllerDescriptor.h:102
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
Definition: readerWriterRegistry.h:39
DtRwReal myRange
Parameter Name: range Parameter Description: The maximum range to a unit (center to center) for this ...
Definition: resupplyControllerDescriptor.h:95
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
Acts as a map for properties. A map is a definition that has a key and a prototype, with values being the key and prototype pair. The key can only be a string (DtRwStringType), int (DtRwIntType, DtRwInt8Type, DtRwInt16Type, DtRwInt32Type), or real (DtRwRealType, DtRwReal32Type, DtRwReal64Type).
Definition: rwPropertiesMap.h:41
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
DtResupplyControllerDescriptor is a DtComponentDescriptor that has additional information needed for ...
Definition: resupplyControllerDescriptor.h:20
DtRwString mySupplyingMode
Parameter Name: supplying-mode Parameter Description: How supplies are delivered: &quot;ground-ground&quot; mea...
Definition: resupplyControllerDescriptor.h:89
virtual DtString type() const
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
static DtComponentDescriptor * creator()
const char int mode
Definition: ioapi.h:38
A list of properties. A DtPropertyInterface object that is a specialized version of DtRwVariableBindi...
Definition: rwProperties.h:126

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)