VR-Forces 4.0.4 Class Documentation
include/vrfmsgs/ifReqPlnStmt.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2003 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: ifReqPlnStmt.h,v $ $Revision: 1.17 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef DtIfRequestPlanStatement_H_
00013 #define DtIfRequestPlanStatement_H_
00014 
00015 #include <vlutil/vlString.h>
00016 
00017 #include <vrfExtProtocol/ifaceCont.h>
00018 #include <vrfExtProtocol/objType.h>
00019 
00020 
00023 struct DtNetIfRequestPlanStatement
00024 {
00025    DtNetInt16     myStatementId;                //2 bytes
00026    DtNetU8        myNameLength;            //1 byte
00027 };                              
00028 
00029 
00045 #include "vrfmsgs/vrfmsgsDefines.h"
00046 class DT_DLL_vrfmsgs DtIfRequestPlanStatement : public DtSimInterfaceContent
00047 {
00048 public:
00049 
00051    DtIfRequestPlanStatement();
00052 
00054    virtual ~DtIfRequestPlanStatement();
00055 
00057    DtIfRequestPlanStatement(const DtIfRequestPlanStatement& orig);
00058 
00060    DtIfRequestPlanStatement& operator=(const DtIfRequestPlanStatement& orig);
00061 
00063    virtual int type() const;
00064 
00065    virtual DtSimInterfaceContent * clone() const;
00066 
00068    virtual const DtString & name() const;
00069    virtual void setName(const DtString & name);
00070 
00072    virtual int statementId() const;
00073    virtual void setStatementId(int id);
00074 
00075    virtual int netRepSize() const;
00076    virtual bool setFromNet(const char* contentBuffer, 
00077       unsigned contentSize);
00078    virtual bool setToNet();
00079 
00080    virtual void printDataToString(DtString& str);
00081 
00082    static DtSimInterfaceContent* creator();
00083 
00084 protected:
00085 
00086    DtString myName;
00087 
00088    int myStatementId;
00089 };
00090 
00091 #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)