VR-Forces 4.0.4 Class Documentation
include/vrftasks/laseTargetTask.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: laseTargetTask.h,v $ $Revision: 1.3 $ $State: Exp $
00007 ** Created: 7/16/04, MEM Updated:
00008 *******************************************************************************/
00009 
00012 
00013 #ifndef DtLaseTargetTask_H_
00014 #define DtLaseTargetTask_H_
00015 
00016 #include "vrftasks/simTask.h"
00017 #include "vrfutil/rwString.h"
00018 #include "vlutil/vlNetTypes.h"
00019 
00028 
00033 
00034 struct DtNetLaseTargetTask
00035 {
00036    DtNetU8 myTargetNameLength;
00037 };
00038 
00039 #include "vrftasks/vrftasksDefines.h"
00040 class DT_DLL_vrftasks DtLaseTargetTask : public DtSimTask
00041 {
00042 
00043 public:
00044 
00046    DtLaseTargetTask();
00047 
00050    DtLaseTargetTask(const DtString & writeName, 
00051       DtReaderWriterRegistry * parentRegistry = 0);
00052 
00054    DtLaseTargetTask(const DtString & writeName, const DtLaseTargetTask &
00055       orig, DtReaderWriterRegistry * parentRegistry = 0);
00056 
00058    const DtLaseTargetTask & operator=(const DtLaseTargetTask & orig);
00059 
00060    virtual ~DtLaseTargetTask();
00061 
00063    virtual int type() const;
00064 
00066    virtual DtSimTask* clone(const DtString & name, 
00067       DtReaderWriterRegistry * parentRegistry = 0) const;
00068 
00070    virtual DtString stringRep() const;
00071 
00073    virtual DtString targetName() const;
00074    virtual void setTargetName(const DtString & name);
00075 
00076 
00079    virtual int netRepSize() const;
00080 
00082    virtual DtBoolean setFromNet(const char* contentBuffer, 
00083       unsigned contentSize);
00084 
00087    virtual DtBoolean setToNet();
00088 
00089    static DtSimTask* creator();
00090 
00091 protected:
00092 
00093    DtRwString myTargetName;
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)