VR-Forces 5.0.2 Developer's Guide
Home
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfobjparam
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
10
#include "
vrfobjparam/componentDescriptor.h
"
11
#include "
vrfobjparam/vrfobjparamDefines.h
"
12
#include "
vrfutil/supplyEntry.h
"
13
#include <
readerWriter/rwReal.h
>
14
19
20
class
DT_DLL_vrfobjparam
DtResupplyReceiverControllerDescriptor
:
public
DtComponentDescriptor
21
{
22
public
:
24
DtResupplyReceiverControllerDescriptor
(
const
DtString
& name,
25
DtReaderWriterRegistry
* parentRegistry = 0);
26
28
DtResupplyReceiverControllerDescriptor
(
const
DtResupplyReceiverControllerDescriptor
&
29
orig,
DtReaderWriterRegistry
* parentRegistry = 0);
30
32
DtResupplyReceiverControllerDescriptor
&
operator=
(
const
33
DtResupplyReceiverControllerDescriptor
& orig);
34
36
virtual
~
DtResupplyReceiverControllerDescriptor
();
37
39
virtual
DtString
type
()
const
;
40
41
virtual
DtComponentDescriptor
*
clone
(
DtReaderWriterRegistry
* parentRegistry
42
= 0)
const
;
43
45
static
DtComponentDescriptor
*
creator
();
46
50
virtual
double
range()
const
;
51
virtual
void
setRange(
const
double
range);
53
56
virtual
const
DtSupplyEntryList
& suppliesAccepted()
const
;
57
virtual
void
setSuppliesAccepted(
const
DtSupplyEntryList
& suppliesAccepted);
59
61
virtual
DtSupplyEntry
* lookUpSupplyType(
const
DtEntityType & type)
const
;
62
64
virtual
DtSupplyEntry
* lookUpSupplyName(
const
DtString
& name)
const
;
65
66
protected
:
68
DtResupplyReceiverControllerDescriptor
();
69
70
protected
:
71
75
80
DtRwReal
myRange
;
81
87
DtSupplyEntryList
mySuppliesAccepted
;
89
};
90
DtResupplyReceiverControllerDescriptor::mySuppliesAccepted
DtSupplyEntryList mySuppliesAccepted
Parameter Name: supplies-accepted Parameter Description: A list of supplies accepted and the rate tha...
Definition:
resupplyReceiverControllerDescriptor.h:87
componentDescriptor.h
DtSupplyEntry
DtSupplyEntry.
Definition:
supplyEntry.h:26
DT_DLL_vrfobjparam
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition:
vrfobjparamDefines.h:28
supplyEntry.h
DtComponentDescriptor
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
DtResupplyReceiverControllerDescriptor is a DtComponentDescriptor that has additional information nee...
Definition:
resupplyReceiverControllerDescriptor.h:20
DtReaderWriterRegistry
Definition:
readerWriterRegistry.h:39
DtSupplyEntryList
Definition:
supplyEntry.h:114
DtResupplyReceiverControllerDescriptor::myRange
DtRwReal myRange
Parameter Name: range Parameter Description: The maximum range to a unit (center to center) for this ...
Definition:
resupplyReceiverControllerDescriptor.h:80
DtComponentDescriptor::operator=
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
DtComponentDescriptor::clone
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
rwReal.h
DtRwReal
Description: Readable, Writable DtReal (double)
Definition:
rwReal.h:27
DtComponentDescriptor::type
virtual DtString type() const
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
DtComponentDescriptor::creator
static DtComponentDescriptor * creator()
vrfobjparamDefines.h
DtString
Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (
www.mak.com
)