![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 1999 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: taskStateFactory.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00013 00014 #ifndef taskStateFactory_H_ 00015 #define taskStateFactory_H_ 00016 00017 #include "vrfutil/stringAndIntKeyFactory.h" 00018 #include "vrftasks/vrftasksDefines.h" 00019 00020 class DtSimTaskState; 00021 00025 class DT_DLL_vrftasks DtSimTaskStateFactory : public DtStringAndIntKeyFactory<DtSimTaskState> 00026 { 00027 public: 00028 DtSimTaskStateFactory(); 00029 virtual ~DtSimTaskStateFactory(); 00030 00033 00034 virtual DtSimTaskState* createTaskState(const DtString& type); 00035 virtual DtSimTaskState* createTaskState(int type); 00037 00038 static DtSimTaskStateFactory* create(); 00039 00040 protected: 00042 virtual DtString creationTypeName() const; 00043 }; 00044 00045 typedef DtSimTaskStateFactory::DtCreatorFcn DtSimTaskStateCreatorFcn; 00046 00047 #endif 00048 00049