VR-Forces 4.0.4 Class Documentation
include/vrfobjcore/obstructionSensorPSR.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2005 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: obstructionSensorPSR.h,v $ $Revision: 1.3 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00014 
00015 #ifndef obstructionSensorPSR_H_
00016 #define obstructionSensorPSR_H_
00017 
00018 #include "vrfobjcore/processSR.h"
00019 #include "vrfutil/rwBoolean.h"
00020 #include "vrfutil/rwVectorObstructionTypeList.h"
00021 
00024 #include "vrfobjcore/vrfobjcoreDefines.h"
00025 class DT_DLL_vrfobjcore DtObstructionSensorPSR : public DtVrfProcessStateRepository
00026 {
00027 public:
00028 
00030    DtObstructionSensorPSR(DtVrfObject* vrfObject, 
00031       const DtString& rwName = DtString::nullString(), 
00032       DtReaderWriterRegistry*  parentRegistry = 0);
00033 
00035    DtObstructionSensorPSR(const DtObstructionSensorPSR& orig,
00036       const DtString& rwName = DtString::nullString(), 
00037       DtReaderWriterRegistry*  parentRegistry = 0);
00038 
00040    virtual ~DtObstructionSensorPSR();
00041 
00043    DtObstructionSensorPSR& operator=(const DtObstructionSensorPSR& orig);
00044 
00046    virtual DtVrfProcessStateRepository* clone(
00047       const DtString& rwName = DtString::nullString(), 
00048       DtReaderWriterRegistry*  parentRegistry = 0) const;
00049 
00050    virtual bool init();
00051 
00053    virtual DtString type() const;
00054 
00056    static DtVrfProcessStateRepository* creator (const DtString& rwName,
00057       DtVrfObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
00058 
00061    virtual void setEntitiesAreObstructions(bool b);
00062    virtual bool entitiesAreObstructions() const;
00064 
00067    virtual void setVectorObstructionTypes(
00068       const DtRwVectorObstructionTypeList& vectorObstructionTypes);
00069    virtual DtRwVectorObstructionTypeList& vectorObstructionTypes();
00070    virtual const DtRwVectorObstructionTypeList& vectorObstructionTypes() const;
00072 
00073 protected:
00074    DtRwBoolean myEntitiesAreObstructions;
00075    DtRwVectorObstructionTypeList myVectorObstructionTypes;
00076 
00077 };
00078 #endif
00079 

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)