VR-Forces 4.0.4 Class Documentation
include/vrftasks/targetEntTask.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 1999 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: targetEntTask.h,v $ $Revision: 1.11 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00017 
00018 
00019 #ifndef DtTargetEntityTask_H_
00020 #define DtTargetEntityTask_H_
00021 
00022 
00023 #include "vrftasks/simTask.h"
00024 #include "vrfutil/rwString.h"
00025 #include <vlutil/vlNetTypes.h>
00026 
00027 
00031 struct DtNetTargetEntityTask
00032 {
00033    DtNetU8 myTargetEntityLength;
00034 };
00035 
00041 #include "vrftasks/vrftasksDefines.h"
00042 class DT_DLL_vrftasks DtTargetEntityTask : public DtSimTask
00043 {
00044 
00045 public:
00046 
00048    DtTargetEntityTask();
00049 
00052    DtTargetEntityTask(const DtString & writeName, 
00053       DtReaderWriterRegistry * parentRegistry = 0);
00054 
00056    DtTargetEntityTask(const DtString & writeName, const DtTargetEntityTask & orig, 
00057       DtReaderWriterRegistry * parentRegistry = 0);
00058 
00060    const DtTargetEntityTask & operator=(const DtTargetEntityTask & orig);
00061 
00062    virtual ~DtTargetEntityTask();
00063 
00065    virtual int type() const;
00066 
00068    virtual DtSimTask * clone(const DtString & name, DtReaderWriterRegistry * 
00069       parentRegistry = 0) const;
00070 
00072    virtual DtString stringRep() const;
00073 
00074    virtual const DtString& targetEntity() const;
00075    virtual void setTargetEntity(const DtString & targetEntity);
00076 
00079    virtual int netRepSize() const;
00080 
00082    virtual bool setFromNet(const char* contentBuffer, 
00083       unsigned contentSize);
00084 
00087    virtual bool setToNet();
00088 
00089    static DtSimTask * creator();
00090 
00091 protected:
00092 
00093    DtString myTargetEntity;
00094 
00095 };
00096 
00097 
00098 #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)