VR-Forces 4.0.4 Class Documentation
include/vrftasks/waitDurTask.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 1999 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: waitDurTask.h,v $ $Revision: 1.17 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00017 
00018 
00019 #ifndef DtWaitDurationTask_H_
00020 #define DtWaitDurationTask_H_
00021 
00022 
00023 #include "vrftasks/simTask.h"
00024 #include "vrfutil/rwReal.h"
00025 #include <vlutil/vlNetTypes.h>
00026 
00027 class DtString;
00028 
00031 
00032 struct DtNetWaitDurationTask
00033 {
00034    DtNetFloat64   mySecondsToWait;
00035 };
00036 
00046 #include "vrftasks/vrftasksDefines.h"
00047 class DT_DLL_vrftasks DtWaitDurationTask : public DtSimTask
00048 {
00049 
00050 public:
00051 
00053    DtWaitDurationTask();
00054 
00057    DtWaitDurationTask(const DtString & writeName, DtReaderWriterRegistry * 
00058       parentRegistry = 0);
00059 
00061    DtWaitDurationTask(const DtString & writeName, const DtWaitDurationTask & 
00062       orig, DtReaderWriterRegistry * parentRegistry = 0);
00063 
00065    const DtWaitDurationTask & operator=(const DtWaitDurationTask & orig);
00066 
00067    virtual ~DtWaitDurationTask();
00068 
00070    virtual int type() const;
00071 
00073    virtual DtSimTask * clone(const DtString & name, DtReaderWriterRegistry * 
00074       parentRegistry = 0) const;
00075 
00077    virtual DtString stringRep() const;
00078 
00079    virtual void setSecondsToWait(DtReal seconds);
00080    virtual DtReal secondsToWait() const;
00081 
00084    virtual int netRepSize() const;
00085 
00087    virtual bool setFromNet(const char* contentBuffer, 
00088       unsigned contentSize);
00089 
00092    virtual bool setToNet();
00093 
00094    static DtSimTask * creator();
00095 
00096 protected:
00097 
00098    DtRwReal mySecondsToWait;
00099 
00100 };
00101 
00102 
00103 #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)