VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
multipleHitDamagePSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 #include <readerWriter/rwInt.h>
15 
20 
22 {
23 public:
24 
27  const DtString& rwName = DtString::nullString(),
28  DtReaderWriterRegistry* parentRegistry = nullptr);
29 
32  const DtString& rwName = DtString::nullString(),
33  DtReaderWriterRegistry* parentRegistry = nullptr);
34 
36  virtual ~DtMultipleHitDamagePSR() override;
37 
40 
43  const DtString& rwName = DtString::nullString(),
44  DtReaderWriterRegistry* parentRegistry = nullptr) const override;
45 
47  virtual DtString type() const override;
48 
50  virtual void setTotalDetonations(int dets);
51  virtual int totalDetonations() const;
52 
53 public:
54 
56  static DtVrfProcessStateRepository* creator (const DtString& rwName,
57  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
58 
59 protected:
62 };
Holds data and provides accessors pertinent to damage adjudication. E.g. time destroyed.
Definition: damageAdjudicationPSR.h:18
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const override
Returns a newly created copy of this object.
Definition: readerWriterRegistry.h:39
DtRwInt myTotalDetonations
Keep track of total number of detonation processed by this entity.
Definition: multipleHitDamagePSR.h:61
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
Description: Readable, Writable int.
Definition: rwInt.h:25
virtual DtString type() const override
Returns the string type of this process state repository.
Class DtVrfProcessStateRepository: Abstract base class for all process state repositories. Process state repositories represent (potentially) shared, savable information for one or more components functioning together to achieve some process or set of processes; such as aiming and firing a weapon; moving an object; or just waiting a specified amount of time.
Definition: vrfProcessStateRepository.h:45
DtDamageAdjudicationPSR & operator=(const DtDamageAdjudicationPSR &orig)
Assignment operator.
class DtMultipleHitDamagePSR:
Definition: multipleHitDamagePSR.h:21
static DtVrfProcessStateRepository * creator(const DtString &rwName, DtLocalObject *vrfObject, DtReaderWriterRegistry *parentRegistry)
Returns a newly created instance of this class.
A locally simulated VRF object.
Definition: localObject.h:98

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)