VR-Forces 4.0.4 Class Documentation
include/vrfobjparam/gndVehPar.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2004 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: gndVehPar.h,v $ $Revision: 1.31 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00014 
00015 #ifndef gndVehPar_H_
00016 #define gndVehPar_H_
00017 
00018 #include "vrfobjparam/mvObjParams.h"
00019 
00020 #include "vrfutil/rwBoolean.h"
00021 #include "vrfutil/rwVector.h"
00022 #include "vrfutil/soilList.h"
00023 
00024 class DtString;
00025 class DtReaderWriterRegistry;
00026 
00031 #include "vrfobjparam/vrfobjparamDefines.h"
00032 class DT_DLL_vrfobjparam DtGroundVehicleParameters : public DtMovingObjectParameters
00033 {
00034 public:
00036    DtGroundVehicleParameters (const DtString& name = DtString::nullString(),
00037                             DtReaderWriterRegistry* parentRegistry = NULL);
00038    DtGroundVehicleParameters (const DtSymbolString& name,
00039                             DtReaderWriterRegistry* parentRegistry = NULL);
00040 
00041 protected:
00043    DtGroundVehicleParameters (const DtGroundVehicleParameters& orig,
00044                             const DtString& name = DtString::nullString(),
00045                             DtReaderWriterRegistry* parentRegistry = NULL);
00046    DtGroundVehicleParameters (const DtGroundVehicleParameters& orig,
00047                             const DtSymbolString& name,
00048                             DtReaderWriterRegistry* parentRegistry = NULL);
00049 
00050 public:
00051    const DtGroundVehicleParameters& operator= (
00052       const DtGroundVehicleParameters& orig);
00053 
00055    virtual ~DtGroundVehicleParameters();
00056 
00057    virtual DtVrfObjectParameters* clone(const DtString& name = 
00058     DtString::nullString(), DtReaderWriterRegistry* parentRegistry = NULL) const;
00059    virtual DtVrfObjectParameters* clone(const DtSymbolString& name,
00060       DtReaderWriterRegistry* parentRegistry = NULL) const;
00061 
00064    virtual bool inheritValues (const DtVrfObjectParameters * benefactor);
00065 
00067 
00068    virtual const DtSoilList& soilList() const;
00069    virtual DtSoilList& soilList();
00071 
00072    virtual const DtVector& rearSupport() const;
00073    virtual void setRearSupport(const DtVector& rearSupport);
00074 
00075    virtual DtSoilFactors * lookupSoilFactors(const DtString& soilType);
00076    virtual void addSoilFactors(DtSoilFactors* soilFactors);
00077    virtual void removeSoilFactors(DtSoilFactors* soilFactors);
00078 
00081    virtual DtString type() const;
00082 
00083    virtual void inheritValuesFromThisType (const DtGroundVehicleParameters *
00084                                            benefactor);
00085 public:
00086 
00088    static DtVrfObjectParameters* creator();
00089 
00090 protected:
00094 
00116    DtSoilList mySoilList;
00117 
00119 };
00120 
00121 #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)