VR-Forces 4.0.4 Class Documentation
include/vrfmsgs/ifResMonEnable.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2004 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: ifResMonEnable.h,v $ $Revision: 1.5 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00017 
00018 
00019 #ifndef DtIfResourceMonitorEnable_H_
00020 #define DtIfResourceMonitorEnable_H_
00021 
00022 #include <vlutil/vlString.h>
00023 #include <vrfExtProtocol/ifaceCont.h>
00024 #include <vlutil/vlNetTypes.h>
00025 #include <vl/hostStructs.h>
00026 
00029 struct DtNetIfResourceMonitorEnable
00030 {
00031    DtNetBoolean           myEnable;
00032 };
00033 
00036 #include "vrfmsgs/vrfmsgsDefines.h"
00037 class DT_DLL_vrfmsgs DtIfResourceMonitorEnable : public DtSimInterfaceContent
00038 {
00039 
00040 public:
00042    DtIfResourceMonitorEnable();
00043 
00045    DtIfResourceMonitorEnable(const DtIfResourceMonitorEnable & orig);
00046 
00048    const DtIfResourceMonitorEnable & operator=(const DtIfResourceMonitorEnable & orig);
00049 
00050    virtual ~DtIfResourceMonitorEnable();
00051 
00053    virtual int type() const;
00054 
00055    virtual DtSimInterfaceContent * clone() const;
00056 
00057    virtual int netRepSize() const;
00058    virtual bool setFromNet(const char* contentBuffer, 
00059       unsigned contentSize);
00060    virtual bool setToNet();
00061 
00062    virtual void printDataToString(DtString& str);
00063 
00064    static DtSimInterfaceContent* creator();
00065 
00066 public:
00067    void setEnable(const bool& b) { myEnable = b; };
00068    const bool& enable() const { return myEnable; };
00069 
00070 protected:
00071    bool      myEnable;
00072 };
00073 
00074 #endif

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)