VR-Forces 4.0.4 Class Documentation
include/vrftasks/setStayInLane.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2005 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: setStayInLane.h,v $ $Revision: 1.4 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00017 
00018 
00019 #ifndef DtSetStayInLaneRequest_H_
00020 #define DtSetStayInLaneRequest_H_
00021 
00022 
00023 #include "vrftasks/setDataReq.h"
00024 #include "vrfutil/rwBoolean.h"
00025 #include <vlpi/NetStructs.h>
00026 
00027 
00028 
00031 struct DtNetSetStayInLaneRequest
00032 {
00033   DtNetBoolean myStayInLane;
00034 };
00035 
00041 #include "vrftasks/vrftasksDefines.h"
00042 class DT_DLL_vrftasks DtSetStayInLaneRequest : public DtSetDataRequest
00043 {
00044 
00045 public:
00046 
00048    DtSetStayInLaneRequest();
00049 
00052    DtSetStayInLaneRequest(const DtString & writeName, 
00053       DtReaderWriterRegistry * parentRegistry = 0);
00054 
00056    DtSetStayInLaneRequest(const DtString & writeName, const DtSetStayInLaneRequest &
00057       orig, DtReaderWriterRegistry * parentRegistry = 0);
00058 
00060    const DtSetStayInLaneRequest & operator=(const DtSetStayInLaneRequest & orig);
00061 
00062    virtual ~DtSetStayInLaneRequest();
00063 
00065    virtual int type() const;
00066 
00068    virtual DtSetDataRequest * clone(const DtString & name, 
00069       DtReaderWriterRegistry * parentRegistry = 0) const;
00070 
00072    virtual DtString stringRep() const;
00073 
00076    virtual bool stayInLane() const;
00077    virtual void setStayInLane(bool value);
00079 
00082    virtual int netRepSize() const;
00083 
00085    virtual bool setFromNet(const char* contentBuffer, 
00086       unsigned contentSize);
00087 
00090    virtual bool setToNet();
00091 
00092    static DtSetDataRequest * creator();
00093 
00094 protected:
00095 
00096    DtRwBoolean myStayInLane;
00097 
00098 };
00099 
00100 
00101 #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)