VR-Forces 4.0.4 Class Documentation
include/vrftasks/setSpeed.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 1999 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: setSpeed.h,v $ $Revision: 1.12 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00017 
00018 
00019 #ifndef DtSetSpeedRequest_H_
00020 #define DtSetSpeedRequest_H_
00021 
00022 
00023 #include "vrftasks/setDataReq.h"
00024 #include "vrfutil/rwReal.h"
00025 #include <vlpi/NetStructs.h>
00026 
00029 struct DtNetSetSpeedRequest
00030 {
00031   DtNetFloat64 mySpeed;
00032 };
00033 
00043 #include "vrftasks/vrftasksDefines.h"
00044 class DT_DLL_vrftasks DtSetSpeedRequest : public DtSetDataRequest
00045 {
00046 
00047 public:
00048 
00050    DtSetSpeedRequest();
00051 
00054    DtSetSpeedRequest(const DtString & writeName, 
00055       DtReaderWriterRegistry * parentRegistry = 0);
00056 
00058    DtSetSpeedRequest(const DtString & writeName, const DtSetSpeedRequest &
00059       orig, DtReaderWriterRegistry * parentRegistry = 0);
00060 
00062    const DtSetSpeedRequest & operator=(const DtSetSpeedRequest & orig);
00063 
00064    virtual ~DtSetSpeedRequest();
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 DtReal speed() const;
00078    virtual void setSpeed(DtReal speed);
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    DtRwReal mySpeed;
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)