![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2010 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: setSwitchSystem.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 ** Created: 4/30/10 MEM 00008 *******************************************************************************/ 00009 00012 00014 00015 #pragma once 00016 00017 00018 #include "vrftasks/setDataReq.h" 00019 #include "vrfutil/rwString.h" 00020 #include "vlpi/NetStructs.h" 00021 #include "vrftasks/radioMsgTypes.h" 00022 00026 #include "vrftasks/vrftasksDefines.h" 00027 class DT_DLL_vrftasks DtSetSwitchSystem : public DtSetDataRequest 00028 { 00029 00030 public: 00031 00033 DtSetSwitchSystem(); 00034 00037 DtSetSwitchSystem(const DtString & writeName, 00038 DtReaderWriterRegistry * parentRegistry = 0); 00039 00041 DtSetSwitchSystem(const DtString & writeName, const DtSetSwitchSystem & 00042 orig, DtReaderWriterRegistry * parentRegistry = 0); 00043 00045 const DtSetSwitchSystem & operator=(const DtSetSwitchSystem & orig); 00046 00047 virtual ~DtSetSwitchSystem(); 00048 00050 virtual int type() const; 00051 00053 virtual DtSetDataRequest * clone(const DtString & name, 00054 DtReaderWriterRegistry * parentRegistry = 0) const; 00055 00057 virtual DtString stringRep() const; 00058 00060 00061 virtual const DtString & systemCategory() const; 00062 virtual void setSystemCategory(const DtString & cat); 00064 00066 00067 virtual const DtString & systemToActivateName() const; 00068 virtual void setSystemToActivateName(const DtString & activeSys); 00069 //}@ 00070 00072 00073 virtual const DtString & systemToDeactivateName() const; 00074 virtual void setSystemToDeactivateName(const DtString & deactiveSys); 00075 //}@ 00076 00079 virtual int netRepSize() const; 00080 00082 virtual bool setFromNet(const char* contentBuffer, 00083 unsigned contentSize); 00084 00087 virtual bool setToNet(); 00088 00089 static DtSetDataRequest * creator(); 00090 00091 protected: 00092 00093 DtRwString mySystemCategory; 00094 DtRwString mySystemToTurnOn; 00095 DtRwString mySystemToSwitchOff; 00096 }; 00097 00098