VR-Forces 4.2 Class Documentation
balGunPSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2002 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: balGunPSR.h,v $ $Revision: 1.5 $ $State: Exp $
7 *******************************************************************************/
8 
11 
17 
18 #ifndef DtVrfBalGunPSR_H_
19 #define DtVrfBalGunPSR_H_
20 
21 #include "vrfobjcore/weaponPSR.h"
22 #include "vrfobjcore/detDescLst.h"
23 #include "vlutil/vlTime.h"
24 
25 
26 
28 {
32 };
33 
39 
40 
43 {
44 
45 protected:
46 
48 
49 public:
50 
51  DtVrfBalGunPSR(DtVrfObject* vrfObject,
52  const DtString& rwName = DtString::nullString(),
53  DtReaderWriterRegistry* parentRegistry = 0);
54 
55  DtVrfBalGunPSR(const DtVrfBalGunPSR& orig,
56  const DtString& rwName = DtString::nullString(),
57  DtReaderWriterRegistry* parentRegistry = 0);
58 
59  const DtVrfBalGunPSR& operator=(
60  const DtVrfBalGunPSR& orig);
61 
62  virtual ~DtVrfBalGunPSR();
63 
65  const DtString& rwName = DtString::nullString(),
66  DtReaderWriterRegistry* parentRegistry = 0) const;
67 
69  virtual DtString type() const;
70 
72  virtual const DtDetonationDescriptorList& pendingDetonations() const;
73 
75  virtual void addPendingDetonation(DtDetonationDescriptor* desc);
76 
78  virtual void removePendingDetonation(const DtEventId& eventId);
79 
81  virtual void setFiringCycleCompleteTime(DtTime completeTime);
82 
84  virtual DtTime timeFiringCycleComplete() const;
85 
88  virtual void setCommandedToFire();
89  virtual void setHasFired();
90  virtual bool isCommandedToFire();
91  virtual bool hasFired();
93 
94  virtual void setDisplayName(const DtString& displayName);
95  virtual const DtString displayName() const;
96 
97 public:
98 
99  static DtVrfProcessStateRepository* creator (const DtString& name,
100  DtVrfObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
101 
102 protected:
103 
107 
110  enum FireState
111  {
113  HasFired
114  };
115 
123 
129 
131 };
132 
133 #endif

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)