VR-Forces 4.0.4 Class Documentation
include/vrftasks/setConvoyFollowTarget.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2010 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: setConvoyFollowTarget.h,v $ $Revision: 1.1 $ $State: Exp $
00007 ** Created: 7/14/10 MEM
00008 *******************************************************************************/
00009 
00012 
00014 
00015 #pragma once
00016 
00017 
00018 #include "vrftasks/setDataReq.h"
00019 #include "vrfutil/rwString.h"
00020 #include "vrfutil/rwReal.h"
00021 #include "vlpi/NetStructs.h"
00022 #include "vrftasks/radioMsgTypes.h"
00023 
00027 #include "vrftasks/vrftasksDefines.h"
00028 class DT_DLL_vrftasks DtSetConvoyFollowTarget : public DtSetDataRequest
00029 {
00030 
00031 public:
00032 
00034    DtSetConvoyFollowTarget();
00035 
00038    DtSetConvoyFollowTarget(const DtString & writeName, 
00039       DtReaderWriterRegistry * parentRegistry = 0);
00040 
00042    DtSetConvoyFollowTarget(const DtString & writeName, const DtSetConvoyFollowTarget &
00043       orig, DtReaderWriterRegistry * parentRegistry = 0);
00044 
00046    const DtSetConvoyFollowTarget & operator=(const DtSetConvoyFollowTarget & orig);
00047 
00048    virtual ~DtSetConvoyFollowTarget();
00049 
00051    virtual int type() const;
00052 
00054    virtual DtSetDataRequest * clone(const DtString & name, 
00055       DtReaderWriterRegistry * parentRegistry = 0) const;
00056 
00058    virtual DtString stringRep() const;
00059 
00061 
00062    virtual const DtString & convoyTargetName() const;
00063    virtual void setConvoyTargetName(const DtString & name);
00065 
00067 
00068    virtual const double distanceToFollow() const;
00069    virtual void setDistanceToFollow(const double dist);
00070    //}@
00071 
00072    virtual const bool useCatchUpSpeed() const;
00073    virtual void setUseCatchUpSpeed(const bool useCatchUpSpeed);
00074 
00077    virtual int netRepSize() const;
00078 
00080    virtual bool setFromNet(const char* contentBuffer, 
00081       unsigned contentSize);
00082 
00085    virtual bool setToNet();
00086 
00087    static DtSetDataRequest * creator();
00088 
00089 protected:
00090 
00091    DtRwString  myFollowTargetName;
00092    DtRwReal    myFollowDistance;
00093    DtRwBoolean myUseCatchUpSpeed;
00094 };
00095 
00096 

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)