VR-Forces 4.0.4 Class Documentation
include/vrftasks/breachTask.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2001 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: breachTask.h,v $ $Revision: 1.11 $ $State: Exp $
00007 ** Created: 8/10/01 MEM Updated:1/28/02
00008 *******************************************************************************/
00009 
00012 
00018 
00019 
00020 #ifndef DtBreachTask_H_
00021 #define DtBreachTask_H_
00022 
00023 #include "vrfutil/rwString.h"
00024 #include "vrfutil/rwVector.h"
00025 #include <vlutil/vlNetTypes.h>
00026 #include <vlpi/NetStructs.h>
00027 #include <vl/hostStructs.h>
00028 #include "vrftasks/simTask.h"
00032 
00035 struct DtNetBreachTask
00036 {
00037    DtNet64Vector  myBreachStLocation;
00038    DtNet64Vector  myBreachEndLocation;
00039    DtNetU8        myBreachTargetNameLength;
00040    DtNetEntityIdentifier   myBreachTargetId;
00041 };
00042 
00043 #include "vrftasks/vrftasksDefines.h"
00044 class DT_DLL_vrftasks DtBreachTask : public DtSimTask
00045 {
00046 
00047 public:
00048 
00050    DtBreachTask();
00051 
00054    DtBreachTask(const DtString & writeName, 
00055       DtReaderWriterRegistry * parentRegistry = 0);
00056 
00058    DtBreachTask(const DtString & writeName, const 
00059       DtBreachTask & orig, 
00060       DtReaderWriterRegistry * parentRegistry = 0);
00061 
00063    const DtBreachTask & operator=(const DtBreachTask & orig);
00064 
00065    virtual ~DtBreachTask();
00066 
00068    virtual int type() const;
00069 
00071    virtual DtSimTask * clone(const DtString & name, DtReaderWriterRegistry * 
00072       parentRegistry = 0) const;
00073 
00075    virtual DtString stringRep() const;
00076   
00078    virtual const DtString & breachTargetName() const;
00079    virtual void setBreachTargetName(const DtString & objName);
00080 
00081    virtual const DtEntityIdentifier & breachTargetId() const;
00082    virtual void setBreachTargetId(const DtEntityIdentifier & objId);
00083 
00084    virtual const DtVector & breachStPt() const;
00085    virtual void setBreachStPt(const DtVector & start);
00086 
00087    virtual const DtVector & breachEndPt() const;
00088    virtual void setBreachEndPt(const DtVector & end);
00089 
00095    
00098    virtual int netRepSize() const;
00099 
00101    virtual bool setFromNet(const char* contentBuffer, 
00102       unsigned contentSize);
00103 
00106    virtual bool setToNet();
00107 
00108    static DtSimTask * creator();
00109 
00110 protected:
00111   
00112    DtRwString                  myBreachTargetName;
00113    DtEntityIdentifier          myBreachTargetId;
00114    DtRwVector                  myBreachStPoint;
00115    DtRwVector                  myBreachEndPoint;
00116 
00117 };
00118 
00119 
00120 #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)