VR-Forces 4.0.4 Class Documentation
include/vrfmsgs/ifRestartPlan.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: ifRestartPlan.h,v $ $Revision: 1.2 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef DtIfRestartPlan_H_
00013 #define DtIfRestartPlan_H_
00014 
00015 #include <vrfExtProtocol/ifaceCont.h>
00016 #include <vlutil/vlString.h>
00017 #include <vlutil/vlNetTypes.h>
00018 
00021 struct DtNetIfRestartPlan
00022 {
00023    DtNetU8        myPadding0;                   //1 byte  (was echelon ID)
00024    DtNetU8        myNameLength;                 //1 byte
00025 };                              
00026 
00037 #include "vrfmsgs/vrfmsgsDefines.h"
00038 class DT_DLL_vrfmsgs DtIfRestartPlan : public DtSimInterfaceContent
00039 {
00040 public:
00041 
00043    DtIfRestartPlan();
00044 
00046    virtual ~DtIfRestartPlan();
00047 
00049    DtIfRestartPlan(const DtIfRestartPlan& orig);
00050 
00052    DtIfRestartPlan& operator=(const DtIfRestartPlan& orig);
00053 
00055    virtual int type() const;
00056 
00057    virtual DtSimInterfaceContent * clone() const;
00058 
00060    virtual const DtString & name() const;
00061    virtual void setName(const DtString & name);
00062 
00063    virtual int netRepSize() const;
00064    virtual bool setFromNet(const char* contentBuffer, 
00065       unsigned contentSize);
00066    virtual bool setToNet();
00067 
00068    virtual void printDataToString(DtString& str);
00069 
00070    static DtSimInterfaceContent* creator();
00071 
00072 protected:
00073    DtString myName;
00074 };
00075 
00076 #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)