![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2006 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: simCommandFactEntry.h,v $ $Revision: 1.2 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00013 00014 #ifndef DtSimCommandFactoryEntry_H_ 00015 #define DtSimCommandFactoryEntry_H_ 00016 00017 #include "vrfplan/simCommandFactory.h" 00018 00020 #include "vrfplan/vrfplanDefines.h" 00021 class DT_DLL_vrfplan DtSimCommandFactoryEntry 00022 { 00023 public: 00025 DtSimCommandFactoryEntry(); 00026 00028 DtSimCommandFactoryEntry(const DtSimCommandFactoryEntry& orig); 00029 00031 const DtSimCommandFactoryEntry& operator=(const DtSimCommandFactoryEntry& 00032 orig); 00033 00035 virtual ~DtSimCommandFactoryEntry(); 00036 00037 virtual const DtString& typeToCreate() const; 00038 virtual void setTypeToCreate(const DtString& type); 00039 00040 virtual const int intTypeToCreate() const; 00041 virtual void setIntTypeToCreate(const int type); 00042 00043 virtual const DtSimCommandCreatorFcn& creatorFcn() const; 00044 virtual void setCreatorFcn(const DtSimCommandCreatorFcn& fcn); 00045 00046 virtual DtSimCommandFactoryEntry * clone(const DtSimCommandFactoryEntry& 00047 orig) const; 00048 00049 protected: 00050 DtString myTypeToCreate; 00051 int myIntTypeToCreate; 00052 DtSimCommandCreatorFcn myCreatorFcn; 00053 }; 00054 00055 #endif 00056 00057