VR-Forces 4.0.4 Class Documentation
include/vrftasks/setChannel.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 1999 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: setChannel.h,v $ $Revision: 1.5 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00017 
00018 
00019 #ifndef DtSetChannelRequest_H_
00020 #define DtSetChannelRequest_H_
00021 
00022 
00023 #include "vrftasks/setDataReq.h"
00024 #include "vrfutil/rwInt.h"
00025 #include <vlutil/vlNetTypes.h>
00026 
00029 struct DtNetSetChannelRequest
00030 {
00031   DtNetU32 myNewChannel;
00032 };
00033 
00041 
00042 #include "vrftasks/vrftasksDefines.h"
00043 class DT_DLL_vrftasks DtSetChannelRequest : public DtSetDataRequest
00044 {
00045 
00046 public:
00047 
00049    DtSetChannelRequest();
00050 
00053    DtSetChannelRequest(const DtString & writeName, 
00054       DtReaderWriterRegistry * parentRegistry = 0);
00055 
00057    DtSetChannelRequest(const DtString & writeName, const DtSetChannelRequest &
00058       orig, DtReaderWriterRegistry * parentRegistry = 0);
00059 
00061    const DtSetChannelRequest & operator=(const DtSetChannelRequest & orig);
00062 
00063    virtual ~DtSetChannelRequest();
00064 
00066    virtual int type() const;
00067 
00069    virtual DtSetDataRequest * clone(const DtString & name, 
00070       DtReaderWriterRegistry * parentRegistry = 0) const;
00071 
00073    virtual DtString stringRep() const;
00074 
00075    virtual DtU32 newChannel() const;
00076    virtual void setNewChannel(DtU32 chan);
00077 
00080    virtual int netRepSize() const;
00081 
00083    virtual bool setFromNet(const char* contentBuffer, 
00084       unsigned contentSize);
00085 
00088    virtual bool setToNet();
00089 
00090    static DtSetDataRequest * creator();
00091 
00092 protected:
00093 
00094    DtRwInt myNewChannel;
00095 
00096 };
00097 
00098 
00099 #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)