VR-Forces 4.0.4 Class Documentation
include/vrfobjparam/warheadDetActDesc.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2003 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: warheadDetActDesc.h,v $ $Revision: 1.7 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00014 
00015 #ifndef DtWarheadDetonationActuatorDescriptor_H_
00016 #define DtWarheadDetonationActuatorDescriptor_H_
00017 
00018 #include "vrfobjparam/actCompDesc.h"
00019 #include "vrfutil/vlClock.h"
00020 #include "vrfutil/rwBoolean.h"
00021 
00024 #include "vrfobjparam/vrfobjparamDefines.h"
00025 class DT_DLL_vrfobjparam DtWarheadDetonationActuatorDescriptor : public DtActuatorComponentDescriptor
00026 {
00027 public:
00029    DtWarheadDetonationActuatorDescriptor(const DtString& name, 
00030       DtReaderWriterRegistry * parentRegistry = 0);
00031    
00033    DtWarheadDetonationActuatorDescriptor(
00034       const DtWarheadDetonationActuatorDescriptor & 
00035       orig, DtReaderWriterRegistry * parentRegistry = 0);
00036    
00038    DtWarheadDetonationActuatorDescriptor & operator=(const 
00039       DtWarheadDetonationActuatorDescriptor & orig);
00040    
00042    virtual ~DtWarheadDetonationActuatorDescriptor();
00043 
00046    virtual DtString type() const;
00047 
00048    virtual DtComponentDescriptor * clone(DtReaderWriterRegistry * parentRegistry
00049        = 0) const;
00050 
00053    virtual bool groundImpactDetonate() const;
00054    virtual void setGroundImpactDetonate(bool d);
00056 
00059    virtual bool waterImpactDetonate() const;
00060    virtual void setWaterImpactDetonate(bool d);
00062 
00065    virtual bool entityImpactDetonate() const;
00066    virtual void setEntityImpactDetonate(bool d);
00068 
00071    virtual bool removeEntityUponDetonation() const;
00072    virtual void setRemoveEntityUponDetonation(bool b);
00074 
00076 
00077    virtual bool allowDirectHit() const;
00078    virtual void setAllowDirectHit(bool b);
00080 
00082    static DtComponentDescriptor * creator();
00083 
00084 private:
00086    DtWarheadDetonationActuatorDescriptor();
00087 
00088 protected:
00089 
00093 
00098    DtRwBoolean myGroundImpactDetonate;
00099 
00104    DtRwBoolean myWaterImpactDetonate;
00105 
00110    DtRwBoolean myEntityImpactDetonate;
00111 
00115    DtRwBoolean myRemoveOnDetonation;
00116 
00123    DtRwBoolean myAllowDirectHit;
00124 
00126 };
00127 
00128 #endif

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)