VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
detonationControllerDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
16 
17 #include <readerWriter/rwReal.h>
18 #include <readerWriter/rwBoolean.h>
21 
22 //Vrlink includes
23 #include <vlpi/disEnums.h>
24 
28 
30 {
31 public:
34  DtReaderWriterRegistry * parentRegistry = 0);
35 
38  orig, DtReaderWriterRegistry * parentRegistry = 0);
39 
43 
46 
49  virtual DtString type() const;
50 
51  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry * parentRegistry
52  = 0) const;
53 
54 
56  virtual const DtString & detonatorFuse() const;
57  virtual void setDetonatorFuse(const DtString & fuse);
58 
61  virtual DtReal detonationProximity() const;
62  virtual void setDetonationProximity(DtReal proximity);
64 
67  virtual DtReal malfunctionPercentage() const;
68  virtual void setMalfunctionPercentage(DtReal percent);
70 
73  virtual bool amArmed() const;
74  virtual void setAmArmed(bool armed);
76 
79  virtual const DtRwObjectTypeList & objTypesToDetect() const;
80  virtual void setObjTypesToDetect(const DtRwObjectTypeList & list);
82 
85  virtual const DtTargetingControlTable& targetingControlTable() const;
86  virtual DtTargetingControlTable& targetingControlTable();
88 
90  static DtComponentDescriptor * creator();
91 
92 protected:
95 
96 protected:
97 
101 
106 
112 
117 
122 
127 
133 
135 };
DtRwReal myDetonationProximity
Parameter Name: detonation-proximity-distance Parameter Description: If using a proximity fuse...
Definition: detonationControllerDescriptor.h:111
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
DtRwObjectTypeList myObjTypesToDetect
Parameter Name: &quot;object-types-to-detect&quot; Parameter Description: List of object types this controller ...
Definition: detonationControllerDescriptor.h:126
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:42
Definition: readerWriterRegistry.h:39
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
DtTargetingControlTable myTargetingControlTable
Parameter Name: targeting-control-table Parameter Description: The table that will specify ammunition...
Definition: detonationControllerDescriptor.h:132
DtRwBoolean myAmArmed
Parameter Name: armed Parameter Description: Defines whether this detonator is armed at creation of t...
Definition: detonationControllerDescriptor.h:121
DtRwReal myMalfunctionPercentage
Parameter Name: malfunction-percentage Parameter Description: This is the percent chance this detonat...
Definition: detonationControllerDescriptor.h:116
class DtRwObjectTypeList:
Definition: rwObjectTypeList.h:30
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
DtDetonationControllerDescriptor; descriptor for the DtDetonationController component.
Definition: detonationControllerDescriptor.h:29
virtual DtString type() const
Returns the type of component this descriptor describes.
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
static DtComponentDescriptor * creator()
DtRwString myFuseTypeString
Parameter Name: fuse-type Parameter Description: Name of type of fuse to be used for detonation–proxi...
Definition: detonationControllerDescriptor.h:105
Definition: targetingControlTable.h:20

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)