VR-Forces 4.0.4 Class Documentation
include/vrfobjcore/detonationContext.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2004 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: detonationContext.h,v $ $Revision: 1.6 $ $State: Exp $
00007 *********************************************************************/
00008 #ifndef detonationContext_H_
00009 #define detonationContext_H_
00010 
00013 
00014 #include "tdbutil/symStr.h"
00015 #include "vrfutil/simMunition.h"
00016 #include "vrfobjcore/vrfObject.h"
00017 #include <vl/detonateInter.h>
00018 
00026 #include "vrfobjcore/vrfobjcoreDefines.h"
00027 class DT_DLL_vrfobjcore DtDetonationContext
00028 {
00029 public:
00030 
00031    DtDetonationContext(const DtDetonationInteraction& detonationInteraction);
00032    
00033    virtual ~DtDetonationContext();
00034 
00036    virtual const DtDetonationInteraction& detonationInter() const;
00037 
00041    virtual void setIsDirectFire(bool isDirect);
00042    virtual bool isDirectFire() const;
00043 
00047    virtual void setRange(double range);
00048    virtual double range() const;
00049 
00051    virtual void setSurface(const DtSymbolString& surface);
00052    virtual DtSymbolString surface() const;
00053    
00055    virtual void setAngleOfIncidence(double angleOfIncidence);
00056    virtual double angleOfIncidence() const;
00057 
00059    virtual void setMunition(const DtSimMunition& munition);
00060    virtual const DtSimMunition& munition() const;
00061 
00062 private:
00063 
00064    const DtDetonationInteraction& myDetonationInteraction;
00066    DtSimMunition myMunition;                 
00067    bool myIsDirectFire;                      
00068    DtSymbolString mySurface;                 
00069    double myAngleOfIncidence;                
00070    double myRange;                           
00071 };
00072 
00073 
00074 #endif
00075 
00076 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)