VR-Forces 4.0.4 Class Documentation
include/vrfobjcore/pathMetricFact.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2005 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: pathMetricFact.h,v $ $Revision: 1.4 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00017 
00018 #ifndef DtPathMetricFactory_H_
00019 #define DtPathMetricFactory_H_
00020 
00021 #include <vlutil/vlHashlist.h>
00022 
00023 class DtPathMetricFactoryEntry;
00024 class DtPathMetric;
00025 class DtVrfObject;
00026 
00027 typedef DtPathMetric * (*DtPathMetricCreatorFcn)(DtVrfObject* object);
00028 
00035 #include "vrfobjcore/vrfobjcoreDefines.h"
00036 class DT_DLL_vrfobjcore DtPathMetricFactory : public DtHashlist
00037 {
00038 public:
00040    DtPathMetricFactory();
00041 
00043    DtPathMetricFactory(const DtPathMetricFactory& orig);
00044 
00046    const DtPathMetricFactory& operator=(const 
00047       DtPathMetricFactory& orig);
00048 
00050    virtual ~DtPathMetricFactory();
00051 
00053    virtual void addCreatorFcn(const DtString& type, 
00054       DtPathMetricCreatorFcn fcn);
00055 
00056    virtual DtPathMetric * createPathMetric(
00057       const DtString& type, DtVrfObject* object);
00058 
00059    static DtPathMetricFactory* create();
00060 
00061 protected:
00062 
00063 };
00064 
00065 #endif
00066 

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)