![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /********************************************************************* 00002 ** Copyright (c) 1999 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: ifAutoReorg.h,v $ $Revision: 1.10 $ $State: Exp $ 00007 *********************************************************************/ 00008 00011 00012 #ifndef DtIfAutoReorganize_H_ 00013 #define DtIfAutoReorganize_H_ 00014 00015 #include <vrfExtProtocol/ifaceCont.h> 00016 #include <vl/hostStructs.h> 00017 00018 00021 struct DtNetIfAutoReorganizeObject 00022 { 00023 DtNetBoolean myEnableAutoReorganize; 00024 00025 }; 00026 00042 #include "vrfmsgs/vrfmsgsDefines.h" 00043 class DT_DLL_vrfmsgs DtIfAutoReorganize : public DtSimInterfaceContent 00044 { 00045 public: 00046 00048 DtIfAutoReorganize(); 00049 00051 virtual ~DtIfAutoReorganize(); 00052 00054 DtIfAutoReorganize(const DtIfAutoReorganize& orig); 00055 00057 DtIfAutoReorganize& operator=(const DtIfAutoReorganize& orig); 00058 00060 virtual int type() const; 00061 00062 virtual DtSimInterfaceContent * clone() const; 00063 00065 virtual void enableAutoReorganize(); 00066 virtual void disableAutoReorganize(); 00067 00069 virtual bool autoReorganizeEnabled() const; 00070 00071 virtual int netRepSize() const; 00072 virtual bool setFromNet(const char* contentBuffer, 00073 unsigned contentSize); 00074 virtual bool setToNet(); 00075 00076 virtual void printDataToString(DtString& str); 00077 00078 static DtSimInterfaceContent* creator(); 00079 00080 protected: 00081 00082 bool myEnableAutoReorganize; 00083 }; 00084 00085 #endif