![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 1999 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: ifReqPlan.h,v $ $Revision: 1.18 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00012 #ifndef DtIfRequestPlan_H_ 00013 #define DtIfRequestPlan_H_ 00014 00015 #include <vlutil/vlString.h> 00016 00017 #include <vrfExtProtocol/ifaceCont.h> 00018 #include <vrfExtProtocol/objType.h> 00019 00020 00023 struct DtNetIfRequestPlan 00024 { 00025 DtNetU8 myPadding0; //1 byte (was echelon ID length) 00026 DtNetU8 myNameLength; //1 byte 00027 DtNetU8 myAddPlanStatementCallback; //1 byte 00028 }; 00029 00030 00046 #include "vrfmsgs/vrfmsgsDefines.h" 00047 class DT_DLL_vrfmsgs DtIfRequestPlan : public DtSimInterfaceContent 00048 { 00049 public: 00050 00052 DtIfRequestPlan(); 00053 00055 virtual ~DtIfRequestPlan(); 00056 00058 DtIfRequestPlan(const DtIfRequestPlan& orig); 00059 00061 DtIfRequestPlan& operator=(const DtIfRequestPlan& orig); 00062 00064 virtual int type() const; 00065 00066 virtual DtSimInterfaceContent * clone() const; 00067 00069 virtual const DtString & name() const; 00070 virtual void setName(const DtString & name); 00071 00075 virtual void setAddPlanStatementCallback(bool); 00076 virtual bool addPlanStatementCallback() const; 00077 00078 virtual int netRepSize() const; 00079 virtual bool setFromNet(const char* contentBuffer, 00080 unsigned contentSize); 00081 virtual bool setToNet(); 00082 00083 virtual void printDataToString(DtString& str); 00084 00085 static DtSimInterfaceContent* creator(); 00086 00087 protected: 00088 DtString myName; 00089 bool myAddPlanStatementCallback; 00090 }; 00091 00092 #endif