![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 1999 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: pathMetricFctEnt.h,v $ $Revision: 1.2 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00017 00018 #ifndef DtPathMetricFactoryEntry_H_ 00019 #define DtPathMetricFactoryEntry_H_ 00020 00021 #include "vrfobjcore/pathMetricFact.h" 00022 00027 00028 #include "vrfobjcore/vrfobjcoreDefines.h" 00029 class DT_DLL_vrfobjcore DtPathMetricFactoryEntry 00030 { 00031 public: 00033 DtPathMetricFactoryEntry(); 00034 00036 DtPathMetricFactoryEntry(const DtPathMetricFactoryEntry& 00037 orig); 00038 00040 const DtPathMetricFactoryEntry& operator=(const 00041 DtPathMetricFactoryEntry& orig); 00042 00044 virtual ~DtPathMetricFactoryEntry(); 00045 00046 virtual const DtString& typeToCreate() const; 00047 virtual void setTypeToCreate(const DtString& type); 00048 00049 virtual const DtPathMetricCreatorFcn& creatorFcn() const; 00050 virtual void setCreatorFcn(const DtPathMetricCreatorFcn& fcn); 00051 00052 virtual DtPathMetricFactoryEntry * clone(const 00053 DtPathMetricFactoryEntry& orig) const; 00054 00055 protected: 00056 DtString myTypeToCreate; 00057 DtPathMetricCreatorFcn myCreatorFcn; 00058 }; 00059 00060 #endif 00061