VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
dieWhenHitDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
14 #include <readerWriter/rwReal.h>
16 
22 {
23 private:
26 
27 public:
29  DtDieWhenHitDescriptor(const DtString& name,
30  DtReaderWriterRegistry * parentRegistry = 0);
31 
34  orig, DtReaderWriterRegistry * parentRegistry = 0);
35 
38  DtDieWhenHitDescriptor & orig);
39 
41  virtual ~DtDieWhenHitDescriptor();
42 
45  virtual DtString type() const;
46 
48 
49  virtual double minKillSpeed() const;
50  virtual void setMinKillSpeed(double v);
52 
53  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry * parentRegistry
54  = 0) const;
55 
57  static DtComponentDescriptor * creator();
58 
59 protected:
62 
63  DtRwReal myMinKillSpeed;
70 };
71 
72 
73 
DtDieWhenHitDescriptor; descriptor for the DtDieWhenHitActuator component.
Definition: dieWhenHitDescriptor.h:21
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=0) const
DtActuatorComponentDescriptor & operator=(const DtActuatorComponentDescriptor &orig)
assignment
#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
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...
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
static DtComponentDescriptor * creator()

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)