VR-Forces 4.0.4 Class Documentation
include/vrftasks/sendTextTask.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2007 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: sendTextTask.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00013 
00014 #ifndef sendTextTask_h
00015 #define sendTextTask_h
00016 
00017 #include "vrftasks/simTask.h"
00018 #include "vrfutil/rwString.h"
00019 #include "vrftasks/vrftasksDefines.h"
00020 
00022 class DT_DLL_vrftasks DtSendTextTask : public DtSimTask
00023 {
00024 
00025 public:
00027    DtSendTextTask();
00028 
00031    DtSendTextTask(const DtString & writeName, 
00032       DtReaderWriterRegistry * parentRegistry = 0); 
00033 
00035    DtSendTextTask(const DtString & writeName, const 
00036       DtSendTextTask & orig, DtReaderWriterRegistry * 
00037       parentRegistry = 0);
00038 
00040    const DtSendTextTask & operator=(const 
00041       DtSendTextTask & orig);
00042 
00043    virtual ~DtSendTextTask();
00044 
00046    virtual int type() const;
00047 
00049    virtual DtSimTask * clone(const DtString & name, DtReaderWriterRegistry * 
00050       parentRegistry = 0) const;
00051 
00053    virtual DtString stringRep() const;
00054 
00056 
00057    virtual void setDestinationName(const DtString& objectName);
00058    virtual DtString destinationName() const;
00060 
00062 
00063    virtual void setText(const DtString&);
00064    virtual DtString text() const;
00066 
00068    virtual int netRepSize() const;
00069 
00071    virtual bool setFromNet(const char* contentBuffer, 
00072       unsigned contentSize);
00073 
00076    virtual bool setToNet();
00077 
00078    static DtSimTask * creator();
00079 
00080 protected:
00081    DtRwString myDestinationName;
00082    DtRwString  myText;
00083 };
00084 
00085 #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)