VR-Forces 4.1 Class Documentation
fireContext.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2004 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: fireContext.h,v $ $Revision: 1.3 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtFireContext_H_
13 #define DtFireContext_H_
14 
15 #include "tdbutil/symStr.h"
16 #include "vrfutil/simMunition.h"
17 #include <vl/detonateInter.h>
18 #include <vl/fireInter.h>
19 #include "vrfobjcore/vrfObject.h"
20 
25 
28 {
29 public:
30 
31  DtFireContext(const DtDetonationInteraction& detonationInteraction);
32  DtFireContext(const DtFireInteraction& fireInteraction);
33 
34  virtual ~DtFireContext();
35 
36  virtual const DtDetonationInteraction* detonationInter() const;
37  virtual const DtFireInteraction* fireInter() const;
38 
39  virtual void setFireTime(const DtTime& fireTime);
40  virtual const DtTime& fireTime() const;
41 
42  virtual void setDistance(double distance);
43  virtual double distance() const;
44 
45  virtual void setShooter(DtVrfObject* shooter);
46  virtual DtVrfObject* shooter();
47  virtual const DtVrfObject* shooter() const;
48 
49 private:
50 
52  const DtFireInteraction* myFireInteraction;
53 
55  DtTime myFireTime;
56  double myDistance;
58 };
59 
60 
61 #endif
62 
63 

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)