VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
nonLethalDamageActuatorDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
9 #include <readerWriter/rwReal.h>
11 
12 
17 {
18 public:
21  DtReaderWriterRegistry* parentRegistry = NULL);
22 
26  DtReaderWriterRegistry* parentRegistry = NULL);
27 
31 
34 
37  virtual DtString type() const;
38 
40  DtReaderWriterRegistry* parentRegistry = NULL) const;
41 
43  virtual bool init();
44 
47 
50  virtual bool hostileFireOnly()const;
51  virtual void setHostileFireOnly(const bool );
53 
55  virtual const DtDmgMunitionTable* damageModel() const;
56 
57 protected:
60 
61 protected:
65 
73 
78 
80  };
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=0) const
DtNonLethalDamageActuatorDescriptor is used to specify the parameters for the DtNonLethalDamageActuat...
Definition: nonLethalDamageActuatorDescriptor.h:16
DtActuatorComponentDescriptor & operator=(const DtActuatorComponentDescriptor &orig)
assignment
Definition: symbolString.h:20
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
End User Description: DtActuatorComponentDescriptor contains parameters common to all actuator compon...
Definition: actuatorComponentDescriptor.h:47
virtual bool init()
Base class init does nothing, but will be called by createComponentDescriptor(), allowing derived cla...
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
virtual DtString type() const
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
DtRwBoolean myHostileFireOnly
Parameter Name: hostile-fire-only Parameter Description: If true, then detonations only cause damage ...
Definition: nonLethalDamageActuatorDescriptor.h:72
const DtDmgMunitionTable * myDamageModel
Parameter Name: damage-model Parameter Description: Table of munitions and their effect. Parameter Default Value: .
Definition: nonLethalDamageActuatorDescriptor.h:77
static DtComponentDescriptor * creator()
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtDmgMunitionTable is the parameter that specifies the damage model for an entity. An entity may choose not to have a damage model, so this class uses the setValueSpecified() capability of DtReaderWriter to support being an optional argument.
Definition: dmgMunitionTable.h:25

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)