VR-Forces 4.0.4 Class Documentation
include/vrftasks/setLoadEntity.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 1999 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: setLoadEntity.h,v $ $Revision: 1.6 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00017 
00018 #ifndef DtSetLoadEntityRequest_H_
00019 #define DtSetLoadEntityRequest_H_
00020 
00021 #include "vrftasks/setDataReq.h"
00022 #include <vlutil/vlNetTypes.h>
00023 #include "vrfutil/rwString.h"
00024 #include "vrfutil/rwVector.h"
00025 #include "vrfutil/rwBoolean.h"
00026 #include <vlpi/NetStructs.h>
00027 
00030 struct DtNetSetLoadEntityRequest
00031 {
00032    DtNetU8       myParentNameLength;
00033    DtNetU8       myLoadOverride;
00034    DtNet64Vector myLoadOverridePosition;
00035 };
00036 
00041 #include "vrftasks/vrftasksDefines.h"
00042 class DT_DLL_vrftasks DtSetLoadEntityRequest : public DtSetDataRequest
00043 {
00044 
00045 public:
00046 
00048    DtSetLoadEntityRequest();
00049 
00052    DtSetLoadEntityRequest(const DtString & writeName, 
00053       DtReaderWriterRegistry * parentRegistry = 0); 
00054 
00056    DtSetLoadEntityRequest(const DtString & writeName, const 
00057       DtSetLoadEntityRequest & orig, DtReaderWriterRegistry * 
00058       parentRegistry = 0);
00059 
00061    const DtSetLoadEntityRequest & operator=(const 
00062       DtSetLoadEntityRequest & orig);
00063 
00064    virtual ~DtSetLoadEntityRequest();
00065 
00067 
00068    virtual int type() const;
00069 
00071 
00072    virtual DtSetDataRequest * clone(const DtString & name, DtReaderWriterRegistry * 
00073       parentRegistry = 0) const;
00074 
00076 
00077    virtual DtString stringRep() const;
00078 
00080 
00081    virtual void setParentName(const DtString& parentName );
00082 
00084 
00085    virtual const DtString& parentName() const;
00086 
00089 
00090    virtual int netRepSize() const;
00091 
00093 
00094    virtual bool setFromNet(const char* contentBuffer, 
00095       unsigned contentSize);
00096 
00099 
00100    virtual bool setToNet();
00101 
00102    static DtSetDataRequest * creator();
00103 
00104    virtual void setLoadOverride(bool b);
00105    virtual bool loadOverride() const;
00106 
00107    virtual void setLoadOverridePosition(const DtVector&);
00108    virtual const DtVector& loadOverridePosition() const;
00109 
00110 protected:
00111 
00112    DtRwString myParentName;
00113    DtRwBoolean myLoadOverride;
00114    DtRwVector  myLoadOverridePosition;
00115 
00116 };
00117 
00118 
00119 #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)