VR-Forces 4.0.4 Class Documentation
include/vrfplan/issuePlanCommand.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2012 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: issuePlanCommand.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #pragma once
00013 
00014 #include "vrfplan/simCommand.h"
00015 #include "vrfutil/rwString.h"
00016 #include <vrfplan/vrfplanDefines.h>
00017 #include <vrfplan/plan.h>
00018 #include "vrfutil/rwInt.h"
00019 
00020 class DT_DLL_vrfplan DtIssuePlanCommand : public DtSimCommand
00021 {
00022 public:
00023 
00025    DtIssuePlanCommand();
00026 
00028    DtIssuePlanCommand(const DtString& writeName,
00029       DtReaderWriterRegistry* parentRegistry = NULL);
00030 
00032    DtIssuePlanCommand(const DtString & writeName, const DtIssuePlanCommand& orig,
00033       DtReaderWriterRegistry* parentRegistry = NULL);
00034 
00036    virtual ~DtIssuePlanCommand();
00037 
00039    DtIssuePlanCommand(const DtIssuePlanCommand& orig);
00040 
00042    DtIssuePlanCommand& operator=(const DtIssuePlanCommand& orig);
00043 
00045    int type() const;
00046 
00048    virtual DtSimCommand * clone(const DtString & name, DtReaderWriterRegistry *
00049       parentRegistry = 0) const;
00050 
00052 
00053    virtual const DtString & objectName() const;
00054    virtual void setObjectName(const DtString & name);
00056 
00058 
00059    virtual const DtPlan& plan() const;
00060    virtual void setPlan(const DtPlan& name);
00062 
00063    virtual int netRepSize() const;
00064    virtual bool setFromNet(const char* contentBuffer, 
00065       unsigned contentSize);
00066    virtual bool setToNet();
00067 
00069    virtual DtString stringRep() const;
00070 
00071    static DtSimCommand* creator();
00072 
00073 protected:
00074 
00075    DtRwString myObjectName;
00076    DtRwInt myStatements;
00077    DtPlan myPlan;
00078 };
00079 

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)