VR-Forces 4.0.4 Class Documentation
include/vrfobjparam/launchExpendableResourceCtlrDesc.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2011 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: launchExpendableResourceCtlrDesc.h,v $ $Revision: 1.1 $ $State: Exp $
00007 ** Created: 4/28/11 MEM
00008 *******************************************************************************/
00009 
00012 
00015 
00016 #pragma once
00017 
00018 #include "vrfobjparam/compDesc.h"
00019 
00020 #include "vrfutil/rwReal.h"
00021 #include "vrfutil/rwBoolean.h"
00022 #include "vrfutil/rwVector.h"
00023 #include "vrfutil/rwTaitBryan.h"
00024 #include "vrfutil/rwInt.h"
00025 #include "vrftasks/simTask.h"
00026 #include "vrfobjparam/ammoSlctTbl.h"
00027 #include "vrfutil/rwFile.h"
00028 
00029 //Vrlink includes
00030 #include <vlpi/disEnums.h>
00031 
00040 
00041 #include "vrfobjparam/vrfobjparamDefines.h"
00042 class DT_DLL_vrfobjparam DtLaunchExpendableResourceControllerDescriptor : public DtComponentDescriptor
00043 {
00044 public:
00046    DtLaunchExpendableResourceControllerDescriptor(const DtString& name, 
00047       DtReaderWriterRegistry * parentRegistry = 0);
00048    
00050    DtLaunchExpendableResourceControllerDescriptor(const DtLaunchExpendableResourceControllerDescriptor & 
00051       orig, DtReaderWriterRegistry * parentRegistry = 0);
00052    
00054    DtLaunchExpendableResourceControllerDescriptor & operator=(const 
00055       DtLaunchExpendableResourceControllerDescriptor & orig);
00056    
00058    virtual ~DtLaunchExpendableResourceControllerDescriptor();
00059 
00062    virtual DtString type() const;
00063 
00064    virtual DtComponentDescriptor * clone(DtReaderWriterRegistry * parentRegistry
00065        = 0) const;
00066 
00069    virtual DtReal projectileStartSpeed() const;
00070    virtual void setProjectileStartSpeed(DtReal startSpeed);
00072 
00075    virtual DtVector launcherOffset() const;
00076    virtual void setLauncherOffset(const DtVector& offset);
00078 
00081    virtual DtTaitBryan launchOrientation() const;
00082    virtual void setLaunchOrientation(const DtTaitBryan& orient);
00084 
00087    virtual bool autoLaunchEnabled() const;
00088    virtual void setAutoLaunchEnabled(bool enable);
00090 
00093    virtual const double autoLaunchRange() const;
00094    virtual void setAutoLaunchRange(const double range);
00096 
00099    virtual const double autoLaunchResetTime() const;
00100    virtual void setAutoLaunchResetTime(const double time);
00102 
00105    virtual const DtString& autoLaunchResource() const;
00106    virtual void setAutoLaunchResource(const DtString & Name);
00108 
00111    virtual const int autoLaunchResourceAmount() const;
00112    virtual void setAutoLaunchResourceAmount(const int amount);
00114 
00117    virtual const double autoLaunchResourceInterval() const;
00118    virtual void setAutoLaunchResourceInterval(const double interval);
00120 
00123    virtual const DtAmmoSelectTable& counterMeasuresSelectTable() const;
00124    virtual void setCounterMeasuresSelectTable(const DtAmmoSelectTable& table);
00126 
00129    virtual void setCounterMeasuresSelectTableFilename(const DtString& filename);
00130    virtual const DtString& counterMeasuresSelectTableFilename();
00132 
00134    static DtComponentDescriptor * creator();
00135 
00136 protected:
00138    DtLaunchExpendableResourceControllerDescriptor();
00139 
00140 protected:
00141 
00145 
00152    DtRwBoolean   myAutoLaunchEnabled;
00153 
00158    DtRwReal      myAutoLaunchRange;
00159 
00164    DtRwReal      myAutoLaunchResetTime;
00165 
00170    DtRwString    myAutoLaunchResource;
00171 
00176    DtRwInt       myAutoLaunchResourceAmount;
00177 
00182    DtRwReal      myAutoLaunchResourceInterval;
00183 
00187    DtReaderWriterFile  myCMSelectTableFile;
00188 
00193    DtAmmoSelectTable   myCMSelectTable;
00194 
00200    DtRwReal      myProjectileStartSpeed;
00201 
00212    DtRwVector     myLauncherOffset;
00213 
00219    DtRwTaitBryan  myLaunchOrientation;
00220 
00222 };
00223 

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)