VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
munitionDispersalParams.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2019 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 #pragma once
11 
13 #include <readerWriter/rwReal.h>
14 
21 {
22 public:
25 
28  parentRegistry = NULL);
29 
32  DtReaderWriterRegistry* parentRegistry = NULL);
33 
36 
37  virtual ~DtMunitionDispersalParams();
38 
39  virtual DtMunitionDispersalParams* clone(const DtString& name,
40  DtReaderWriterRegistry* parentRegistry = NULL) const = 0;
41 
43  bool operator==(const DtMunitionDispersalParams& rhs) const;
44  bool operator!=(const DtMunitionDispersalParams& rhs) const
45  {
46  return !(*this == rhs);
47  }
48 
50  virtual DtString dispersalType() const;
51 
52 };
53 
54 typedef DtMunitionDispersalParams* (*DtMunitionDispersalParamsCreatorFcn)();
55 
58 {
59 public:
62 
65 
67  virtual void addCreatorFcn(const DtString& type, DtMunitionDispersalParamsCreatorFcn fcn);
68 
69  virtual DtMunitionDispersalParams* createDispersalParams(const DtString& type);
70 
71 private:
76 
77 protected:
78  typedef std::map<DtString, DtMunitionDispersalParamsCreatorFcn> DtMunitionDispersalParamsCreatorMap;
80 
81 };

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)