VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
resupplyReceiverControllerPSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 
10 #pragma once
11 
14 
15 
19 
21 
23 {
24 public:
27  const DtString& rwName = DtString::nullString(),
28  DtReaderWriterRegistry* parentRegistry = 0);
31  const DtString& rwName = DtString::nullString(),
32  DtReaderWriterRegistry* parentRegistry = 0);
38 
41  const DtString& rwName = DtString::nullString(),
42  DtReaderWriterRegistry* parentRegistry = 0) const;
43 
45  virtual DtString type() const;
46 
48  static DtVrfProcessStateRepository* creator(const DtString& rwName,
49  DtVrfObject* vrfObject, DtReaderWriterRegistry* parentRegistry = 0);
50 
53  virtual std::map<DtString, double> suppliesRemaining() const;
54  virtual void setSuppliesRemaining(std::map<DtString, double> supplies);
56 
57 protected:
60 };
61 
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
Definition: rwTemplatedList.h:209
Definition: readerWriterRegistry.h:39
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
DtRwTemplatedRealList mySuppliesRemaining
the list of the supplies with their remaining amount to be transferred
Definition: resupplyReceiverControllerPSR.h:59
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const =0
DtResupplyReceiverControllerPSR is a process state repository which holds state variables for the DtR...
Definition: resupplyReceiverControllerPSR.h:22
Class DtVrfProcessStateRepository: Abstract base class for all process state repositories.
Definition: vrfProcessStateRepository.h:43
virtual DtString type() const =0
Returns the string type of the repository, as defined in procSRTypes.h.
const DtVrfProcessStateRepository & operator=(const DtVrfProcessStateRepository &orig)

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)