VR-Forces 4.0.4 Class Documentation
include/vrfobjcore/lasingPSR.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2004 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: lasingPSR.h,v $ $Revision: 1.4 $ $State: Exp $
00007 ** Created: 7/12/04, MEM Updated: 7/21/04
00008 *******************************************************************************/
00009 
00012 
00014 
00015 #ifndef DtLasingPSR_H_
00016 #define DtLasingPSR_H_
00017 
00018 #include "vrfobjcore/processSR.h"
00019 #include <vl/hostStructs.h>
00020 #include "vrfutil/rwString.h"
00021 #include "vrfutil/rwBoolean.h"
00022 #include "vrfutil/rwReal.h"
00023 #include "vrfutil/rwInt.h"
00024 #include "vrfutil/rwVector.h"
00025 #include "vrfobjcore/vrfobjcoreDefines.h"
00026 
00028 class DT_DLL_vrfobjcore DtLasingPSR : public DtVrfProcessStateRepository
00029 {
00030 
00031 protected:
00033    DtLasingPSR();
00034 
00035 public:
00036    //constructor
00037    DtLasingPSR(DtVrfObject* vrfObject, 
00038       const DtString& rwName = DtString::nullString(), 
00039       DtReaderWriterRegistry*  parentRegistry = 0);
00040 
00041    //copy constructor
00042    DtLasingPSR(const DtLasingPSR& orig,
00043       const DtString& rwName = DtString::nullString(), 
00044       DtReaderWriterRegistry*  parentRegistry = 0);
00045 
00046    //assignment operator
00047    const DtLasingPSR& operator=( 
00048       const DtLasingPSR& orig);
00049 
00050    //Destructor
00051    virtual ~DtLasingPSR();
00052 
00054    virtual DtVrfProcessStateRepository* clone(
00055       const DtString& rwName = DtString::nullString(), 
00056       DtReaderWriterRegistry*  parentRegistry = 0) const;
00057 
00059    virtual DtString type() const;
00060 
00062    virtual void setCurrentLasedTargetName(const DtString& target);
00063    virtual const DtString& currentLasedTargetName() const;
00064 
00066    virtual void setSpotLocation(const DtVector & spotLocal);
00067    virtual const DtVector & spotLocation() const;
00068 
00070    virtual void setAmLasing(DtBoolean lasing);
00071    virtual DtBoolean amLasing() const;
00072 
00074    virtual void setDesignatorCode(const int code);
00075    virtual const int designatorCode() const;
00076 
00078    virtual void setAutonomous(const bool);
00079    virtual const bool autonomous() const;
00080 
00082    static DtVrfProcessStateRepository* creator(const DtString& name,
00083       DtVrfObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
00084 
00085 protected:
00086 
00087    DtRwString                 myCurrentLasedTargetName;
00088    DtRwBoolean                myAmLasing;
00089    DtRwVector                 mySpotLocation;
00090    DtRwInt                    myDesignatorCode;
00091    DtRwBoolean                myIsAutonomous;   
00092 };
00093 
00094 #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)