![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2004 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: aggregatedPatrolPSR.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00012 #ifndef aggregatedPatrolPSR_H_ 00013 #define aggregatedPatrolPSR_H_ 00014 00015 #include "vrfobjcore/processSR.h" 00016 #include "vrfutil/rwBoolean.h" 00017 00022 #include "vrfobjcore/vrfobjcoreDefines.h" 00023 class DT_DLL_vrfobjcore DtAggregatedPatrolPSR : public DtVrfProcessStateRepository 00024 { 00025 public: 00026 00028 DtAggregatedPatrolPSR(DtVrfObject* vrfObject, 00029 const DtString& rwName = DtString::nullString(), 00030 DtReaderWriterRegistry* parentRegistry = 0); 00031 00033 DtAggregatedPatrolPSR(const DtAggregatedPatrolPSR& orig, 00034 const DtString& rwName = DtString::nullString(), 00035 DtReaderWriterRegistry* parentRegistry = 0); 00036 00037 00039 virtual ~DtAggregatedPatrolPSR(); 00040 00042 DtAggregatedPatrolPSR& operator=(const DtAggregatedPatrolPSR& orig); 00043 00045 virtual DtVrfProcessStateRepository* clone( 00046 const DtString& rwName = DtString::nullString(), 00047 DtReaderWriterRegistry* parentRegistry = 0) const; 00048 00051 virtual DtString type() const; 00052 00055 virtual void setReverseDirection(bool trueFalse); 00056 virtual bool reverseDirection() const; 00057 00059 virtual void setMovingAlongRoute(bool trueFalse); 00060 virtual bool movingAlongRoute(); 00061 00063 static DtVrfProcessStateRepository* creator (const DtString& rwName, 00064 DtVrfObject* vrfObject, DtReaderWriterRegistry* parentRegistry); 00065 00066 protected: 00067 00068 DtRwBoolean myReverseDirection; 00069 DtRwBoolean myMovingAlongRoute; 00070 }; 00071 00072 #endif