![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: setAggregateState.h,v $ $Revision: 1.2 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00014 00015 #ifndef setAggregateState_H_ 00016 #define setAggregateState_H_ 00017 00018 00019 #include "vrftasks/setDataReq.h" 00020 #include "vrfutil/rwAggregateState.h" 00021 #include "vlpi/NetStructs.h" 00022 #include "vrftasks/radioMsgTypes.h" 00023 00027 #include "vrftasks/vrftasksDefines.h" 00028 class DT_DLL_vrftasks DtSetAggregateState : public DtSetDataRequest 00029 { 00030 00031 public: 00032 00034 DtSetAggregateState(); 00035 00038 DtSetAggregateState(const DtString & writeName, 00039 DtReaderWriterRegistry * parentRegistry = 0); 00040 00042 DtSetAggregateState(const DtString & writeName, const DtSetAggregateState & 00043 orig, DtReaderWriterRegistry * parentRegistry = 0); 00044 00046 const DtSetAggregateState & operator=(const DtSetAggregateState & orig); 00047 00048 virtual ~DtSetAggregateState(); 00049 00051 virtual int type() const; 00052 00054 virtual DtSetDataRequest * clone(const DtString & name, 00055 DtReaderWriterRegistry * parentRegistry = 0) const; 00056 00058 virtual DtString stringRep() const; 00059 00061 00062 virtual enum DtAggregateState aggregateState() const; 00063 virtual void setAggregateState(enum DtAggregateState aggState); 00064 //}@ 00065 00068 virtual int netRepSize() const; 00069 00071 virtual bool setFromNet(const char* contentBuffer, 00072 unsigned contentSize); 00073 00076 virtual bool setToNet(); 00077 00078 static DtSetDataRequest * creator(); 00079 00080 protected: 00081 00082 DtRwAggregateState myAggregateState; 00083 00084 }; 00085 00086 00087 #endif