![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 1999 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: ifExit.h,v $ $Revision: 1.11 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00017 00018 00019 #ifndef DtIfExit_H_ 00020 #define DtIfExit_H_ 00021 00022 #include <vlutil/vlString.h> 00023 #include <vrfExtProtocol/ifaceCont.h> 00024 00033 00034 #include "vrfmsgs/vrfmsgsDefines.h" 00035 class DT_DLL_vrfmsgs DtIfExit : public DtSimInterfaceContent 00036 { 00037 00038 public: 00040 DtIfExit(); 00041 00043 DtIfExit(const DtIfExit & orig); 00044 00046 const DtIfExit & operator=(const DtIfExit & orig); 00047 00048 virtual ~DtIfExit(); 00049 00051 virtual int type() const; 00052 00053 virtual DtSimInterfaceContent * clone() const; 00054 00056 virtual const DtString & reasonForExiting() const; 00057 virtual void setReasonForExiting(const DtString & reason); 00058 00059 virtual int netRepSize() const; 00060 virtual bool setFromNet(const char* contentBuffer, 00061 unsigned contentSize); 00062 virtual bool setToNet(); 00063 00064 virtual void printDataToString(DtString& str); 00065 00066 static DtSimInterfaceContent* creator(); 00067 00068 protected: 00069 00070 DtString myReasonForExiting; 00071 }; 00072 00073 #endif 00074