VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
targetingControlTable.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
8 
9 #pragma once
10 
16 
17 class DtAmmoSelectTable;
19 
21 {
22 public:
24  DtTargetingControlTable(const DtString& name,
25  DtReaderWriterRegistry* parentRegistry = NULL);
27  DtReaderWriterRegistry* parentRegistry = NULL);
28 
30  virtual ~DtTargetingControlTable();
31 
33  DtTargetingControlTable(const DtString& name,
34  const DtTargetingControlTable& orig,
35  DtReaderWriterRegistry* parentRegistry = NULL);
37  const DtTargetingControlTable& orig,
38  DtReaderWriterRegistry* parentRegistry = NULL);
40  DtReaderWriterRegistry* parentRegistry = NULL);
41 
44 
45  const DtAmmunitionList& ammunition() const
46  {
47  return myAmmunitionList;
48  }
49 
50  DtAmmunitionList& ammunition()
51  {
52  return myAmmunitionList;
53  }
54 
55  const DtAmmunitionPrioritiesList& ammunitionPriorities() const
56  {
57  return myAmmunitionPrioritiesList;
58  }
59 
60  DtAmmunitionPrioritiesList& ammunitionPriorities()
61  {
62  return myAmmunitionPrioritiesList;
63  }
64 
65  bool operator==(const DtTargetingControlTable&) const;
66  bool operator!=(const DtTargetingControlTable& rhs) const
67  {
68  return !(*this == rhs);
69  }
70 
71  virtual const char* readerWriterType() const;
72  static const char* theXmlType();
73 
74  virtual const char* xmlType() const
75  {
76  return theXmlType();
77  }
78 
80  virtual bool isValid() const;
81 
83  virtual bool hasTargetPriorities() const;
84 
86  virtual bool ammunitionCanBeUsedBy(const DtAmmunitionParamsEntry*) const;
87 
89  virtual void postGetSelf();
90 
92  virtual void setTo(DtAmmoSelectTable&) const;
93 
95  virtual DtSimResourceManager resourceManager() const;
96 
98  virtual void contributeResourcesTo(DtSimResourceManager&) const;
99 
100 protected:
101  //{@
105 
111 };

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)