![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2010 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: switchSystemPSR.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 ** Created: 5/4/10 MEM 00008 *******************************************************************************/ 00009 00010 #pragma once 00011 00014 00015 00016 #include "vrfobjcore/processSR.h" 00017 #include "vrfutil/rwBoolean.h" 00018 #include "vrfobjcore/vrfobjcoreDefines.h" 00019 00020 00021 class DT_DLL_vrfobjcore DtSwitchSystemComponentPSR : public DtVrfProcessStateRepository 00022 { 00023 public: 00024 00026 DtSwitchSystemComponentPSR(DtVrfObject* vrfObject, 00027 const DtString& rwName = DtString::nullString(), 00028 DtReaderWriterRegistry* parentRegistry = 0); 00029 00031 DtSwitchSystemComponentPSR(const DtSwitchSystemComponentPSR& orig, 00032 const DtString& rwName = DtString::nullString(), 00033 DtReaderWriterRegistry* parentRegistry = 0); 00034 00036 virtual ~DtSwitchSystemComponentPSR(); 00037 00039 DtSwitchSystemComponentPSR& operator=(const DtSwitchSystemComponentPSR& orig); 00040 00042 virtual DtVrfProcessStateRepository* clone( 00043 const DtString& rwName = DtString::nullString(), 00044 DtReaderWriterRegistry* parentRegistry = 0) const; 00045 00047 virtual DtString type() const; 00048 00051 virtual bool inTransition() const; 00052 virtual void setInTransition(bool value); 00054 00056 static DtVrfProcessStateRepository* creator (const DtString& rwName, 00057 DtVrfObject* vrfObject, DtReaderWriterRegistry* parentRegistry); 00058 00059 protected: 00061 DtRwBoolean myInTransition; 00062 }; 00063 00064