![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 00004 00005 /******************************************************************************* 00006 ** Copyright (c) 2008 MaK Technologies, Inc. 00007 ** All rights reserved. 00008 *******************************************************************************/ 00009 /******************************************************************************* 00010 ** $RCSfile: aggregatedResourceEntry.h,v $ $Revision: 1.1 $ $State: Exp $ 00011 *******************************************************************************/ 00012 00013 00014 #ifndef DtAggregatedResourceEntry_H_ 00015 #define DtAggregatedResourceEntry_H_ 00016 00017 #include "vrfutil/rwReal.h" 00018 00019 #include "vrfutil/vrfutilDefines.h" 00020 class DT_DLL_vrfutil DtAggregatedResource : public DtReaderWriter 00021 { 00022 public: 00024 DtAggregatedResource(); 00025 00027 DtAggregatedResource(const DtString& name, DtReaderWriterRegistry* parentRegistry = NULL); 00028 DtAggregatedResource(const DtSymbolString& name, DtReaderWriterRegistry* parentRegistry = NULL); 00029 00031 DtAggregatedResource(const DtString& name, 00032 const DtAggregatedResource& orig, 00033 DtReaderWriterRegistry* parentRegistry = NULL); 00034 00035 DtAggregatedResource(const DtSymbolString& name, 00036 const DtAggregatedResource& orig, 00037 DtReaderWriterRegistry* parentRegistry = NULL); 00038 00040 const DtAggregatedResource& operator=(const DtAggregatedResource & orig); 00041 00042 virtual ~DtAggregatedResource(); 00043 00044 virtual DtAggregatedResource* clone(const DtString& name, 00045 DtReaderWriterRegistry* parentRegistry = NULL) const; 00046 00047 virtual DtAggregatedResource* clone(const DtSymbolString& name, 00048 DtReaderWriterRegistry* parentRegistry = NULL) const; 00049 00050 00052 virtual void setPercentageFull(DtReal percent); 00053 virtual const DtReal percentageFull() const; 00054 00055 00056 protected: 00057 00058 DtRwReal myPercentageFull; 00059 00060 }; 00061 00062 00063 #endif 00064 00065 00066