VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rwExplosionEntry.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2016 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <vrfutil/rwEntityType.h>
12 #include <vrfutil/rwReal.h>
14 #include <vrfutil/rwVector.h>
16 
18 {
19 public:
22 
25  parentRegistry = NULL);
26 
28  parentRegistry = NULL);
29 
31  DtRwExplosionEntry(const DtString& name, const DtRwExplosionEntry& orig,
32  DtReaderWriterRegistry* parentRegistry = NULL);
33 
34  DtRwExplosionEntry(const DtSymbolString& name, const DtRwExplosionEntry& orig,
35  DtReaderWriterRegistry* parentRegistry = NULL);
36 
38  const DtRwExplosionEntry& operator=(const DtRwExplosionEntry & orig);
39 
40  virtual ~DtRwExplosionEntry();
41 
42  virtual DtRwExplosionEntry* clone(const DtString& name,
43  DtReaderWriterRegistry* parentRegistry = NULL) const;
44 
45  virtual DtRwExplosionEntry* clone(const DtSymbolString& name,
46  DtReaderWriterRegistry* parentRegistry = NULL) const;
47 
50  virtual const DtRwEntityType& munition() const;
51  virtual void setMunition(const DtRwEntityType& m);
53 
56  virtual DtDetonationResult detonationResult() const;
57  virtual void setDetonationResult(DtDetonationResult i);
59 
62  virtual double delay() const;
63  virtual void setDelay(double s);
65 
68  virtual DtVector position() const;
69  virtual void setPosition(const DtVector& pos);
71 
73  bool operator==(const DtRwExplosionEntry& rhs) const;
74  bool operator!=(const DtRwExplosionEntry& rhs) const
75  {
76  return !(*this == rhs);
77  }
78 
82  virtual const char* readerWriterType() const;
83 
85  static const char* theXmlType();
86 
87  virtual const char* xmlType() const
88  {
89  return theXmlType();
90  }
91 
92 protected:
96 
101 
106 
112 
118 
119 
121 };
122 
124 

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)