VR-Forces 4.0.4 Class Documentation
include/vrfmodel/laserDetector.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2003 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: laserDetector.h,v $ $Revision: 1.2 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef laserDetector_H_
00013 #define laserDetector_H_
00014 
00015 #include "vrfobjcore/simCmpnt.h"
00016 #include <vl/globalObjDes.h>
00017 #include "vrfmodel/vrfmodelDefines.h"
00018 
00021 
00022 class DtReflectedDesignatorList;
00023 class DtLaserDetectorOutputPort;
00024 class DtLaserDetectorDescriptor;
00025 class DtLaserDetectorPSR;
00026 
00032 
00033 class DT_DLL_vrfmodel DtLaserDetector : public DtSimComponent
00034 {
00035 public:
00037    DtLaserDetector(const DtString & name, DtVrfObject* owner,
00038       DtSimManager * simManager, DtComponentDescriptor* desc = NULL,
00039       DtReaderWriterRegistry * parentRegistry = 0);
00040 
00042    virtual ~DtLaserDetector();
00043 
00045    virtual bool init();
00046 
00049    virtual bool createReflectedDesignatorList();
00050 
00052    virtual DtString type();
00053 
00056    virtual void setEntity(DtVrfObject * entity);
00057 
00059    virtual void tick();
00060 
00062    virtual DtLaserDetectorOutputPort* laserListPort() const;
00063 
00067    virtual void getProcessSR();
00068 
00072    static DtSimComponent * creator(const DtString & name, DtVrfObject* owner,
00073       DtSimManager * simManager, DtComponentDescriptor* desc,
00074       DtReaderWriterRegistry * parentRegistry);
00075 
00076 protected:
00077 
00079    virtual bool createPorts();
00080 
00081 protected:
00084    DtLaserDetector();
00085 
00087    DtLaserDetector(const DtLaserDetector& orig);
00088 
00090    DtLaserDetector& operator=(const DtLaserDetector& orig);
00091 
00092 protected:
00093 
00095    DtReflectedDesignatorList* myReflectedDesignatorList;
00096 
00099    DtLaserDetectorOutputPort* myLaserDetectorListPort;
00100 
00102    DtGlobalObjectDesignator myGlobalId;
00103    DtLaserDetectorDescriptor* myComponentDescriptor;
00104 
00107    DtLaserDetectorPSR* myProcessState;
00108 };
00109 
00110 #endif
00111 

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)