![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2000 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: cmpMgrFact.h,v $ $Revision: 1.9 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00012 #ifndef DtSimComponentManagerFactory_H_ 00013 #define DtSimComponentManagerFactory_H_ 00014 00015 #include <vlutil/vlHashlist.h> 00016 00017 00018 class DtSimComponentManager; 00019 class DtString; 00020 class DtVrfObject; 00021 class DtReaderWriterRegistry; 00022 00023 typedef DtSimComponentManager * (*DtSimComponentManagerCreatorFcn)(DtVrfObject * vrfObject); 00024 00030 #include "vrfobjcore/vrfobjcoreDefines.h" 00031 class DT_DLL_vrfobjcore DtSimComponentManagerFactory : public DtHashlist 00032 { 00033 public: 00034 00036 DtSimComponentManagerFactory(); 00037 00039 virtual ~DtSimComponentManagerFactory(); 00040 00042 DtSimComponentManagerFactory(const DtSimComponentManagerFactory& orig); 00043 00045 DtSimComponentManagerFactory& operator=( 00046 const DtSimComponentManagerFactory& orig); 00047 00049 virtual void addCreatorFcn(const DtString& type, 00050 DtSimComponentManagerCreatorFcn fcn); 00051 00052 virtual DtSimComponentManager * createComponentManager( 00053 const DtString& type, DtVrfObject * vrfObject); 00054 00055 static DtSimComponentManagerFactory* create(); 00056 }; 00057 00058 #endif 00059 00060