VR-Forces 4.0.4 Class Documentation
include/vrftasks/interceptAndDestroyTask.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2007 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: interceptAndDestroyTask.h,v $ $Revision: 1.1 $ $State: Exp $
00007 ** Created: 8/7/07 MEM
00008 *******************************************************************************/
00009 
00012 
00018 
00019 
00020 #ifndef interceptAndDestroyTask_H_
00021 #define interceptAndDestroyTask_H_
00022 
00023 #include "vrftasks/simTask.h"
00024 #include "vrfutil/rwString.h"
00025 #include "vrfutil/rwReal.h"
00026 
00027 
00031 #include "vrftasks/vrftasksDefines.h"
00032 class DT_DLL_vrftasks DtInterceptAndDestroyTask : public DtSimTask
00033 {
00034 public:
00036    DtInterceptAndDestroyTask();
00037 
00040    DtInterceptAndDestroyTask(const DtString & writeName, 
00041       DtReaderWriterRegistry * parentRegistry = 0);
00042 
00044    DtInterceptAndDestroyTask(const DtString & writeName, const DtInterceptAndDestroyTask & orig, 
00045       DtReaderWriterRegistry * parentRegistry = 0);
00046 
00048    const DtInterceptAndDestroyTask & operator=(const DtInterceptAndDestroyTask & orig);
00049 
00050    virtual ~DtInterceptAndDestroyTask();
00051 
00053    virtual int type() const;
00054 
00056    virtual DtSimTask * clone(const DtString & name, DtReaderWriterRegistry * 
00057       parentRegistry = 0) const;
00058 
00060    virtual DtString stringRep() const;
00061 
00063    virtual DtString targetName() const;
00064    virtual void setTargetName(const DtString & name);
00065 
00067    virtual double standOffDistance() const;
00068    virtual void setStandOffDistance(const double dis);
00069 
00072    virtual int netRepSize() const;
00073 
00075    virtual bool setFromNet(const char* contentBuffer, 
00076       unsigned contentSize);
00077 
00080    virtual bool setToNet();
00081 
00082    static DtSimTask * creator();
00083 
00084 protected:
00085 
00087    virtual DtString parameterStringRep() const;
00088 
00089 protected:
00090 
00091    DtRwString  myTargetName;
00092    DtRwReal    myInterceptStandoffDistance;
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)