VR-Forces 4.2 Class Documentation
missileDistractionPSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2011 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: missileDistractionPSR.h,v $ $Revision: 1.1 $ $State: Exp $
7 ** Created: 6/2/11 MEM
8 *******************************************************************************/
9 
12 
13 #pragma once
14 
15 #include "vrfobjcore/processSR.h"
16 #include "vrfutil/rwBoolean.h"
17 #include "vrfutil/rwStringList.h"
18 #include <set>
19 
24 
27 {
28 public:
29 
32  const DtString& rwName = DtString::nullString(),
33  DtReaderWriterRegistry* parentRegistry = 0);
34 
37  const DtString& rwName = DtString::nullString(),
38  DtReaderWriterRegistry* parentRegistry = 0);
39 
41  virtual ~DtMissileDistractionPSR();
42 
45 
48  const DtString& rwName = DtString::nullString(),
49  DtReaderWriterRegistry* parentRegistry = 0) const;
50 
52  virtual DtString type() const;
53 
55  virtual bool init();
56 
59  virtual void setAmDistracted(bool fooled);
60  virtual bool amDistracted() const;
61 
64  virtual const std::set<DtString>& verifiedDistractionsList() const;
65 
67  virtual bool findCounterMeasure(const DtString & objectName) const;
68 
69  virtual void addCounterMeasure(const DtString& objectName);
70 
71  virtual void removeCounterMeasure(const DtString& objectName);
72 
74  virtual void clearVerifiedDistractionsList();
75 
81  virtual void putSelf(FILE *fp, int indentLevel = 0,
82  bool writeUnspecified = false, const DtFilename& path = DtReaderWriter::appPath());
83 
86  virtual void getSelf(DtlObjPtr args, const DtFilename& searchPath,
87  const DtVariableBindingsList& variableBindings);
88 
89 public:
90 
92  static DtVrfProcessStateRepository* creator (const DtString& rwName,
93  DtVrfObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
94 
95 
96 protected:
97 
104  std::set<DtString> myVerifiedDistractionsList;
106 };
107 

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)