VR-Forces 4.0.4 Class Documentation
include/vrfmsgs/ifRequestSetting.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: ifRequestSetting.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef ifRequestSetting_H_
00013 #define ifRequestSetting_H_
00014 
00015 #include <vrfExtProtocol/ifaceCont.h>
00016 
00017 #include <vlutil/vlNetTypes.h>
00018 
00019 struct DtNetIfRequestSetting
00020 {
00021    DtNetU8 mySettingNameLength;
00022 };                                          
00023 
00035 #include "vrfmsgs/vrfmsgsDefines.h"
00036 class DT_DLL_vrfmsgs DtIfRequestSetting : public DtSimInterfaceContent
00037 {
00038 
00039 public:
00041    DtIfRequestSetting();
00042 
00044    DtIfRequestSetting(const DtIfRequestSetting & orig);
00045 
00047    const DtIfRequestSetting & operator=(const DtIfRequestSetting & orig);
00048 
00050    virtual ~DtIfRequestSetting();
00051 
00053    virtual int type() const;
00054 
00056    virtual DtSimInterfaceContent* clone() const;
00057 
00060    virtual std::string settingName() const;
00061    virtual void setSettingName(const std::string& settingName);
00063    
00065    virtual int netRepSize() const;
00066 
00068    virtual bool setFromNet(const char* contentBuffer, unsigned contentSize);
00069 
00071    virtual bool setToNet();
00072 
00074    virtual void printDataToString(DtString& str);
00075 
00077    static DtSimInterfaceContent* creator();
00078 
00079 protected:
00080    std::string mySettingName;
00081 };
00082 
00083 #endif
00084 

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)