VR-Forces 4.0.4 Class Documentation
include/vrftasks/mvAlongTask.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2006 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: mvAlongTask.h,v $ $Revision: 1.19 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00017 
00018 
00019 #ifndef DtMoveAlongTask_H_
00020 #define DtMoveAlongTask_H_
00021 
00022 #include "vrftasks/simTask.h"
00023 #include "vrfutil/rwString.h"
00024 #include "vrfutil/rwInt.h"
00025 #include "vrfutil/rwBoolean.h"
00026 #include <vlutil/vlNetTypes.h>
00027 #include "vrfutil/iteratorBase.h"
00028 
00032 struct DtNetMoveAlongTask
00033 {
00034    DtNetU8 myRouteNameLength;
00035    DtNetU8 myTraversalDirection;        
00036 
00037    DtNetBoolean myStartAtClosestPoint;  
00038 
00039 
00040 
00041    DtNetU8 myPadding;
00042    DtNetU32 myPadding2;
00043 };
00044 
00069 #include "vrftasks/vrftasksDefines.h"
00070 class DT_DLL_vrftasks DtMoveAlongTask : public DtSimTask
00071 {
00072 
00073 public:
00074 
00076    DtMoveAlongTask();
00077 
00080    DtMoveAlongTask(const DtString & writeName, 
00081       DtReaderWriterRegistry * parentRegistry = 0);
00082 
00084    DtMoveAlongTask(const DtString & writeName, const DtMoveAlongTask & orig, 
00085       DtReaderWriterRegistry * parentRegistry = 0);
00086 
00088    const DtMoveAlongTask & operator=(const DtMoveAlongTask & orig);
00089 
00090    virtual ~DtMoveAlongTask();
00091 
00093    virtual int type() const;
00094 
00096    virtual DtSimTask * clone(const DtString & name, DtReaderWriterRegistry * 
00097       parentRegistry = 0) const;
00098 
00100    virtual DtString stringRep() const;
00101 
00103    virtual const DtString & routeName() const;
00104    virtual void setRouteName(const DtString & rteName);
00105 
00108    virtual void setTraversalDirection(DtIteratorDirection traversalDirection);
00109    virtual DtIteratorDirection traversalDirection() const;
00110 
00115    virtual void setStartAtClosestPoint(bool startAtClosestPoint);
00116    virtual bool startAtClosestPoint() const;
00117 
00120    virtual int netRepSize() const;
00121 
00123    virtual bool setFromNet(const char* contentBuffer, 
00124       unsigned contentSize);
00125 
00128    virtual bool setToNet();
00129 
00130    static DtSimTask * creator();
00131 
00132 protected:
00133 
00134    DtRwString myRouteName;
00135    DtRwInt myTraversalDirection;
00136    DtRwBoolean myStartAtClosestPoint;
00137 };
00138 
00139 
00140 #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)