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