VR-Forces 4.0.4 Class Documentation
include/vrfobjparam/vrfSRUserExt.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2005 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: vrfSRUserExt.h,v $ $Revision: 1.4 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00013 
00014 #ifndef DtVrfStateRepositoryUserExtension_H_
00015 #define DtVrfStateRepositoryUserExtension_H_
00016 
00017 #include "vrfutil/rdrWritr.h"
00018 
00019 class DtVrfObjectStateRepository;
00020 class DtVrfStateRepositoryUserExtensionFactory;
00021 
00028 #include "vrfobjparam/vrfobjparamDefines.h"
00029 class DT_DLL_vrfobjparam DtVrfStateRepositoryUserExtension : public DtReaderWriter
00030 {
00031 public:
00032 
00034    DtVrfStateRepositoryUserExtension(DtVrfObjectStateRepository* stateRepository,
00035       const DtString& rwName = DtString::nullString(),  
00036       DtReaderWriterRegistry* parentRegistry = 0);
00037 
00039    DtVrfStateRepositoryUserExtension(DtVrfObjectStateRepository* stateRepository,
00040       const DtVrfStateRepositoryUserExtension& orig,
00041       const DtString& rwName = DtString::nullString(), 
00042       DtReaderWriterRegistry*  parentRegistry = 0);
00043 
00045    const DtVrfStateRepositoryUserExtension& operator=(
00046       const DtVrfStateRepositoryUserExtension& orig);
00047 
00049    virtual ~DtVrfStateRepositoryUserExtension();
00050 
00053    virtual DtVrfStateRepositoryUserExtension* clone(
00054       DtVrfObjectStateRepository* stateRepository,
00055       const DtString& name, 
00056       DtReaderWriterRegistry* parentRegistry = NULL) const;
00057 
00060    virtual DtString type() const;
00061 
00063    virtual void init() {};
00064 
00066    virtual DtVrfObjectStateRepository* stateRepository() const;
00067 
00069    static DtVrfStateRepositoryUserExtension* create(
00070       DtVrfObjectStateRepository* stateRepository,
00071       const DtString& rwName = DtString::nullString(),  
00072       DtReaderWriterRegistry* parentRegistry = 0);
00073 
00074    static void setFactory(DtVrfStateRepositoryUserExtensionFactory* factory);
00075    static DtVrfStateRepositoryUserExtensionFactory* factory();
00076 
00077 protected:
00078 
00080    DtVrfObjectStateRepository* myStateRepository;
00081 
00082    static DtVrfStateRepositoryUserExtensionFactory* theFactory;
00083 };
00084 
00085 #endif

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)