![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2000 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: cmpMgrFactEnt.h,v $ $Revision: 1.3 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00012 #ifndef DtSimComponentManagerFactoryEntry_H_ 00013 #define DtSimComponentManagerFactoryEntry_H_ 00014 00015 #include "vrfobjcore/cmpMgrFact.h" 00016 00021 00022 #include "vrfobjcore/vrfobjcoreDefines.h" 00023 class DT_DLL_vrfobjcore DtSimComponentManagerFactoryEntry 00024 { 00025 public: 00026 00028 DtSimComponentManagerFactoryEntry(); 00029 00031 virtual ~DtSimComponentManagerFactoryEntry(); 00032 00034 DtSimComponentManagerFactoryEntry( 00035 const DtSimComponentManagerFactoryEntry& orig); 00036 00038 DtSimComponentManagerFactoryEntry& operator=( 00039 const DtSimComponentManagerFactoryEntry& orig); 00040 00041 virtual const DtString& typeToCreate() const; 00042 virtual void setTypeToCreate(const DtString& type); 00043 00044 virtual const DtSimComponentManagerCreatorFcn& creatorFcn() const; 00045 virtual void setCreatorFcn(const DtSimComponentManagerCreatorFcn& fcn); 00046 00047 virtual DtSimComponentManagerFactoryEntry * clone( 00048 const DtSimComponentManagerFactoryEntry& 00049 orig) const; 00050 00051 protected: 00052 00053 DtString myTypeToCreate; 00054 00055 DtSimComponentManagerCreatorFcn myCreatorFcn; 00056 }; 00057 00058 #endif 00059 00060