VR-Forces 4.0.4 Class Documentation
include/vrftasks/targetPtTask.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 1999 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: targetPtTask.h,v $ $Revision: 1.10 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00017 
00018 
00019 #ifndef DtTargetPointTask_H_
00020 #define DtTargetPointTask_H_
00021 
00022 
00023 #include "vrftasks/simTask.h"
00024 #include "vrfutil/rwString.h"
00025 #include <matrix/vlVector.h>
00026 #include <vlpi/NetStructs.h>
00027 
00028 
00029 
00032 struct DtNetTargetPointTask
00033 {
00034    DtNet64Vector myTargetPoint;
00035 };
00036 
00042 #include "vrftasks/vrftasksDefines.h"
00043 class DT_DLL_vrftasks DtTargetPointTask : public DtSimTask
00044 {
00045 
00046 public:
00047 
00049    DtTargetPointTask();
00050 
00053    DtTargetPointTask(const DtString& writeName, 
00054       DtReaderWriterRegistry* parentRegistry = NULL);
00055    DtTargetPointTask(const DtSymbolString& writeName, 
00056       DtReaderWriterRegistry* parentRegistry = NULL);
00057 
00059    DtTargetPointTask(const DtString& writeName, const DtTargetPointTask& orig, 
00060       DtReaderWriterRegistry* parentRegistry = NULL);
00061    DtTargetPointTask(const DtSymbolString& writeName, const DtTargetPointTask& orig, 
00062       DtReaderWriterRegistry* parentRegistry = NULL);
00063 
00065    const DtTargetPointTask & operator=(const DtTargetPointTask & orig);
00066 
00067    virtual ~DtTargetPointTask();
00068 
00070    virtual int type() const;
00071 
00073    virtual DtSimTask* clone(const DtString& name, DtReaderWriterRegistry* 
00074       parentRegistry = NULL) const;
00075    virtual DtSimTask* clone(const DtSymbolString& name, DtReaderWriterRegistry* 
00076       parentRegistry = NULL) const;
00077 
00079    virtual DtString stringRep() const;
00080 
00081    virtual const DtVector & targetPoint() const;
00082    virtual void setTargetPoint(const DtVector & targetPoint);
00083 
00086    virtual int netRepSize() const;
00087 
00089    virtual bool setFromNet(const char* contentBuffer, 
00090       unsigned contentSize);
00091 
00094    virtual bool setToNet();
00095 
00096    static DtSimTask * creator();
00097 
00098 protected:
00099 
00100    DtVector myTargetPoint;
00101 
00102 };
00103 
00104 
00105 #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)