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