![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2007 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: setNotifyLevel.h,v $ $Revision: 1.2 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00013 00014 #pragma once 00015 00016 #include <vlutil/vlString.h> 00017 #include <vlutil/vlNetTypes.h> 00018 #include "vrftasks/setDataReq.h" 00019 #include "vrftasks/vrftasksDefines.h" 00020 #include "vrfutil/rwInt.h" 00021 00024 class DT_DLL_vrftasks DtSetNotifyLevel : public DtSetDataRequest 00025 { 00026 public: 00027 00029 DtSetNotifyLevel(); 00030 00031 DtSetNotifyLevel(const DtString & writeName, 00032 DtReaderWriterRegistry * parentRegistry = 0); 00033 00035 DtSetNotifyLevel(const DtString & writeName, const DtSetNotifyLevel & orig, 00036 DtReaderWriterRegistry * parentRegistry = 0); 00037 00039 const DtSetNotifyLevel & operator=(const 00040 DtSetNotifyLevel & orig); 00041 00043 virtual ~DtSetNotifyLevel(); 00044 00046 static DtSetDataRequest* creator(); 00047 00049 virtual bool init(); 00050 00052 virtual int type() const; 00053 00056 00057 virtual void setNotifyLevel(DtNotifyLevelType notifyLevel); 00058 virtual DtNotifyLevelType notifyLevel() const; 00060 00063 virtual DtSetDataRequest * clone(const DtString & name, 00064 DtReaderWriterRegistry * parentRegistry = 0) const; 00065 00067 virtual DtString stringRep() const; 00068 00070 virtual int netRepSize() const; 00071 00073 virtual bool setFromNet(const char* contentBuffer, 00074 unsigned contentSize); 00075 00077 virtual bool setToNet(); 00078 00079 protected: 00080 DtRwInt myNotifyLevel; 00081 };