VR-Forces 4.0.4 Class Documentation
include/vrftasks/diGuyAnimationTask.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2002 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: diGuyAnimationTask.h,v $ $Revision: 1.2 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef DtDiGuyAnimationTask_H_
00013 #define DtDiGuyAnimationTask_H_
00014 
00015 #include "vrftasks/simTask.h"
00016 #include <vlutil/vlNetTypes.h>
00017 #include "vrfutil/rwString.h"
00018 #include "vrfutil/rwReal.h"
00019 #include "vrftasks/radioMsgTypes.h"
00020 
00021 #include "vrftasks/vrftasksDefines.h"
00022 class DT_DLL_vrftasks DtDiGuyAnimationTask : public DtSimTask
00023 {
00024 public:
00025 
00027    DtDiGuyAnimationTask();
00028 
00030    DtDiGuyAnimationTask(const DtString & writeName, 
00031       DtReaderWriterRegistry * parentRegistry = 0);
00032 
00034    virtual ~DtDiGuyAnimationTask();
00035 
00037    DtDiGuyAnimationTask(const DtString & writeName, const 
00038       DtDiGuyAnimationTask & orig, DtReaderWriterRegistry * 
00039       parentRegistry = 0);
00040    static DtSimTask * creator();
00041    virtual int type() const;
00042 
00043    virtual const DtString & animation() const;
00044    virtual void setAnimation(const DtString & retreatKind);
00045 
00046    virtual const double animationDuration() const;
00047    virtual void setAnimationDuration(const double time);
00048 
00050    virtual DtString stringRep() const;
00051 
00052 private:
00054    DtDiGuyAnimationTask& operator=(const DtDiGuyAnimationTask& orig);
00055    
00056 protected:
00057 
00059    virtual DtSimTask * clone(const DtString & name, 
00060       DtReaderWriterRegistry * parentRegistry = 0) const;
00061 
00062    virtual int netRepSize() const;
00063 
00064    virtual bool setFromNet(const char* contentBuffer, 
00065       unsigned contentSize);
00066    virtual bool setToNet();
00067 
00068 
00069 protected:
00070 
00071    DtRwString myAnimation;
00074    DtRwReal    myAnimationDuration;
00075 };
00076 
00077 #endif
00078 

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)