VR-Forces 4.0.4 Class Documentation
include/vrfobjparam/basWpnCtlDesc.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2003 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: basWpnCtlDesc.h,v $ $Revision: 1.11 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00014 
00015 #ifndef DtBaseWeaponControllerDescriptor_H_
00016 #define DtBaseWeaponControllerDescriptor_H_
00017 
00018 #include "vrfobjparam/compDesc.h"
00019 #include "vrfutil/rwReal.h"
00020 #include "vrfutil/rwBoolean.h"
00021 #include "vrfutil/rwFile.h"
00022 #include "vrfutil/vlClock.h"
00023 
00029 #include "vrfobjparam/vrfobjparamDefines.h"
00030 class DT_DLL_vrfobjparam DtBaseWeaponControllerDescriptor : public DtComponentDescriptor
00031 {
00032 public:
00034    DtBaseWeaponControllerDescriptor(const DtString& name, 
00035       DtReaderWriterRegistry* parentRegistry = NULL);
00036 
00037    DtBaseWeaponControllerDescriptor(const DtSymbolString& name, 
00038       DtReaderWriterRegistry* parentRegistry = NULL);
00039    
00041    DtBaseWeaponControllerDescriptor(
00042       const DtBaseWeaponControllerDescriptor& orig, 
00043       DtReaderWriterRegistry* parentRegistry = NULL);
00044    
00046    DtBaseWeaponControllerDescriptor& operator=(const 
00047    DtBaseWeaponControllerDescriptor& orig);
00048    
00050    virtual ~DtBaseWeaponControllerDescriptor();
00051    
00054    virtual DtString type() const;
00055 
00056    virtual DtComponentDescriptor* clone(
00057       DtReaderWriterRegistry* parentRegistry = NULL) const;
00058 
00061    virtual bool preloadWeapon() const;
00062    virtual void setPreloadWeapon(bool preloadWeapon);
00064 
00067    virtual DtReal maxVehicleSpeedToFire() const;
00068    virtual void setMaxVehicleSpeedToFire(DtReal maxVehicleSpeedToFire);
00070 
00073    virtual DtReal maxAngleOffBoresight() const;
00074    virtual void setMaxAngleOffBoresight(DtReal maxAngleOffBoresight);
00076 
00079    virtual DtTime loadAmmoTime() const;
00080    virtual void setLoadAmmoTime(DtTime loadTime);
00082 
00085    virtual DtTime unloadAmmoTime() const;
00086    virtual void setUnloadAmmoTime(DtTime unloadTime);
00088 
00090    static DtComponentDescriptor* creator();
00091 
00092 protected:
00094    DtBaseWeaponControllerDescriptor();
00095 
00096 protected:
00100 
00108    DtRwReal            myFireMaxVehicleSpeed;
00109 
00119    DtRwReal            myMaxAngleOffBoresight;
00120 
00126    DtRwBoolean         myDoWeaponPreload;
00127 
00133    DtRwTime            myLoadAmmoTime;
00134 
00141    DtRwTime            myUnloadAmmoTime;
00142 
00144 };
00145 
00146 #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)