![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2003 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: emitterPSR.h,v $ $Revision: 1.4 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00012 #ifndef DtEmitterPSR_H_ 00013 #define DtEmitterPSR_H_ 00014 00015 #include "vrfobjcore/processSR.h" 00016 #include "vrfutil/rwBoolean.h" 00017 00022 00023 #include "vrfobjcore/vrfobjcoreDefines.h" 00024 class DT_DLL_vrfobjcore DtEmitterPSR : public DtVrfProcessStateRepository 00025 { 00026 public: 00027 00029 DtEmitterPSR(DtVrfObject* vrfObject, 00030 const DtString& rwName = DtString::nullString(), 00031 DtReaderWriterRegistry* parentRegistry = 0); 00032 00034 DtEmitterPSR(const DtEmitterPSR& orig, 00035 const DtString& rwName = DtString::nullString(), 00036 DtReaderWriterRegistry* parentRegistry = 0); 00037 00039 virtual ~DtEmitterPSR(); 00040 00042 DtEmitterPSR& operator=(const DtEmitterPSR& orig); 00043 00045 virtual DtVrfProcessStateRepository* clone( 00046 const DtString& rwName = DtString::nullString(), 00047 DtReaderWriterRegistry* parentRegistry = 0) const; 00048 00051 virtual DtString type() const; 00052 00054 virtual void setOn(bool on); 00056 virtual bool on() const; 00059 virtual bool onSpecified() const; 00060 00061 public: 00062 00064 static DtVrfProcessStateRepository* creator (const DtString& rwName, 00065 DtVrfObject* vrfObject, DtReaderWriterRegistry* parentRegistry); 00066 00067 protected: 00068 DtRwBoolean myOn; 00069 }; 00070 00071 #endif