VR-Forces 4.0.4 Class Documentation
include/vrfobjcore/objFactEnt.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 1999 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: objFactEnt.h,v $ $Revision: 1.4 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00017 
00018 #ifndef DtSimObjectFactoryEntry_H_
00019 #define DtSimObjectFactoryEntry_H_
00020 
00021 #ifdef WIN32
00022 
00023 
00024 
00025 
00026 #pragma warning( push )
00027 #pragma warning( disable : 4786 )
00028 #endif
00029 
00030 #include "vrfobjcore/objFactory.h"
00031 
00038 #include "vrfobjcore/vrfobjcoreDefines.h"
00039 class DT_DLL_vrfobjcore DtSimObjectFactoryEntry
00040 {
00041 public:
00043    DtSimObjectFactoryEntry();
00044 
00046    DtSimObjectFactoryEntry(const DtSimObjectFactoryEntry& orig);
00047 
00049    const DtSimObjectFactoryEntry& operator=(const DtSimObjectFactoryEntry& 
00050       orig);
00051 
00053    virtual ~DtSimObjectFactoryEntry();
00054 
00055    virtual const DtString& typeToCreate() const;
00056    virtual void setTypeToCreate(const DtString& type);
00057 
00058    virtual const DtSimObjectCreatorFcn& creatorFcn() const;
00059    virtual void setCreatorFcn(const DtSimObjectCreatorFcn& fcn);
00060 
00061    virtual DtSimObjectFactoryEntry * clone(const DtSimObjectFactoryEntry& 
00062       orig) const;
00063 
00064 protected:
00065    DtString                       myTypeToCreate;
00066    DtSimObjectCreatorFcn myCreatorFcn;
00067 };
00068 
00069 #ifdef WIN32
00070 #pragma warning( pop ) 
00071 #endif
00072 
00073 #endif
00074 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)