VR-Forces 4.0.4 Class Documentation
include/vrfmsgs/ifMultiplePlan.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2007 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: ifMultiplePlan.h,v $ $Revision: 1.2 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef DtIfMultiplePlanSet_H_
00013 #define DtIfMultiplePlanSet_H_
00014 
00015 #include <vlutil/vlString.h>
00016 #include <vrfExtProtocol/ifaceCont.h>
00017 #include <vlutil/vlNetTypes.h>
00018 #include <vlutil/vlList.h>
00019 #include "vrfmsgs/ifPlan.h"
00020 
00021 #include <vector>
00022 
00024 
00025 struct DtNetIfMultiplePlanSet
00026 {
00027    DtNetU8        myStatementCount;         
00028    DtNetU16       myNumberEntities;         
00029    DtNetBoolean   myAppendPlan;             
00030    DtNetBoolean   myAssign;                 
00031    DtNetU8        myIsGlobal;               
00032    DtNetU8        myPadding2;               
00033    DtNetU8        myPadding3;               
00034 };
00036 
00065 
00082 #include "vrfmsgs/vrfmsgsDefines.h"
00083 class DT_DLL_vrfmsgs DtIfMultiplePlanSet : public DtIfPlan
00084 {
00085 public:
00086 
00088    DtIfMultiplePlanSet();
00089 
00091    virtual ~DtIfMultiplePlanSet();
00092 
00094    DtIfMultiplePlanSet(const DtIfMultiplePlanSet& orig);
00095 
00097    DtIfMultiplePlanSet& operator=(const DtIfMultiplePlanSet& orig);
00098 
00100    virtual int type() const;
00101 
00102    virtual DtSimInterfaceContent * clone() const;
00103 
00105    //@(
00106    virtual void setEntities(const std::vector<DtString>&);
00107    virtual const std::vector<DtString>& entities() const;
00109 
00111    virtual void setName(const DtString & name);
00112 
00115    virtual const DtString & name() const;
00116 
00120    virtual int netRepSize() const;
00121 
00122    static DtSimInterfaceContent* creator();
00123 
00124    virtual const char* restoreName(const char* contentBuffer);
00125 
00128    virtual char* setNameToNet();
00129 
00130 protected:
00131    std::vector<DtString>   myEntities;
00132    bool myNameSet;
00133 };
00134 
00135 #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)