VR-Forces 4.0.4 Class Documentation
include/vrftasks/setLaserCode.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: setLaserCode.h,v $ $Revision: 1.3 $ $State: Exp $
00007 ** Created: 7/16/04, MEM Updated:
00008 *******************************************************************************/
00009 
00012 
00013 #ifndef DtSetLaserCodeRequest_H_
00014 #define DtSetLaserCodeRequest_H_
00015 
00016 #include "vrftasks/setDataReq.h"
00017 #include "vrfutil/rwInt.h"
00018 #include "vlutil/vlNetTypes.h"
00019 
00022 struct DtNetSetLaserCodeRequest
00023 {
00024   DtNetU16 myLaserCode;
00025 };
00026 
00035 
00040 #include "vrftasks/vrftasksDefines.h"
00041 class DT_DLL_vrftasks DtSetLaserCodeRequest : public DtSetDataRequest
00042 {
00043 public:
00044 
00046    DtSetLaserCodeRequest();
00047 
00050    DtSetLaserCodeRequest(const DtString & writeName, 
00051       DtReaderWriterRegistry * parentRegistry = 0);
00052 
00054    DtSetLaserCodeRequest(const DtString& writeName, const DtSetLaserCodeRequest&
00055       orig, DtReaderWriterRegistry* parentRegistry = 0);
00056 
00058    const DtSetLaserCodeRequest & operator=(const DtSetLaserCodeRequest & orig);
00059 
00060    virtual ~DtSetLaserCodeRequest();
00061 
00063    virtual int type() const;
00064 
00066    virtual DtSetDataRequest * clone(const DtString & name, 
00067       DtReaderWriterRegistry * parentRegistry = 0) const;
00068 
00070    virtual DtString stringRep() const;
00071 
00073    virtual const int laserCode() const;
00074    virtual void setLaserCode(const int code);
00075 
00078    virtual int netRepSize() const;
00079 
00081    virtual DtBoolean setFromNet(const char* contentBuffer, 
00082       unsigned contentSize);
00083 
00086    virtual DtBoolean setToNet();
00087 
00088    static DtSetDataRequest * creator();
00089 
00090 protected:
00091 
00092    DtRwInt myLaserCode;
00093 
00094 };
00095 
00096 
00097 #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)