VR-Forces 4.0.4 Class Documentation
include/vrftasks/crashIntoTask.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2004 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: crashIntoTask.h,v $ $Revision: 1.5 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00017 
00018 
00019 #ifndef DtCrashIntoTask_H_
00020 #define DtCrashIntoTask_H_
00021 
00022 #include <vlutil/vlNetTypes.h>
00023 
00024 #include "vrftasks/simTask.h"
00025 #include "vrfutil/rwString.h"
00026 
00027 
00028 
00032 struct DtNetCrashIntoTask
00033 {
00034    DtNetU8 myTargetNameLength;
00035 };
00036 
00040 #include "vrftasks/vrftasksDefines.h"
00041 class DT_DLL_vrftasks DtCrashIntoTask : public DtSimTask
00042 {
00043 public:
00045    DtCrashIntoTask();
00046 
00049    DtCrashIntoTask(const DtString & writeName, 
00050       DtReaderWriterRegistry * parentRegistry = 0);
00051 
00053    DtCrashIntoTask(const DtString & writeName, const DtCrashIntoTask & orig, 
00054       DtReaderWriterRegistry * parentRegistry = 0);
00055 
00057    const DtCrashIntoTask & operator=(const DtCrashIntoTask & orig);
00058 
00059    virtual ~DtCrashIntoTask();
00060 
00062    virtual int type() const;
00063 
00065    virtual DtSimTask * clone(const DtString & name, DtReaderWriterRegistry * 
00066       parentRegistry = 0) const;
00067 
00069    virtual DtString stringRep() const;
00070 
00072    virtual DtString targetName() const;
00073    virtual void setTargetName(const DtString & name);
00074 
00077    virtual int netRepSize() const;
00078 
00080    virtual bool setFromNet(const char* contentBuffer, 
00081       unsigned contentSize);
00082 
00085    virtual bool setToNet();
00086 
00087    static DtSimTask * creator();
00088 
00089 protected:
00090 
00091    DtRwString myTargetName;
00092 
00093 };
00094 
00095 
00096 #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)