VR-Forces 4.0.4 Class Documentation
include/vrftasks/flyAlongTask.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2005 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: flyAlongTask.h,v $ $Revision: 1.6 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00017 
00018 
00019 #ifndef DtFlyAlongTask_H_
00020 #define DtFlyAlongTask_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 
00035 struct DtNetFlyAlongTask
00036 {
00037    DtNetU8 myRouteNameLength;
00038    DtNetU8 myTraversalDirection;        
00039 
00040    DtNetBoolean myStartAtClosestPoint;  
00041 
00042 
00043 
00044    DtNetU8 myUseFixedPitch;
00045    DtNetU32 myPadding2;
00046 };
00047 
00070 
00071 #include "vrftasks/vrftasksDefines.h"
00072 class DT_DLL_vrftasks DtFlyAlongTask : public DtSimTask
00073 {
00074 
00075 public:
00076 
00078    DtFlyAlongTask();
00079 
00082    DtFlyAlongTask(const DtString & writeName, 
00083       DtReaderWriterRegistry * parentRegistry = 0);
00084 
00086    DtFlyAlongTask(const DtString & writeName, const DtFlyAlongTask & orig, 
00087       DtReaderWriterRegistry * parentRegistry = 0);
00088 
00090    const DtFlyAlongTask & operator=(const DtFlyAlongTask & orig);
00091 
00092    virtual ~DtFlyAlongTask();
00093 
00095    virtual int type() const;
00096 
00098    virtual DtSimTask * clone(const DtString & name, DtReaderWriterRegistry * 
00099       parentRegistry = 0) const;
00100 
00102    virtual DtString stringRep() const;
00103 
00105    virtual const DtString & routeName() const;
00106    virtual void setRouteName(const DtString & rteName);
00107 
00110    virtual void setTraversalDirection(DtIteratorDirection traversalDirection);
00111    virtual DtIteratorDirection traversalDirection() const;
00112 
00117    virtual void setStartAtClosestPoint(bool startAtClosestPoint);
00118    virtual bool startAtClosestPoint() const;
00119 
00122    virtual int netRepSize() const;
00123 
00125    virtual bool setFromNet(const char* contentBuffer, 
00126       unsigned contentSize);
00127 
00128    virtual void setUseFixedPitch(bool);
00129    virtual bool useFixedPitch() const;
00130 
00133    virtual bool setToNet();
00134 
00135    static DtSimTask * creator();
00136 
00137 protected:
00138 
00139    DtRwString myRouteName;
00140    DtRwInt myTraversalDirection;
00141    DtRwBoolean myStartAtClosestPoint;
00142    DtRwBoolean myUseFixedPitch;
00143 };
00144 
00145 
00146 #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)