VR-Forces 4.0.4 Class Documentation
include/vrftasks/sendTaskMessageTask.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2007 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: sendTaskMessageTask.h,v $ $Revision: 1.2 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00013 
00014 #ifndef sendTaskMessageTask_h
00015 #define sendTaskMessageTask_h
00016 
00017 #include "vrftasks/simTask.h"
00018 #include "vrftasks/vrftasksDefines.h"
00019 #include "vrfutil/rwString.h"
00020 
00021 class DtSimTask;
00022 
00026 class DT_DLL_vrftasks DtSendTaskMessageTask : public DtSimTask
00027 {
00028 public:
00030    DtSendTaskMessageTask();
00031 
00033    DtSendTaskMessageTask(const DtString& writeName,
00034       DtReaderWriterRegistry* parentRegistry = NULL);
00035 
00037    DtSendTaskMessageTask(const DtString & writeName, const DtSendTaskMessageTask& orig,
00038       DtReaderWriterRegistry* parentRegistry = NULL);
00039 
00041    virtual ~DtSendTaskMessageTask();
00042 
00044    DtSendTaskMessageTask& operator=(const DtSendTaskMessageTask& orig);
00045 
00047    int type() const;
00048 
00050    virtual DtSimTask * clone(const DtString & name, DtReaderWriterRegistry *
00051       parentRegistry = 0) const;
00052 
00056 
00057    virtual DtString objectName() const;
00058    virtual void setObjectName(const DtString& name);
00060 
00062    virtual const DtSimTask* task() const;
00064    virtual void setTask(const DtSimTask* task);
00065 
00067    virtual DtString stringRep() const;
00068 
00070    virtual int netRepSize() const;
00071 
00073    virtual bool setFromNet(const char* contentBuffer, 
00074       unsigned contentSize);
00075 
00077    virtual bool setToNet();
00078 
00080    static DtSimTask* creator();
00081 
00082 protected:
00084 
00085    virtual void putData(FILE *fp, int indentLevel = 0);
00086    virtual DtlObjPtr getData(DtlObjPtr args, const DtFilename& searchPath,
00087       const DtVariableBindingsList& variableBindings);
00089 
00090 protected:
00091    DtRwString myObjectName;
00092    DtSimTask* myTask;
00093 };
00094 
00095 #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)