![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2003 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: ifParentChanged.h,v $ $Revision: 1.6 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00012 #ifndef DtIfParentChanged_H_ 00013 #define DtIfParentChanged_H_ 00014 00015 #include <vrfExtProtocol/ifaceCont.h> 00016 #include <vlutil/vlString.h> 00017 00026 #include "vrfmsgs/vrfmsgsDefines.h" 00027 class DT_DLL_vrfmsgs DtIfParentChanged : public DtSimInterfaceContent 00028 { 00029 public: 00030 00032 00033 DtIfParentChanged(); 00034 00036 00037 virtual ~DtIfParentChanged(); 00038 00040 00041 DtIfParentChanged(const DtIfParentChanged& orig); 00042 00044 00045 DtIfParentChanged& operator=(const DtIfParentChanged& orig); 00046 00048 00049 virtual int type() const; 00050 00051 virtual DtSimInterfaceContent * clone() const; 00052 00053 00055 00056 virtual const DtString & echelonId() const; 00057 00058 virtual void setEchelonId(const DtString & name); 00059 00060 00061 virtual int netRepSize() const; 00062 00063 virtual bool setFromNet(const char* contentBuffer, 00064 unsigned contentSize); 00065 00066 virtual bool setToNet(); 00067 00068 virtual void printDataToString(DtString& str); 00069 00070 static DtSimInterfaceContent* creator(); 00071 00072 protected: 00073 00074 DtString myEchelonId; 00075 00076 }; 00077 00078 #endif