VR-Forces 4.0.4 Class Documentation
include/vrfobjparam/aggregateObjectParameters.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: aggregateObjectParameters.h,v $ $Revision: 1.2 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00013 
00014 #ifndef aggregateObjectParameters_h
00015 #define aggregateObjectParameters_h
00016 
00017 #include "vrfobjparam/mvObjParams.h"
00018 #include "vrfutil/rwBoolean.h"
00019 #include "vrfutil/rwVector.h"
00020 #include "vrfutil/soilList.h"
00021 #include "vrfobjparam/vrfobjparamDefines.h"
00022 
00023 class DtString;
00024 class DtReaderWriterRegistry;
00025 class DtFormationTable;
00026 class DtFormation;
00027 
00032 class DT_DLL_vrfobjparam DtAggregateObjectParameters : public DtMovingObjectParameters
00033 {
00034 public:
00036    DtAggregateObjectParameters (const DtString& name = DtString::nullString(),
00037       DtReaderWriterRegistry* parentRegistry = NULL);
00038    DtAggregateObjectParameters (const DtSymbolString& name,
00039       DtReaderWriterRegistry* parentRegistry = NULL);
00040 
00041 protected:
00043    DtAggregateObjectParameters (const DtAggregateObjectParameters& orig,
00044       const DtString& name = DtString::nullString(),
00045       DtReaderWriterRegistry* parentRegistry = NULL);
00046    DtAggregateObjectParameters (const DtAggregateObjectParameters& orig,
00047       const DtSymbolString& name,
00048       DtReaderWriterRegistry* parentRegistry = NULL);
00049 
00050 public:
00051    const DtAggregateObjectParameters& operator= (
00052       const DtAggregateObjectParameters& orig);
00053 
00055    virtual ~DtAggregateObjectParameters();
00056 
00057    virtual bool init();
00058 
00059    virtual DtVrfObjectParameters* clone(const DtString& name = 
00060       DtString::nullString(), DtReaderWriterRegistry* parentRegistry = NULL) const;
00061    virtual DtVrfObjectParameters* clone(const DtSymbolString& name,
00062       DtReaderWriterRegistry* parentRegistry = NULL) const;
00063 
00066    virtual bool inheritValues (const DtVrfObjectParameters * benefactor);
00067 
00070    virtual DtString type() const;
00071 
00072    virtual void inheritValuesFromThisType (const DtAggregateObjectParameters *
00073       benefactor);
00074 
00078    virtual DtFormation* getFormation(const DtString& formationName, DtString* retFormationName = NULL) const;
00080    virtual DtFormation* getDefaultFormation() const;
00081 
00083    virtual DtFormationTable* formationTable();
00084    virtual const DtFormationTable* formationTable() const;
00085 
00086 protected:
00089    virtual DtFormationTable* createFormationTable(const DtSymbolString& name, 
00090       DtReaderWriterRegistry* parentRegistry = NULL) const;
00091 
00092 public:
00093 
00095    static DtVrfObjectParameters* creator();
00096 
00097 protected:
00105    DtFormationTable* myFormationTable;
00107 };
00108 
00109 
00110 #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)