VR-Forces 4.0.4 Class Documentation
include/vrftasks/setDetonate.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2001 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: setDetonate.h,v $ $Revision: 1.1 $ $State: Exp $
00007 ** Created: 4/30/01 MEM 
00008 *******************************************************************************/
00009 
00012 
00018 
00019 
00020 #ifndef setDetonate_H_
00021 #define setDetonate_H_
00022 
00023 #include "vrfutil/rwInt.h"
00024 #include "vrfutil/rwReal.h"
00025 #include "vrfutil/rwString.h"
00026 #include "vrftasks/setDataReq.h"
00027 
00032 
00033 #include "vrftasks/vrftasksDefines.h"
00034 class DT_DLL_vrftasks DtSetDetonate : public DtSetDataRequest
00035 {
00036 
00037 public:
00038 
00040    DtSetDetonate();
00041 
00044    DtSetDetonate(const DtString & writeName, 
00045       DtReaderWriterRegistry * parentRegistry = 0);
00046 
00048    DtSetDetonate(const DtString & writeName, const 
00049       DtSetDetonate & orig, 
00050       DtReaderWriterRegistry * parentRegistry = 0);
00051 
00053    const DtSetDetonate & operator=(const DtSetDetonate & orig);
00054 
00055    virtual ~DtSetDetonate();
00056 
00058    virtual int type() const;
00059 
00061    virtual DtSetDataRequest * clone(const DtString & name, DtReaderWriterRegistry * 
00062       parentRegistry = 0) const;
00063 
00065    virtual DtString stringRep() const;
00066   
00068    virtual void setDetonatorFuse(const int fuse);
00069    virtual const int detonatorFuse() const;
00070 
00072    virtual void setDetonationTime(const DtReal time);
00073    virtual const DtReal detonationTime() const;
00074 
00077    virtual void setDetonationProximity(DtReal p);
00078    virtual DtReal detonationProximity() const;
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  myDetonatorFuseType;
00097    DtRwReal    myDetonationTime;
00098    DtRwReal    myDetonationProximity;
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)