VR-Forces 4.0.4 Class Documentation
include/vrfobjparam/balGunCtlDesc.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2003 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: balGunCtlDesc.h,v $ $Revision: 1.10 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00014 
00015 #ifndef DtBallisticGunControllerDescriptor_H_
00016 #define DtBallisticGunControllerDescriptor_H_
00017 
00018 #include "vrfobjparam/compDesc.h"
00019 #include "vrfutil/rwReal.h"
00020 #include "vrfutil/rwFile.h"
00021 #include "vrfobjparam/ammoSlctTbl.h"
00022 #include "vrfutil/vlClock.h"
00023 #include "vrfutil/rwInt.h"
00024 #include "vrfobjparam/vrfobjparamDefines.h"
00025 #include "vrfobjparam/targetSelectCriteria.h"
00026 
00030 class DT_DLL_vrfobjparam DtBallisticGunControllerDescriptor : public DtComponentDescriptor
00031 {
00032 public:
00034    DtBallisticGunControllerDescriptor(const DtString& name, 
00035       DtReaderWriterRegistry* parentRegistry = NULL);
00036    
00037    DtBallisticGunControllerDescriptor(const DtSymbolString& name, 
00038       DtReaderWriterRegistry* parentRegistry = NULL);
00039    
00041    DtBallisticGunControllerDescriptor(
00042       const DtBallisticGunControllerDescriptor& orig, 
00043       DtReaderWriterRegistry* parentRegistry = NULL);
00044    
00046    DtBallisticGunControllerDescriptor& operator=(const 
00047       DtBallisticGunControllerDescriptor& orig);
00048    
00050    virtual ~DtBallisticGunControllerDescriptor();
00051 
00054    virtual DtString type() const;
00055 
00056    virtual DtComponentDescriptor* clone(
00057       DtReaderWriterRegistry* parentRegistry = NULL) const;
00058 
00060 
00061    virtual DtTime loadAmmoTime() const;
00062    virtual void setLoadAmmoTime(DtTime loadTime);
00064 
00066 
00067    virtual DtTime unloadAmmoTime() const;
00068    virtual void setUnloadAmmoTime(DtTime unloadTime);
00070 
00072 
00073    virtual int roundsPerTriggerPull() const;
00074    virtual void setRoundsPerTriggerPull(int value);
00076 
00078 
00079    virtual const DtAmmoSelectTable& ammoSelectTable() const;
00080    virtual void setAmmoSelectTable(const DtAmmoSelectTable& table);
00082 
00084 
00085    virtual const DtString& ammoSelectTableFilename();
00086    virtual void setAmmoSelectTableFilename(const DtString& filename);
00088 
00090 
00091    virtual DtTargetSelectionCriteria& targetSelectionCriteria();
00092    virtual const DtTargetSelectionCriteria& targetSelectionCriteria() const;
00094 
00096    static DtComponentDescriptor* creator();
00097 
00098 protected:
00100    DtBallisticGunControllerDescriptor();
00101 
00102 protected:
00106 
00112    DtRwTime            myLoadAmmoTime;
00113 
00120    DtRwTime            myUnloadAmmoTime;
00121 
00126    DtReaderWriterFile  myAmmoSelectTableFile;
00127 
00132    DtAmmoSelectTable   myAmmoSelectTable;
00133 
00141    DtRwInt myRoundsPerTriggerPull;
00142 
00148    DtTargetSelectionCriteria myTargetSelectionCriteria;
00150 
00152 
00153 };
00154 
00155 #endif
00156 
00157 
00158 

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)