VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
weaponComponentInterface.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 #include <vl/hostStructs.h>
16 
18 
21 {
22 
23 private:
26 
27 public:
28  //constructor
30  const DtString& rwName = DtString::nullString(),
31  DtReaderWriterRegistry* parentRegistry = 0);
32 
33  //copy constructor
35  const DtString& rwName = DtString::nullString(),
36  DtReaderWriterRegistry* parentRegistry = 0);
37 
38  //assignment operator
40  const DtWeaponComponentInterface& orig);
41 
42  //destructor
43  virtual ~DtWeaponComponentInterface();
44 
45  //returns a copy of the PSR
47  const DtString& rwName = DtString::nullString(),
48  DtReaderWriterRegistry* parentRegistry = 0) const;
49 
51  virtual DtString type() const;
52 
54 
55  virtual void setTargetSelectionCriteria(const DtTargetSelectionCriteria& tsc);
56  virtual const DtTargetSelectionCriteria& targetSelectionCriteria() const;
58 
61  virtual void updateRegionEvaluator();
66  virtual bool locationWithinRegion(const DtVector& localLocation) const;
67 
69 
70  virtual void setTarget(const DtEntityTargetInformation& target);
71  virtual const DtEntityTargetInformation& target() const;
73 
74  virtual void clearTarget();
75  virtual bool hasTarget() const;
76 
78  static DtVrfProcessStateRepository* creator(const DtString& name,
79  DtVrfObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
80 
81 protected:
84  virtual void setupRegionEvaluator();
85 
86 protected:
89 
92 
94 };

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)