VR-Forces 4.0.4 Class Documentation
include/vrftasks/clearTask.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 1999 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: clearTask.h,v $ $Revision: 1.4 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00017 
00018 
00019 #ifndef DtClearTask_H_
00020 #define DtClearTask_H_
00021 
00022 
00023 #include "vrftasks/setDataReq.h"
00024 #include "vrfutil/rwInt.h"
00025 #include <vlpi/NetStructs.h>
00026 
00028 struct DtNetClearTask
00029 {
00030   DtInt32 myTaskType;
00031   DtInt32 myPadding;
00032 };
00033 
00043 #include "vrftasks/vrftasksDefines.h"
00044 class DT_DLL_vrftasks DtClearTask : public DtSetDataRequest
00045 {
00046 
00047 public:
00048 
00050    DtClearTask();
00051 
00054    DtClearTask(const DtString & writeName, 
00055       DtReaderWriterRegistry * parentRegistry = 0);
00056 
00058    DtClearTask(const DtString & writeName, const DtClearTask &
00059       orig, DtReaderWriterRegistry * parentRegistry = 0);
00060 
00062    const DtClearTask & operator=(const DtClearTask & orig);
00063 
00064    virtual ~DtClearTask();
00065 
00067    virtual int type() const;
00068 
00070    virtual DtSetDataRequest * clone(const DtString & name, 
00071       DtReaderWriterRegistry * parentRegistry = 0) const;
00072 
00074    virtual DtString stringRep() const;
00075 
00077    virtual int taskType() const;
00078    virtual void setTaskType(int type);
00079 
00082    virtual int netRepSize() const;
00083 
00085    virtual bool setFromNet(const char* contentBuffer, 
00086       unsigned contentSize);
00087 
00090    virtual bool setToNet();
00091 
00092    static DtSetDataRequest * creator();
00093 
00094 protected:
00095 
00096    DtRwInt myTaskType;
00097 
00098 };
00099 
00100 
00101 #endif

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)