VR-Forces 4.0.4 Class Documentation
include/vrfobjcore/laserDetectorPSR.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2004 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: laserDetectorPSR.h,v $ $Revision: 1.2 $ $State: Exp $
00007 ** Created: 7/12/04, MEM Updated: 7/21/04
00008 *******************************************************************************/
00009 
00012 
00018 
00019 #ifndef DtLaserDetectorPSR_H_
00020 #define DtLaserDetectorPSR_H_
00021 
00022 #include "vrfobjcore/processSR.h"
00023 
00024 #include <vl/hostStructs.h>
00025 #include "vrfutil/rwString.h"
00026 #include "vrfutil/rwBoolean.h"
00027 #include "vrfutil/rwReal.h"
00028 #include "vrfutil/rwInt.h"
00029 #include "vrfutil/rwVector.h"
00030 
00036 
00037 #include "vrfobjcore/vrfobjcoreDefines.h"
00038 class DT_DLL_vrfobjcore DtLaserDetectorPSR : public DtVrfProcessStateRepository
00039 {
00040 
00041 protected:
00043    DtLaserDetectorPSR();
00044 
00045 public:
00046    //constructor
00047    DtLaserDetectorPSR(DtVrfObject* vrfObject, 
00048       const DtString& rwName = DtString::nullString(), 
00049       DtReaderWriterRegistry*  parentRegistry = 0);
00050 
00051    //copy constructor
00052    DtLaserDetectorPSR(const DtLaserDetectorPSR& orig,
00053       const DtString& rwName = DtString::nullString(), 
00054       DtReaderWriterRegistry*  parentRegistry = 0);
00055 
00056    //assignment operator
00057    const DtLaserDetectorPSR& operator=( 
00058       const DtLaserDetectorPSR& orig);
00059 
00060    //destructor
00061    virtual ~DtLaserDetectorPSR();
00062 
00063    //returns a copy of the PSR
00064    virtual DtVrfProcessStateRepository* clone(
00065       const DtString& rwName = DtString::nullString(), 
00066       DtReaderWriterRegistry*  parentRegistry = 0) const;
00067 
00069    virtual DtString type() const;
00070 
00073    virtual void setDesignatingEntity(const DtEntityIdentifier& target);
00074    virtual const DtEntityIdentifier& designatingEntity() const;
00075 
00077    virtual void setDesignatingEntityName(const DtString& target);
00078    virtual const DtString& designatingEntityName() const;
00079 
00081    virtual void setLasedLastTick(DtBoolean val);
00082    virtual DtBoolean lasedLastTick() const;
00083 
00085    virtual void setWaveLength(const DtReal  wave);
00086    virtual const DtReal  waveLength() const;
00087 
00089    virtual void setPower(const DtReal  pow);
00090    virtual const DtReal  power() const;
00091 
00093    virtual void setDesignatorCode(const int code);
00094    virtual const int designatorCode() const;
00095 
00097    static DtVrfProcessStateRepository* creator(const DtString& name,
00098       DtVrfObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
00099 
00100 protected:
00101    DtRwString                 myDesignatingEntityName;
00102    DtRwBoolean                myLasedLastTick;
00103    DtRwReal                   myWaveLength;
00104    DtRwReal                   myPower;
00105    DtRwInt                    myDesignatorCode;
00106 
00109    DtEntityIdentifier        myDesignatingEntityId;
00110    
00111 };
00112 
00113 #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)